mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed limit on number of songs allowed in imported playlist
This commit is contained in:
@@ -646,7 +646,7 @@ function change_song_post(coll)
|
||||
{$match:{now_playing:false}},
|
||||
{$sort:{votes:-1, added:1}},
|
||||
{$limit:1}], function(err, docs){
|
||||
if(docs !== null && docs.length > 0){
|
||||
if(docs !== null && docs.length > 0){
|
||||
db.collection(coll).update({id:docs[0]["id"]},
|
||||
{$set:{
|
||||
now_playing:true,
|
||||
|
||||
Reference in New Issue
Block a user