diff options
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php index 0f2a2efa..191492a6 100644 --- a/play/index.php +++ b/play/index.php @@ -313,6 +313,8 @@ if ((Config::get('transcode') == 'always' || !$media->native_stream() || $not_lo else { // Send file, possible at a byte offset $fp = fopen($media->file, 'rb'); + + $song_name = $media->f_artist_full . " - " . $media->title . "." . $media->type; if (!is_resource($fp)) { debug_event('Play',"Error: Unable to open $media->file for reading",'2'); |