f2e-spec icon indicating copy to clipboard operation
f2e-spec copied to clipboard

Caching the current playlist

Open Baklap4 opened this issue 6 years ago • 4 comments

Do you want to request a feature or report a bug?

Feature

What did you expect to see?

I'd love to see the songlist caching behavior be extended to cache the current playlist.

I'd love this since sometimes a crash appears and there was a playlist of 2+ hours. With cache i'd be able to restore this playlist within seconds. Without it i'll have to readd everything manually taking lots of time..

Suggestion

  • [ ] Use a different cache file: Playlist.json
  • [ ] Remove the playlist cache file after a graceful exit (by menu or alt F4 or X in the menu bar)
  • [ ] Load the playlist cache file if there is a file available on the system.
  • [ ] Write to the playlist cache after a song is added, removed or moved.

Baklap4 avatar Oct 09 '18 19:10 Baklap4

I'd say 1, make 2 optional (and make 3 behave accordingly) and 4.

Lord-Kamina avatar Oct 09 '18 19:10 Lord-Kamina

There's is no use for the playlist file if the program gracefully exited as it means the player wanted to quit the game therefor keeping track of the current playlist is practically useless and even annoying imo..

This will restart performous with a playlist already then.. (if choosen not to be deleted)

Baklap4 avatar Oct 09 '18 19:10 Baklap4

What if you need to restart the computer for some reason?

Lord-Kamina avatar Oct 09 '18 21:10 Lord-Kamina

while hosting several events i never had to restart my computer during a session... as you're in the middle of a session..

Baklap4 avatar Oct 09 '18 21:10 Baklap4