- 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 is contained in:
striper
2011-02-02 18:51:58 +00:00
parent 9d49d38604
commit 875fc958f7
3 changed files with 21 additions and 10 deletions

View File

@@ -56,6 +56,18 @@
#define ENABLE_INTERNETRADIO
#define VLC_URI "vlc://"
#if 0
#define SC_BASE_DIR "http://www.shoutcast.com"
#define SC_INIT_DIR "/sbin/newxml.phtml"
#else
#define SC_DEV_ID "XXXXXXXXXXXXXXXX"
#define SC_BASE_DIR "http://api.shoutcast.com"
#define SC_TUNE_IN_BASE "http://yp.shoutcast.com"
#define SC_INIT_DIR "/legacy/genrelist?k="SC_DEV_ID
#define SC_GET_GENRE "/legacy/stationsearch?k="SC_DEV_ID"&search="
#define SC_GET_TOP500 "/legacy/Top500?k="SC_DEV_ID
#endif
bool chooserDir(std::string &setting_dir, bool test_dir, const char *action_str);
bool chooserDir(char *setting_dir, bool test_dir, const char *action_str, size_t str_leng);