LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2012, 07:45 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
Lightbulb [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.

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.

Last edited by dive; 01-01-2012 at 11:30 PM.
 
Old 01-02-2012, 01:16 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
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.
 
Old 01-02-2012, 07:22 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
Small bug fix.

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

http://dawoodfall.net/files/slackbuilds/noversion/soma/
 
Old 01-02-2012, 07:47 PM   #4
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 195

Rep: Reputation: Disabled
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.
 
Old 01-02-2012, 07:49 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
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.
 
Old 01-02-2012, 08:01 PM   #6
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 195

Rep: Reputation: Disabled
For example these two chill-out stations:
http://streaming202.radionomy.com:80/air-lounge
http://streaming203.radionomy.com:80/100-CHILL

Thanx.
 
Old 01-02-2012, 08:38 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
Right I see why - they aren't playlists.

Should be fixed now, and I also added them to stations.conf
 
Old 01-02-2012, 08:47 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
One thing I didn't mention is a new option in options.conf:

Code:
# 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%
#AUTOBALVOL=30
Hopefully that's clear enough. If you never listen to radio3 then you can leave it commented out.
 
1 members found this post helpful.
Old 01-03-2012, 08:04 AM   #9
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 195

Rep: Reputation: Disabled
Thanx Dave, I'll try it out today.
 
Old 01-05-2012, 09:55 PM   #10
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 195

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] Soma 2.7.5 dive Slackware 1 11-06-2011 09:06 PM
[ANN]sbbdep 0.0.9 a4z Slackware 0 10-06-2011 01:39 PM
[ANN] Soma 2.7.1 dive Slackware 8 08-27-2011 04:04 AM
[ANN] gem2tgz 1.0 cycojesus Slackware 2 02-23-2011 07:15 AM
Hello from Ann Arbor! lindners LinuxQuestions.org Member Intro 1 07-07-2010 06:58 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration