Commit 27c34b53 authored by Vibhoothi's avatar Vibhoothi

macosx:Introduce Icecast streaming service

This adds new condition of mount point to p_shout, if it breaks the
condition outputs with debug log
fixes #17915
parent 2745a175
......@@ -207,7 +207,7 @@ static int Open( vlc_object_t *p_this )
|| shout_set_protocol( p_shout, SHOUT_PROTOCOL_ICY ) != SHOUTERR_SUCCESS
|| shout_set_port( p_shout, url.i_port ) != SHOUTERR_SUCCESS
|| shout_set_password( p_shout, url.psz_password ) != SHOUTERR_SUCCESS
|| shout_set_mount( p_shout, url.psz_path ) != SHOUTERR_SUCCESS
|| shout_set_mount( p_shout, (url.psz_path != NULL ) ? url.psz_path : "/" ) != SHOUTERR_SUCCESS
|| shout_set_user( p_shout, url.psz_username ) != SHOUTERR_SUCCESS
|| shout_set_agent( p_shout, "VLC media player " VERSION ) != SHOUTERR_SUCCESS
|| shout_set_name( p_shout, psz_name ) != SHOUTERR_SUCCESS
......@@ -217,16 +217,14 @@ static int Open( vlc_object_t *p_this )
/* || shout_set_nonblocking( p_shout, 1 ) != SHOUTERR_SUCCESS */
)
{
msg_Err( p_access, "failed to initialize shout streaming to %s:%i/%s",
url.psz_host, url.i_port, url.psz_path );
msg_Err( p_access, "failed to initialize shout streaming to %s:%i/%s; %s [<Hostname>:<port>/<filePath>;<last shout error that occured in this connection> eg,http://server:8000/mpd.ogg.m3u; ]",
url.psz_host, url.i_port, url.psz_path,shout_get_error(p_shout) );
free( psz_name );
free( psz_description );
free( psz_genre );
free( psz_url );
goto error;
}
free( psz_name );
free( psz_description );
free( psz_genre );
......
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