From a1961111ef936899351924bdb97e1b5d2e3687ec Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 19 Aug 2007 06:42:07 +0000 Subject: fixed album.disk for ogg files and added it to the display --- play/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'play') diff --git a/play/index.php b/play/index.php index 10ab8208..15e06041 100644 --- a/play/index.php +++ b/play/index.php @@ -315,14 +315,16 @@ if ($bytesStreamed > $minBytesStreamed) { if ($tmp_playlist->type == 'vote') { $tmp_playlist->delete_track($song_id); } - } + } // if tmp_playlist + + /* Set the Song as Played if it isn't already */ + $song->set_played(); + } // if enough bytes are streamed else { debug_event('stream',$bytesStreamed .' of ' . $song->size . ' streamed, less than ' . $minBytesStreamed . ' not collecting stats','5'); } -/* Set the Song as Played if it isn't already */ -$song->set_played(); /* Clean up any open ends */ if ($GLOBALS['user']->prefs['play_type'] == 'downsample' || !$song->native_stream()) { -- cgit