From fdb7c58cb160c5f8f0f0327c11cba93226e062f6 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 15 Mar 2009 16:16:04 +0000 Subject: fix typo causing height to not display on art retrival, update to db allowing gc of tmp_browse, add extension to api album art image urls --- play/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'play/index.php') diff --git a/play/index.php b/play/index.php index d3a3579b..d3596699 100644 --- a/play/index.php +++ b/play/index.php @@ -175,9 +175,8 @@ if (!make_bool($media->enabled)) { // If we are running in Legalize mode, don't play songs already playing if (Config::get('lock_songs')) { - if (!check_lock_songs($media->id)) { - debug_event('Play','Song ' . $media->id . ' is currently being played and lock songs is enabled','1'); - exit(); + if (!Stream::check_lock_media($media->id,get_class($media))) { + exit; } } -- cgit