summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-15 08:35:00 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-15 08:35:00 +0000
commit1cf10721654764b366f6b105e76da071aa3c7f66 (patch)
tree046769763526b68033e8bfb521389f8db1556e25 /play
parent5d98a104bc750053e90da5f8dd9664e0433f900d (diff)
downloadampache-1cf10721654764b366f6b105e76da071aa3c7f66.tar.gz
ampache-1cf10721654764b366f6b105e76da071aa3c7f66.tar.bz2
ampache-1cf10721654764b366f6b105e76da071aa3c7f66.zip
fixed two transcode bugs
Diffstat (limited to 'play')
-rw-r--r--play/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 56e7fa27..64d83e86 100644
--- a/play/index.php
+++ b/play/index.php
@@ -254,6 +254,7 @@ if (Config::get('access_control') AND Config::get('downsample_remote')) {
if (($GLOBALS['user']->prefs['transcode'] == 'always' || !$song->native_stream() || $not_local) && $GLOBALS['user']->prefs['transcode'] != 'never') {
debug_event('downsample','Starting Downsample...','5');
$fp = Stream::start_downsample($song,$lastid,$song_name);
+ $song_name = $song->f_artist_full . " - " . $song->title . "." . $song->type;
} // end if downsampling
else {
// Send file, possible at a byte offset