Happy new year all.
Being a radiohead I was looking up some programs the other day and noticed something I wanted to hear at a certain time and channel and thought to myself 'Wouldn't it be good if Soma changed channel at that time automagically...'
So I added a fairly simple scheduler to Soma that seems to do the trick nicely.
There have also been some improvements in the code apart from this so you will probably want to upgrade anyway.
Changes:
Scheduler added
Better mplayer output parsing code to detect failed stations.
New bind [Space] which will completely stop/start mplayer and put Soma in Idle mode.
Now you can go directly to status window at startup in Idle mode. Soma will then be waiting for the next schedule, or input.
Scheduler:
Scheduler can be accessed through the main menu or through the status window. In the status window you can press 'a' to go direct to the add schedule screen, or 's' to go to the main schedule menu.
The scheduler has 3 settings:
Time in 24 Hour format (HH:MM)
Daily or oneshot schedule (oneshot is deleted after station is changed)
Date, selected by a calendar.
There is no weekly or monthly schedule at the moment, daily only I'm afraid.
http://dawoodfall.net/files/slackbuilds/noversion/soma/
As always, feedback/ideas appreciated.