mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Added song_change update for local-mode also
This commit is contained in:
		| @@ -589,7 +589,7 @@ var Player = { | ||||
|     playNext: function(){ | ||||
|         if(full_playlist == undefined || full_playlist.length == 0) return; | ||||
| 	    var next_song = full_playlist[0]; | ||||
|  | ||||
|         var prev_id = Player.np.id; | ||||
|         video_id   = next_song.id; | ||||
|         time       = (new Date()).getTime(); | ||||
|         song_title = next_song.title; | ||||
| @@ -620,7 +620,7 @@ var Player = { | ||||
|  | ||||
|             Player.loadVideoById(video_id, duration, start, end); | ||||
|         } | ||||
|         List.channel_function({type:"song_change", time: time, offline_change: true}); | ||||
|         List.channel_function({type:"song_change", time: time, offline_change: true, id: prev_id}); | ||||
|     }, | ||||
|  | ||||
|     playPrev: function() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user