coherence.backends.radiotime_storage (module)

class RadiotimeAudioItem(outline)[source]

Bases: coherence.backend.BackendItem

logCategory = 'radiotime'
replace_by(item)[source]
get_item()[source]

Called by the CDS and the MediaServer web.

Returns

  • an UPnP ContentDirectoryServer DIDLLite object

  • or a Deferred

get_path()[source]

Called by the MediaServer web.

Returns

the filepath where to find the media file that this item does refer to.

get_id()[source]
class RadiotimeStore(server, **kwargs)[source]

Bases: coherence.backend.AbstractBackendStore

logCategory = 'radiotime'
implements = ['MediaServer']
upnp_init()[source]

This method gets called after the device is fired, here all initializations of service related state variables should happen, as the services aren’t available before that point.

retrieveItemsForOPML(parent, url)[source]