GNOME Bugzilla – Bug 674738
org.gnome.UPnP.MediaObject2.Type: values for music defined by spec and rygel do not match
Last modified: 2012-10-12 09:40:01 UTC
Should music files have Type property set to 'audio.music' or 'music'? The spec for the type property says: "'Type' tells what kind of object we are dealing with and it's value must be 'container' in case of container or either of 'video', 'video.movie', 'audio', 'audio.music', 'image' or 'image.photo' in case of item." While the rygel code is: if (type.has_prefix ("audio")) { item = new AudioItem (id, parent, title); this.set_audio_metadata (item as AudioItem, props, service_name); } else if (type.has_prefix ("music")) { item = new MusicItem (id, parent, title); yield this.set_music_metadata (item as MusicItem, props, service_name); ... It's probably easier to fix the spec.
Dread. The correct way would be "audio.music" but apparently people just worked around it instead of filing a bug.
Created attachment 212990 [details] [review] external: Use audio.music as specified in spec We still keep "music" as everyone else seems to be using it now. I fixed the spec to mention music though.
Attachment 212990 [details] pushed as a973c53 - external: Use audio.music as specified in spec