12-03-2023, 02:42 AM
(12-03-2023, 12:20 AM)Nutul Wrote:(12-02-2023, 10:52 PM)Tim Curtis Wrote: There are a few other corner cases that need to be handled for example when the selected album/track is last in the queue and is deleted.I fail to catch you on this one: if it's the last and it's deleted, then the queue is empty and there is no reason to locate any artist / album in the library...?
Quote:A good challenge for an interested dev.See what we can do, then... :-D
Thats correct. Currently the params lib_pos and radio_pos aren't being reset when Queue empty etc. The meaning of the values in these params are documented in playerlib.js. IIRC simulating a click on the lib headers performs a reset on lib_pos and clicking on the "refresh" icon in Radio view resets radio_pos. Something like that.