YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.callback.openhome.OhPlayableItems Class Reference

Conversion between the tracks of an OpenHome queue (address and DIDL-Lite text) and the app's PlayableItems. More...

Collaboration diagram for de.yaacc.upnp.callback.openhome.OhPlayableItems:
Collaboration graph

Static Public Member Functions

static PlayableItem fromTrack (String uri, String metadata, int defaultDurationMillis)
 Never null: unreadable metadata give an item that plays the address; the address of the queue wins over the metadata.
 
static boolean isSendable (PlayableItem item)
 
static String metadataOf (PlayableItem item)
 The DIDL-Lite text of the item, empty if it has none or it cannot be written.
 

Detailed Description

Conversion between the tracks of an OpenHome queue (address and DIDL-Lite text) and the app's PlayableItems.

Member Function Documentation

◆ isSendable()

static boolean de.yaacc.upnp.callback.openhome.OhPlayableItems.isSendable ( PlayableItem item)
static
Returns
true if a device can fetch the track: the queue takes http and https addresses only
Here is the call graph for this function:

The documentation for this class was generated from the following file: