Ticket #3137: mythweb-music-playlist.2.patch
File mythweb-music-playlist.2.patch, 1.2 KB (added by , 14 years ago) |
---|
-
modules/music/mp3act_functions.php
13 13 * 14 14 /**/ 15 15 16 16 17 require_once('modules/music/mp3act_html_functions.php'); 17 18 18 19 define('MYTH_WEB_PLAYLIST_NAME', 'MythWeb Temporary Playlist'); … … 1418 1419 if ($song_id > 0) 1419 1420 { 1420 1421 $row = $song_info[$song_id]; 1421 $tmp .= '#EXTINF:'.intval($row['length']).','. $row['artist_name'].' - '.$row['name']."\n";1422 $tmp .= '#EXTINF:'.intval($row['length']).','.utf8_decode($row['artist_name']).' - '.utf8_decode($row['name'])."\n"; 1422 1423 $tmp .= music_dir().'mp3act_playstream.php?i='.$row['song_id'].'&q='.$quality."\n"; 1423 1424 } 1424 1425 else if ($song_id < 1) … … 1465 1466 { 1466 1467 while ($row = mysql_fetch_array($result)) 1467 1468 { 1468 $tmp .= '#EXTINF:'.intval($row['length']).','. $row['artist_name'].' - '.$row['name']."\n";1469 $tmp .= '#EXTINF:'.intval($row['length']).','.utf8_decode($row['artist_name']).' - '.utf8_decode($row['name'])."\n"; 1469 1470 $tmp .= music_dir().'mp3act_playstream.php?i='.$row['song_id'].'&q='.$quality."\n"; 1470 1471 } 1471 1472 mysql_free_result($result);