aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.94k stars 131 forks source link

Allow app to run in the background while using terminal. #448

Closed DjTuner13 closed 1 month ago

DjTuner13 commented 1 month ago

Is your feature already implemented in the latest master? No, I have search the repo for the work "background" as well as the issue section. I was not able to find any references to exiting while app runs in background.

Is your feature request related to a problem? Please describe. I'm always frustrated when I want to continue to work in terminal and i have to split or open a new window in tmux.

Describe the solution you'd like I would like to be able to have a key that allows the player to continue to play in the background. To open the app backup up i would still want the same application name to open it backup.

Describe alternatives you've considered I have been splitting my pane or creating a new window to allow the application to run while working in terminal.

Additional context None

aome510 commented 1 month ago

Maybe running the app as daemon and using CLI to control the background daemon is what you're looking for

DjTuner13 commented 1 month ago

Thank you that did the trick. I had installed using brew on macOS so that was the issue. I uninstalled using brew, reinstalled using cargo and the flags in the Readme. After that I ran spotify_player -d and it is now working when I quit the application using the and can use the cli as well to skip tracks and pause. Thank you very much for the reminder. You can close this request as you have already added this feature in.