-   Slackware (
-   -   [ANN] Soma 2.7.8 (

dive 01-01-2012 07:45 PM

[ANN] Soma 2.7.8
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.

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 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.

As always, feedback/ideas appreciated.

disturbed1 01-02-2012 01:16 AM

Thanks dive.
Have been a fan and supporter of soma fm for some time now. It's great music to have on while your working. Plus your program makes it easier (imo) to enjoy soma, and other streaming stations.

dive 01-02-2012 07:22 PM

Small bug fix.

Fix scheduled station when it is the same as last station, on idle.

bobzilla 01-02-2012 07:47 PM

I've been trying it out for a week or two. The version that was in current was a bit buggy (at least on my system), but this one seems to work fine. :)

Btw, I got the impression the playlists (stations) have to have an extension. If I put a playlist without an extension (in my ~/.soma/stations.conf), it gets confused.

dive 01-02-2012 07:49 PM

Yeah it does look for extensions in the URL, but if you can post here the one you're trying to get working I will have a look at it.

bobzilla 01-02-2012 08:01 PM

For example these two chill-out stations:

Thanx. :)

dive 01-02-2012 08:38 PM

Right I see why - they aren't playlists.

Should be fixed now, and I also added them to stations.conf

dive 01-02-2012 08:47 PM

One thing I didn't mention is a new option in options.conf:


# Auto balance the volume between Radio 3 and the others
# Radio 3 has much lower output. This setting cuts down
# the vol to a N% on other stations.
# Uncomment to use my best guesstimate of 30%

Hopefully that's clear enough. If you never listen to radio3 then you can leave it commented out.

bobzilla 01-03-2012 08:04 AM

Thanx Dave, I'll try it out today. :)

bobzilla 01-05-2012 09:55 PM

I haven't had time to test it till now. It works perfectly. Thanks Dave.

All times are GMT -5. The time now is 04:45 PM.