mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Sending source on playlist add, and printing source and thumbnail api
This commit is contained in:
		| @@ -48,7 +48,9 @@ function addFromOtherList(arr, guid, offline, socket) { | ||||
|                             "start": 1, | ||||
|                             "duration": 1, | ||||
|                             "end": 1, | ||||
|                             "type": 1 | ||||
|                             "type": 1, | ||||
|                             "source": 1, | ||||
|                             "thumbnail": 1 | ||||
|                         }; | ||||
|                         var to_set_np = true; | ||||
|                         if(np.length > 0) { | ||||
|   | ||||
| @@ -372,7 +372,7 @@ var Search = { | ||||
|  | ||||
|                                     if((!not_matched)){ | ||||
|                                         matched = true; | ||||
|                                         Search.readySubmit(true, { id: data.id, title: data.snippet.title, duration: duration, totalLength: totalNumber - 1}); | ||||
|                                         Search.readySubmit(true, { id: data.id, title: data.snippet.title, source: "youtube", duration: duration, totalLength: totalNumber - 1}); | ||||
|                                         break; | ||||
|                                     } | ||||
|                                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user