|
From: OryNider <ory...@us...> - 2007-07-02 20:01:27
|
Update of /cvsroot/mxbb/mx_radiocast/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22884 Modified Files: radiocast_delete.php radiocast_player.php radiocast_stream.php Log Message: some language parameters bugs fixed. Index: radiocast_stream.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_stream.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_stream.php 6 Jun 2007 23:03:54 -0000 1.1 --- radiocast_stream.php 2 Jul 2007 20:01:16 -0000 1.2 *************** *** 171,175 **** $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. $artist = "Shotcast Steam -via- Mx Music Center"; ! $title = "Radio Steam - Mx Radio Cast!"; $album = "Live"; --- 171,175 ---- $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. $artist = "Shotcast Steam -via- Mx Music Center"; ! $title = "Radio_Cast_Stream.mp3"; $album = "Live"; *************** *** 214,221 **** // Removing shoutcast headers. ! if (!stristr($outData, "icy") && !stristr($outData, "content")){ echo $outData; } - } --- 214,221 ---- // Removing shoutcast headers. ! if (!stristr($outData, "icy") && !stristr($outData, "content")) ! { echo $outData; } } Index: radiocast_player.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_player.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_player.php 6 Jun 2007 23:03:52 -0000 1.1 --- radiocast_player.php 2 Jul 2007 20:01:16 -0000 1.2 *************** *** 410,413 **** --- 410,414 ---- { $url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); + $url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; *************** *** 418,421 **** --- 419,423 ---- //$url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_download&station_id=' . $station_id); $url_download = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); + $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); $url_video = $url_download; } *************** *** 440,444 **** if( ($station_filetype == 'pls') && !empty($thisstation['station_url']) ) { ! $url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; --- 442,447 ---- if( ($station_filetype == 'pls') && !empty($thisstation['station_url']) ) { ! $url_download = append_sid(PORTAL_URL . $module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); ! $url_station = append_sid(PORTAL_URL . $module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; *************** *** 449,456 **** --- 452,461 ---- { $url_download = append_sid($thisstation['station_url']); + $url_station = append_sid($thisstation['station_url']); } else { $url_download = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); + $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); } $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); *************** *** 459,464 **** } ! //$url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode); ! $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode)); $url_media = append_sid(this_rc_mxurl("radiocast_mode=radiocast_player&station_id=" . $station_id . "&player_mode=" . 'media' . "&stream_mode=" . $stream_mode . "&block_mode=" . $block_mode)); --- 464,472 ---- } ! if( empty($url_station) ) ! { ! $url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_station&station_id=' . $station_id . '&player_mode=' . $player_mode . '&stream_mode=' . $stream_mode); ! //$url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode)); ! } $url_media = append_sid(this_rc_mxurl("radiocast_mode=radiocast_player&station_id=" . $station_id . "&player_mode=" . 'media' . "&stream_mode=" . $stream_mode . "&block_mode=" . $block_mode)); *************** *** 532,536 **** 'L_RADIOCAST_INDEX' => $lang['Radio_Cast'], 'L_RADIOCAST' => $lang['Radio'], ! 'U_RADIOCAST' => append_sid(this_rc_portalurl()), 'U_MX_RADIOCAST' => append_sid(this_rc_portalurl()), --- 540,544 ---- 'L_RADIOCAST_INDEX' => $lang['Radio_Cast'], 'L_RADIOCAST' => $lang['Radio'], ! 'U_RADIOCAST' => append_sid(this_rc_mxurl()), 'U_MX_RADIOCAST' => append_sid(this_rc_portalurl()), Index: radiocast_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_delete.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_delete.php 6 Jun 2007 23:03:51 -0000 1.1 --- radiocast_delete.php 2 Jul 2007 20:01:15 -0000 1.2 *************** *** 231,235 **** // -------------------------------- ! $message = $lang['Songs_deleted_successfully']; $template->assign_vars(array( --- 231,236 ---- // -------------------------------- ! //$message = $lang['Songs_deleted_successfully']; ! $message = $lang['Stations_deleted_successfully']; $template->assign_vars(array( |