LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-18-2017, 08:16 PM   #16
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled

Why are entries in stations.conf hardcoded? I want to remove certain streams I can't connect to. When I remove them, they still show up even if stations.conf is empty. I have more to report but I'm kinda busy right now.
 
1 members found this post helpful.
Old 11-18-2017, 08:19 PM   #17
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Did you also remove them from /etc/soma/stations.conf?

There are no hardcoded stations. They are either in there or your local list in ~/.soma.
 
1 members found this post helpful.
Old 11-18-2017, 08:21 PM   #18
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Nope, but will give it a try. Thanks, nice program btw.
 
1 members found this post helpful.
Old 11-18-2017, 08:24 PM   #19
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thanks.

The only thing is that when I add new stations to the list in /etc/soma I don't make a stations.conf.new and instead overwrite the old list. That means that the ones you remove will likely get added back.

The best way to get around this is to add your favourite stations to ~/.soma/stations.conf and they will always be at the top of the list.
 
Old 11-18-2017, 08:29 PM   #20
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
That did it boss. Thanks!!! This may have resolve my other issues.
 
Old 11-18-2017, 08:43 PM   #21
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
Thanks dive, I'll be adding this to my soma stations.conf file :-) ....can I ask how you figured out the url?
 
Old 11-18-2017, 08:48 PM   #22
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
First I clicked on the link and saw that it played. I tried it in mplayer but it wouldn't play, but then I saw that it had aac in it and everything after that was options, so I chopped the rest off.
 
1 members found this post helpful.
Old 11-18-2017, 08:57 PM   #23
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
I have removed all of the entries from /etc/soma/stations.conf which is now a empty file and control from
/home/******/.soma/stations.conf.
Now everything is working and running smooth and don't have any issues atm. Thanks
 
Old 11-18-2017, 08:59 PM   #24
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
Thanks dive, tried it with the a few other stations on that site and they work too...if only they were in the stations.conf file which comes with your soma :-) ....thanks
 
Old 11-18-2017, 09:03 PM   #25
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Well if you'd like to print out a list like:

Station Name,URL

I can add them for the next update.
 
2 members found this post helpful.
Old 11-18-2017, 09:50 PM   #26
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I confess that I am new to soma but I am having a great time with it. A small issue though: the following plays well enough:

Code:
mplayer -playlist http://www.abc.net.au/res/streaming/audio/aac/classic_fm.pls
but when I add this to ~/.soma/stations.conf as:

Code:
ABC Classic FM,http://www.abc.net.au/res/streaming/audio/aac/classic_fm.pls
I get a 'No Streams!' message. Doubtless I am missing something obvious .
 
Old 11-18-2017, 10:01 PM   #27
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
It works for me, but I'm guessing that it's taking too long to load for you, so it hits the timeout catcher.

I will look into making this setting an option, but for now you could change the setting in line 337:

if [ "$COUNT" -ge 150 ]; then

Try changing 150 to something larger.
 
2 members found this post helpful.
Old 11-18-2017, 10:28 PM   #28
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Interestingly enough this made no difference on my system but I note in a previous post in this thread there was a suggestion for Australian iiNet users (amongst others) to use some ISP sponsored bandwidth free addresses. ABC Classic FM is on this list and this address works fine with soma so I am a happy customer

Puzzling that I cannot get the direct address working...

Edit: Recompiled up to the latest svn MPlayer, crossed my fingers and now it works! Obviously a user error and my apologies for the noise as well as my thanks for this great application / script...

Last edited by andrew.46; 11-18-2017 at 10:54 PM.
 
Old 11-20-2017, 06:27 AM   #29
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
A few of the stations I listen to online dive, thanks.

Kisstory,http://live-bauer-al.sharp-stream.com/kisstory.aac
Heart,http://media-the.musicradio.com/HeartLondon
Radio X,http://media-the.musicradio.com/RadioXLondon
Capital,http://ice-the.musicradio.com/CapitalMP3
CapitalXtra,http://media-ice.musicradio.com/CapitalXTRANationalMP3
 
Old 11-20-2017, 06:28 AM   #30
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thanks. I'll add those.
 
1 members found this post helpful.
  


Reply



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.10.0 dive Slackware 2 04-16-2015 04:32 AM
[ANN] Soma 2.9.0 dive Slackware 0 04-13-2014 06:44 PM
[ANN] Soma 2.7.8 dive Slackware 9 01-05-2012 08:55 PM
[ANN] Soma 2.7.5 dive Slackware 1 11-06-2011 08:06 PM
[ANN] Soma 2.7.1 dive Slackware 8 08-27-2011 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration