18 #ifndef _OHPLAYLIST_HXX_INCLUDED_ 19 #define _OHPLAYLIST_HXX_INCLUDED_ 21 #include <unordered_map> 25 #include "libupnpp/control/service.hxx" 26 #include "libupnpp/control/cdircontent.hxx" 33 class UPnPServiceDesc;
35 typedef std::shared_ptr<OHPlaylist> OHPLH;
51 static bool isOHPlService(
const std::string& st);
52 virtual bool serviceTypeMatch(
const std::string& tp);
59 int setRepeat(
bool onoff);
61 int setShuffle(
bool onoff);
62 int shuffle(
bool *on);
63 int seekSecondAbsolute(
int value);
64 int seekSecondRelative(
int value);
65 int seekId(
int value);
66 int seekIndex(
int value);
67 enum TPState {TPS_Unknown, TPS_Buffering, TPS_Paused, TPS_Playing,
70 int transportState(TPState *tps);
84 int readList(
const std::vector<int>& ids,
85 std::vector<TrackListEntry>* entsp);
87 int insert(
int afterid,
const std::string& uri,
const std::string& didl,
92 int idArray(std::vector<int> *ids,
int *tokp);
93 int idArrayChanged(
int token,
bool *changed);
94 int protocolInfo(std::string *proto);
96 static int stringToTpState(
const std::string& va, TPState *tpp);
100 static const std::string SType;
103 void UPNPP_LOCAL evtCallback(
104 const std::unordered_map<std::string, std::string>&);
105 void UPNPP_LOCAL registerCallback();
Definition: service.hxx:82
OHPlaylist Service client class.
Definition: ohplaylist.hxx:41
Definition: ohplaylist.hxx:74
Data holder for a UPnP service, parsed from the device XML description.
Definition: description.hxx:46
UPnP Media Server directory entry, converted from XML data.
Definition: cdircontent.hxx:62
Data holder for a UPnP device, parsed from the XML description obtained during discovery.
Definition: description.hxx:142
UPnP Description phase: interpreting the device description which we downloaded from the URL obtained...
Definition: avlastchg.cxx:27