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:
parent
598a200b96
commit
49c1cefcb9
5 changed files with 16 additions and 20 deletions
11
song.php
11
song.php
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue