mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-15 01:13:41 +02:00
audioplay: clean up, add missing code for audio/internet player functionality
* favorites handling * auto play * xml data/logo handling * locales * settings * clean ups taken from https://bitbucket.org/neutrino-images/ni-neutrino-hd
This commit is contained in:
@@ -167,12 +167,12 @@ class CAudioPlayerGui : public CMenuTarget
|
||||
/**
|
||||
* Adds an url (shoutcast, ...) to the to the audioplayer playlist
|
||||
*/
|
||||
void addUrl2Playlist(const char *url, const char *name = NULL, const time_t bitrate = 0);
|
||||
void addUrl2Playlist(const char *url, const char *name = NULL, const char *logo = NULL, const time_t bitrate = 0);
|
||||
|
||||
/**
|
||||
* Adds a url which points to an .m3u format (playlist, ...) to the audioplayer playlist
|
||||
*/
|
||||
void processPlaylistUrl(const char *url, const char *name = NULL, const time_t bitrate = 0);
|
||||
void processPlaylistUrl(const char *url, const char *name = NULL, const char *logo = NULL, const time_t bitrate = 0);
|
||||
|
||||
/**
|
||||
* Loads a given XML file of internet audiostreams or playlists and processes them
|
||||
@@ -182,7 +182,7 @@ class CAudioPlayerGui : public CMenuTarget
|
||||
/**
|
||||
* Processes a loaded XML file/data of internet audiostreams or playlists
|
||||
*/
|
||||
void scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *bitratetag = NULL, bool usechild = false);
|
||||
void scanXmlData(xmlDocPtr answer_parser, const char *urltag, const char *nametag, const char *logotag = "", const char *bitratetag = NULL, bool usechild = false);
|
||||
|
||||
/**
|
||||
* Reads the icecast directory (XML file) and calls scanXmlData
|
||||
|
Reference in New Issue
Block a user