GNOME Bugzilla – Bug 712517
renderer: implement PlaybackStorageMedium variable
Last modified: 2013-11-17 17:08:32 UTC
PlaybackStorageMedium should return either NONE or the storage medium of the current AVTransportURI. I noticed we don't do this from looking at DLNA CTT case 7.3.104.3: bug 256067 fixes that one half way -- the LastChange query still returns NOT_IMPLEMENTED for it. This patch fixes both PlaybackStorageMedium and LastChange value of PossiblePlaybackStorageMedium. A Rygel.MediaPlayer should be able to define these values (with whatever weird mediums it happens to support), but I think this generic solution is good enough until we have at least one MediaPlayer that actually wants to do something special.
Created attachment 260016 [details] [review] renderer: implement PlaybackStorageMedium variable PlaybackStorageMedium should be "NETWORK" when AVTransportURI refers to a resource received from the UPnP network. It should be NONE if AVTransportURI is not set. Also fix the LastChange value of PossiblePlaybackStorageMedium.
(In reply to comment #0) > I noticed we don't do this from looking > at DLNA CTT case 7.3.104.3: bug 256067 fixes that one half way Er, that should have been bug 677405.
Review of attachment 260016 [details] [review]: Good catch, thanks
Attachment 260016 [details] pushed as 01de181 - renderer: implement PlaybackStorageMedium variable