mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Update list_change.js
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							f5a992dde0
						
					
				
				
					commit
					4ba9d0bca3
				
			| @@ -355,11 +355,13 @@ function add_function(arr, coll, guid, offline, socket) { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         if(!arr.hasOwnProperty("source")) { | ||||
|             arr.source = "youtube"; | ||||
|         } | ||||
|  | ||||
|         if(typeof(arr.id) != "string" || typeof(arr.start) != "number" || | ||||
|         typeof(arr.end) != "number" || typeof(arr.title) != "string" || | ||||
|         typeof(arr.list) != "string" || typeof(arr.duration) != "number" || | ||||
|         typeof(arr.source) != "string" || | ||||
|         (arr.source == "soundcloud" && (!arr.hasOwnProperty("thumbnail") || !Functions.isUrl(arr.thumbnail)))) { | ||||
|             var result = { | ||||
|                 start: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user