mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Modal and filter somewhat working
This commit is contained in:
		| @@ -459,9 +459,11 @@ function add_function(arr, coll, guid, offline, socket) { | ||||
|                                             var thumbnail = arr.thumbnail != undefined ? arr.thumbnail : undefined; | ||||
|                                             Frontpage.update_frontpage(coll, id, title, thumbnail, arr.source); | ||||
|                                             if(source != "soundcloud") Search.get_correct_info(new_song, coll, false); | ||||
|                                             else if(source == "soundcloud") Search.get_genres(new_song, coll); | ||||
|                                         } else { | ||||
|                                             io.to(coll).emit("channel", {type: "added", value: new_song}); | ||||
|                                             if(source != "soundcloud") Search.get_correct_info(new_song, coll, true); | ||||
|                                             else if(source == "soundcloud") Search.get_genres(new_song, coll); | ||||
|                                         } | ||||
|                                         db.collection("frontpage_lists").update({_id:coll}, {$inc:{count:1}, $set:{accessed: Functions.get_time()}}, {upsert:true}, function(err, docs){}); | ||||
|                                         List.getNextSong(coll, undefined); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user