hrkfdn / ncspot

Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Persist state between sessions

TeaDrinkingProgrammer opened this issue · comments

I would like NCspot to persist state, like volume and the song being played, between sessions. Specifically, I always set the volume of my music a bit lower than the rest of the apps, and I would like that setting to be persisted between sessions so that the volume is not too loud when I open the app.

Odd, it should already do this.. 🤔

Oh, that's interesting. I use the Winget build (v0.13.4) on Windows 11 with Nushell and Alacritty. If I play a song, ctr+c out of the app and go back in, the playbar is blank. The bug also occurs on Powershell in Windows Terminal.

I would like to supply a log, but it contains all sorts of tokens and usernames

When I use ctrl+c to exit, state isn't saved either. When I use the other methods (q, :exit, close terminal...) it does save.

That makes a lot of sense 😅. Thank you!

I'll still add an issue to track this as it would be a nice to have, even if it would probably only work on Unix-like systems (I have no clue how ctrl+c works on Windows).