1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00

few tweaks for flash player and a fixed for downsampleing

This commit is contained in:
Karl 'vollmerk' Vollmer 2006-10-30 07:18:46 +00:00
parent 598a200b96
commit 49c1cefcb9
5 changed files with 16 additions and 20 deletions

View file

@ -129,8 +129,15 @@ switch ($method) {
default:
$stream_type = conf('playlist_type');
if ($GLOBALS['user']->prefs['play_type'] != "stream" AND $GLOBALS['user']->prefs['play_type'] != "downsample") {
$stream_type = $GLOBALS['user']->prefs['play_type'];
/* For non-stream/downsample methos we need to so something else */
switch ($GLOBALS['user']->prefs['play_type']) {
case 'stream':
case 'downsample':
// Rien a faire
break;
default:
$stream_type = $GLOBALS['user']->prefs['play_type'];
break;
}
/* Start the Stream */