shout.c: fixed shoutcast discovery (added www. to hostname)

parent d08e725f
...@@ -125,7 +125,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -125,7 +125,7 @@ static int Open( vlc_object_t *p_this )
} }
i_limit = config_GetInt( p_this->p_libvlc, "shoutcast-limit" ); i_limit = config_GetInt( p_this->p_libvlc, "shoutcast-limit" );
#define SHOUTCAST_BASE_URL "http/shout-b4s://shoutcast.com/sbin/xmllister.phtml?service=vlc&no_compress=1&limit=" #define SHOUTCAST_BASE_URL "http/shout-b4s://www.shoutcast.com/sbin/xmllister.phtml?service=vlc&no_compress=1&limit="
psz_shoutcast_url = (char *)malloc( strlen( SHOUTCAST_BASE_URL ) + 20 ); psz_shoutcast_url = (char *)malloc( strlen( SHOUTCAST_BASE_URL ) + 20 );
psz_shoutcast_title = (char *)malloc( 6 + 20 ); psz_shoutcast_title = (char *)malloc( 6 + 20 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment