summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-15 16:16:04 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-15 16:16:04 +0000
commitfdb7c58cb160c5f8f0f0327c11cba93226e062f6 (patch)
tree6cf57a740799a3a9b9dc9a035ccb66e1e54b053f /play/index.php
parent86ff429b366080b9203e5ddb1740339c64013853 (diff)
downloadampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.tar.gz
ampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.tar.bz2
ampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.zip
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
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php5
1 files changed, 2 insertions, 3 deletions
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;
}
}