projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ecc67
)
core: Fix extension for album art URI
author
Jens Georg
<mail@jensge.org>
Wed, 15 Feb 2012 21:18:09 +0000
(23:18 +0200)
committer
Jens Georg
<mail@jensge.org>
Wed, 15 Feb 2012 21:18:12 +0000
(23:18 +0200)
src/rygel/rygel-http-item-uri.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-http-item-uri.vala
b/src/rygel/rygel-http-item-uri.vala
index
ea06d8e
..
9f8fa4c
100644
(file)
--- a/
src/rygel/rygel-http-item-uri.vala
+++ b/
src/rygel/rygel-http-item-uri.vala
@@
-65,6
+65,12
@@
internal class Rygel.HTTPItemURI : Object {
if (thumbnails.size > thumbnail_index) {
this.extension = thumbnails[thumbnail_index].file_extension;
}
+ } else if (item is MusicItem) {
+ var album_art = (item as MusicItem).album_art;
+
+ if (album_art != null) {
+ this.extension = album_art.file_extension;
+ }
}
} else if (subtitle_index > -1) {
if (item is VideoItem) {