diff options
author | Jens Georg <mail@jensge.org> | 2014-06-15 11:51:22 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2014-06-15 11:51:30 +0200 |
commit | e8c8498b40cc1a396521679c4ed5afc4fd3dce1d (patch) | |
tree | 7b51886d7b0aad8f93cec348a76007f7c1f4d5a8 | |
parent | da483d63190ba59ccd19fbcdcf27ca63b62e773b (diff) | |
download | rygel-e8c8498b40cc1a396521679c4ed5afc4fd3dce1d.tar.gz |
media-export: Fix album art for m4a files
The tag is PREVIEW_IMAGE in that case, not IMAGE
Signed-off-by: Jens Georg <mail@jensge.org>
-rw-r--r-- | src/plugins/media-export/rygel-media-export-item-factory.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/media-export/rygel-media-export-item-factory.vala b/src/plugins/media-export/rygel-media-export-item-factory.vala index c188337b..ae71f40e 100644 --- a/src/plugins/media-export/rygel-media-export-item-factory.vala +++ b/src/plugins/media-export/rygel-media-export-item-factory.vala @@ -274,6 +274,10 @@ namespace Rygel.MediaExport.ItemFactory { Sample sample; tags.get_sample (Tags.IMAGE, out sample); if (sample == null) { + tags.get_sample (Tags.PREVIEW_IMAGE, out sample); + } + + if (sample == null) { store.add (item, file, null); return item; |