Skip to content
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

Feature suggestion - scheduling #162

Open
wturrell opened this issue Aug 12, 2022 · 7 comments
Open

Feature suggestion - scheduling #162

wturrell opened this issue Aug 12, 2022 · 7 comments

Comments

@wturrell
Copy link

This is maybe a bit niche, but I often find myself trying to remember to switch over to a different station at a specific time, e.g. for a news bulletin or live event.

I think the way it might work is you browse to the desired station, press a keyboard shortcut and enter a time, and that time would be displayed maybe right aligned in the station list as an indication the 'alarm' was set. As soon as the time is reached, whichever station you were on before would stop playing and the new one would start.

@s-n-g
Copy link
Collaborator

s-n-g commented Aug 12, 2022

Hi again @wturrell

Yes, this is a nice feature!
But I do have to think about it...
The thing is that in the meantime, we can load a different playlist, or use radiobrowser, and then thing get... well... complicated... 😄

@amano-kenji
Copy link

amano-kenji commented Apr 7, 2024

Isn't it better implemented as remote control server commands? Remote commands can be scheduled externally.

@amano-kenji
Copy link

Cron jobs can send remote commands.

@amano-kenji
Copy link

I'm not sure that a radio program should have a proper scheduler UI. Perhaps, you can develop an external scheduler UI that sends remote commands to pyradio?

@s-n-g
Copy link
Collaborator

s-n-g commented Apr 13, 2024

Hm, that is an interesting idea!
But that would make it nesessary to always have the remote control server on...
I will think about it!

@amano-kenji
Copy link

amano-kenji commented May 2, 2024

  • Instead of listening on a port, you can listen on a stream unix domain socket.
  • If schedule UI is well designed, then it can be a part of pyradio. I don't know whether it's better to implement schedule UI in pyradio or outside pyradio. A schedule screen can exist if pyradio has built-in scheduler.

@s-n-g
Copy link
Collaborator

s-n-g commented May 2, 2024

I've been in the process of testing several solutions for some time...
I have put it in the back burner for now, until the 0.9.3.x transition settles down and all bugs and such are discovered ans taken care of 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants