~ci-train-bot/media-hub/media-hub-ubuntu-zesty-2212

« back to all changes in this revision

Viewing changes to src/core/media/codec.h

  • Committer: Bileto Bot
  • Author(s): Jim Hodapp
  • Date: 2016-06-16 21:30:56 UTC
  • mfrom: (184.1.11 media-hub)
  • Revision ID: ci-train-bot@canonical.com-20160616213056-jhhrxbngi70c8yb7
Support albumart for music and video tracks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
        for (const auto& pair : *md)
78
78
        {
 
79
            // The following tags are not part of the MPRIS spec and should not be encoded
 
80
            if (pair.first == tags::Image::name or
 
81
                    pair.first == tags::PreviewImage::name)
 
82
                continue;
 
83
 
79
84
            auto de = dict.open_dict_entry();
80
85
            {
81
86
                if (pair.first == core::ubuntu::media::Track::MetaData::TrackLengthKey