-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh station list #358
Comments
Right now there is none. Why do you want to update the station list? |
If I have pianobar running while I create a new Pandora station, I'm unable to play my new station until I restart pianobar. And I would like to be able to refresh it without shutting it down and having to re-login again. |
|
The use case isn't all that rare. Anyone who uses pandora on two+ machines will run into issues of one not being synced to the other. This could be as simple as a family sharing an account. In my case, I leave pianobar running on a headless client at work. I pause when I go to lunch, and in the meanwhile I switch over to my phone and create a station. When I get back, and unpause, it would be nice to be able to switch to that station without having to restart pianobar. |
Here’s a patch: https://gist.github.com/6032071 I won’t apply it to master though, as there are way too many keyboard |
@jacroe I'm guessing this is for your remote control (?), as you might know I'm working on a similar project and worked around it by repopulating the station list using the event command file on create/delete station (and using the "e" command which I'm not using for anything else to repopulate it on genre create station because of a bug in older versions of pianobar). The eventcommand file I'm using is here: http://raspberrypiserver.no-ip.org/eventcommand.sh |
I think the reload stations shortcut already exists! It's: |
Would there be a way to trigger usergetstations to be able to update an external station list without restarting pianobar?
The text was updated successfully, but these errors were encountered: