code change to repeat autoplaylists lacking UI option to enable/disable
This commit is contained in:
parent
0fdd6d8d57
commit
7a944ac9ce
|
@ -32,7 +32,11 @@ class AutoPlaylistManager {
|
|||
Logging::info("Scheduling $playlistid");
|
||||
// call the addPlaylist to show function and don't check for user permission to avoid call to non-existant user object
|
||||
$si->addPlaylistToShow($playlistid, false);
|
||||
while ($si->getPercentScheduled() < 100) {
|
||||
$si->addPlaylistToShow($playlistid, false);
|
||||
}
|
||||
$si->setAutoPlaylistBuilt(true);
|
||||
|
||||
}
|
||||
Application_Model_Preference::setAutoPlaylistPollLock(microtime(true));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue