~jamesh/mediascanner2/no-notify-on-unchanged-close

« back to all changes in this revision

Viewing changes to src/mediascanner/Album.hh

  • Committer: CI Train Bot
  • Author(s): James Henstridge
  • Date: 2015-11-24 08:56:45 UTC
  • mfrom: (314.1.11 folder-coverart)
  • Revision ID: ci-train-bot@canonical.com-20151124085645-9wyqr4az3s861qpn
If a folder contains an image file named {cover,album,albumart,.folder,folder}.{jpeg,jpg,png} use it as album art for songs in preference to online art if the songs do not have embedded art. Fixes: #1372000
Approved by: PS Jenkins bot, Michi Henning

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    Album(const std::string &title, const std::string &artist,
33
33
          const std::string &date, const std::string &genre,
34
34
          const std::string &filename);
 
35
    Album(const std::string &title, const std::string &artist,
 
36
          const std::string &date, const std::string &genre,
 
37
          const std::string &filename, bool has_thumbnail);
35
38
    Album(const Album &other);
36
39
    Album(Album &&other);
37
40
    ~Album();
44
47
    const std::string& getDate() const noexcept;
45
48
    const std::string& getGenre() const noexcept;
46
49
    const std::string& getArtFile() const noexcept;
 
50
    bool getHasThumbnail() const noexcept;
47
51
    std::string getArtUri() const;
48
52
    bool operator==(const Album &other) const;
49
53
    bool operator!=(const Album &other) const;