mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 13:53:00 +00:00 
			
		
		
		
	Fix: update last played tab on state change
This commit is contained in:
		| @@ -1594,7 +1594,7 @@ function parseState(obj) { | |||||||
|             pb[i].innerText = ''; |             pb[i].innerText = ''; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|     if (app.current.app == 'LastPlayed') |     if (app.current.app == 'Queue' && app.current.tab == 'LastPlayed') | ||||||
|         sendAPI({"cmd": "MPD_API_QUEUE_LAST_PLAYED", "data": {"offset": app.current.page}}, parseLastPlayed); |         sendAPI({"cmd": "MPD_API_QUEUE_LAST_PLAYED", "data": {"offset": app.current.page}}, parseLastPlayed); | ||||||
|  |  | ||||||
|     lastState = obj;                     |     lastState = obj;                     | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jcorporation
					jcorporation