mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
update shoutcast API to Version 2.0 and disable shoutcast menu entry until cs-tech gets a proper shoutcast dev-id
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1104 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 875fc958f7
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-02-02 (Wed, 02 Feb 2011)
Origin message was:
------------------
- update shoutcast API to Version 2.0 and disable shoutcast menu entry until cs-tech gets a proper shoutcast dev-id
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1104 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -708,7 +708,7 @@ printf("CFileBrowser::readDir_sc: read done, size %d\n", answer.size());
|
||||
CFile file;
|
||||
file.Mode = S_IFDIR + 0777 ;
|
||||
file.Name = " Top500"; // use space to have it at the beginning of the list
|
||||
file.Url = "/sbin/newxml.phtml?genre=Top500";
|
||||
file.Url = SC_GET_TOP500;
|
||||
file.Size = 0;
|
||||
file.Time = 0;
|
||||
flist->push_back(file);
|
||||
@@ -716,7 +716,7 @@ printf("CFileBrowser::readDir_sc: read done, size %d\n", answer.size());
|
||||
CFile file2;
|
||||
file2.Mode = S_IFDIR + 0777 ;
|
||||
file2.Name = "..";
|
||||
file2.Url = "/sbin/newxml.phtml";
|
||||
file2.Url = SC_INIT_DIR;
|
||||
file2.Size = 0;
|
||||
file2.Time = 0;
|
||||
flist->push_back(file2);
|
||||
@@ -726,7 +726,7 @@ printf("CFileBrowser::readDir_sc: read done, size %d\n", answer.size());
|
||||
if (xml_decode == 1) {
|
||||
file.Mode = S_IFDIR + 0777 ;
|
||||
file.Name = xmlGetAttribute(element, "name");
|
||||
file.Url = "/sbin/newxml.phtml?genre=" + file.Name;
|
||||
file.Url = (std::string)SC_GET_GENRE + file.Name;
|
||||
file.Size = 0;
|
||||
file.Time = 0;
|
||||
flist->push_back(file);
|
||||
@@ -743,7 +743,7 @@ printf("CFileBrowser::readDir_sc: read done, size %d\n", answer.size());
|
||||
if (ptr && (strcmp(ptr, "audio/mpeg")==0)) {
|
||||
file.Mode = S_IFREG + 0777 ;
|
||||
file.Name = xmlGetAttribute(element, "name");
|
||||
file.Url = base + tunein_base + (std::string)"?id=" + xmlGetAttribute(element, "id");
|
||||
file.Url = (std::string)SC_TUNE_IN_BASE + tunein_base + (std::string)"?id=" + xmlGetAttribute(element, "id") + (std::string)"&k=" + SC_DEV_ID;
|
||||
//printf("adding %s (%s)\n", file.Name.c_str(), file.Url.c_str());
|
||||
ptr = xmlGetAttribute(element, "br");
|
||||
if (ptr) {
|
||||
|
Reference in New Issue
Block a user