psst icon indicating copy to clipboard operation
psst copied to clipboard

Library uninitialized unless Saved Tracks or Albums is opened

Open martingoe opened this issue 4 years ago • 3 comments

I am currently trying to implement parts of the playlist manipulation since I have some spare time and I have come across the following problem:

When manipulating the ui/track.rs menu in track_menu(), the passed library only has Empty values. This changes, when the user opens Saved Tracks or Albums.

I think this might be similar to #181. All in all, this is a great project. Thank you very much!

martingoe avatar Oct 10 '21 11:10 martingoe

I agree, it might make sense to load the library on init.

jacksongoode avatar Oct 13 '21 03:10 jacksongoode

Thanks for the report! I'll fix this as soon as #197 is done.

jpochyla avatar Oct 14 '21 10:10 jpochyla

Perhaps the initialization of saved tracks should also include saved albums, and podcasts now?

jacksongoode avatar Jan 28 '22 17:01 jacksongoode