LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2017, 01:22 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Streamtuner2+Audacious changing to different streaming site


I stream music using Streamtuner2 and Audacious and, generally, it works really well. UPDATE: The system where this is happening is running Streamtuner not Streamtuner2.

On occasion, though, the site I'm listening to abruptly switches to a different site. I think it's due to network traffic interrupting the music stream but it's hard to tell. I can't find any correlation between anyone else using our network connection and these occurrences. (Heck, it even happens in the wee hours when nobody else is awake.)

The odd thing about these switches is that it always chooses a site that is not bookmarked. Often, it switches to a 'station' that used to exist in the Xiph database but which no longer does, `RadioPalMuni', but fails and finally switches to `GirlsRockRadio'. (Which does exist but has never been deliberately listened to because, frankly, how many times do you really want to hear songs by `The Runaways'?)

I can find no mention of either of those two sites in my Streamtuner or Audacious config files so they're not set up to act as some sort of fallback site.

Anyone else had this happen? Is it fixable?

Environment: OpenSUSE 13.2 + all current patches.

TIA...

--
Rick

Last edited by rnturn; 05-04-2017 at 01:32 PM. Reason: Corrected application version.
 
Old 05-04-2017, 05:08 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Given that the original Streamtuner is 13 years old, have you thought about replacing it with Streamtuner2 to see if the problem persists?
 
Old 05-05-2017, 12:40 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rnturn View Post
On occasion, though, the site I'm listening to abruptly switches to a different site.
i'm listening to a lot of internet radio, and this has never ever happened to me.
the URLs sometimes change, yes, but that is something that has to be corrected manually.

so i guess you mean that the streamtuner application switches stations?
this could have something to do with its settings, i.e. it is set to immediately play the next URL if it loses the connection to the current station.
maybe - probably - caching has to be increased.

this is generic advice, regardless of the application that is used.
 
Old 05-05-2017, 11:58 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by hydrurga View Post
Given that the original Streamtuner is 13 years old, have you thought about replacing it with Streamtuner2 to see if the problem persists?
I've got both versions installed on my desktop system. I stuck with the older version as Streamtuner2 was failing to launch Audacious reliably; maybe once every few dozen tries. As a result I can't really say whether it's susceptible to whatever is causing the currently playing site to switch. I can't blame it on Audacious; same version configured to be used in both versions of Streamtuner.
 
Old 05-05-2017, 12:07 PM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ondoho View Post
i'm listening to a lot of internet radio, and this has never ever happened to me.
the URLs sometimes change, yes, but that is something that has to be corrected manually.
Yes. Streaming sites come and go. I reload the list from Xiph every week or so and find sites missing.

Quote:
so i guess you mean that the streamtuner application switches stations?
this could have something to do with its settings, i.e. it is set to immediately play the next URL if it loses the connection to the current station.
maybe - probably - caching has to be increased.
I can only assume that streamtuner is doing the switching. I haven't found any configuration setting that sets up ``switch to this when selected site becomes unavailable''. If it were there, I'd unselect it in a heartbeat.

Not sure what you're getting at about the caching. There is nothing like that in the Streamtuner settings. Audacious has a buffer size setting (currently maxed out at 1MB). No hint that there's a ``switch to this site upon losing connection'' in that application either.
 
Old 05-06-2017, 12:19 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
ok, we clearly have different usage habits.

this is how i do it:
when i find a station that i like, i try to find the URL that streams the radio, and save it as a .m3u playlist.
some stations even offer .pls files for download, sometimes with a couple of alternative URLs.
so i have a bunch of playlist files that i can open in my favorite media player.

point is, i never had any problems with it.

i don't know how streamtuner does it.
 
Old 05-08-2017, 04:06 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ondoho View Post
ok, we clearly have different usage habits.

this is how i do it:
when i find a station that i like, i try to find the URL that streams the radio, and save it as a .m3u playlist.
some stations even offer .pls files for download, sometimes with a couple of alternative URLs.
so i have a bunch of playlist files that i can open in my favorite media player.

point is, i never had any problems with it.

i don't know how streamtuner does it.
As far as I can tell, I select a stream using a site list in one of the catalogs--Xiph is the only one defined in Streamtuner that has an appreciable amount of sites listed--or my Bookmarks defined in the application which are all selected from the Xiph listing. Streamtuner then launches Audacious passing the streaming site name to it. I've been doing it that way to avoid having to cleanup the playlist files that I could have on disc for sites that have gone offline. I mostly hit my Bookmarks; if I find one of those that is now gone I just delete it from that list.

I'm looking at running Streamtuner via strace. I can do a quick test to find whatever system call is used to spawn Audacious and then rerun `strace audacious' and pipe it into grep looking for that call to see if one takes place that I didn't specifically ask for. Now I just need to find a time when I plan on sitting in front if my desktop system for a time so I can run that test.

BTW: `GirlsRockRadio' seems to have been replaced by `Kill Radio: Los Angeles Free Radio' as Streamtuner's go-to site when selecting a site that no longer exists or one of those random change-the-station events occurs. Weird.
 
Old 05-09-2017, 12:54 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think it is a miracle that streamtuner works at all:
from http://www.nongnu.org/streamtuner/ :
Quote:
Latest Version
streamtuner version 0.99.99, released December 21, 2004.
my distro doesn't even provide the old version anymore.
i think you should really really consider using streamtuner2 instead...
 
  


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
Cross site streaming replication for Postgres 9.2 akmatey Linux - Newbie 0 01-12-2016 08:45 PM
Alternative to Audacious for eac cuesheets, midi playback (hardware)? Fix audacious? Holering Linux - Software 0 10-02-2010 11:19 PM
Audacious, MPlayer, ASF Streaming Audio Raymond C. Glassford Mandriva 1 03-31-2009 09:45 AM
Streaming music Audacious does not play? lifeforce4 Linux - Networking 2 07-13-2008 01:54 PM
how to setup a streaming audio site ? kkempter Linux - Software 1 08-31-2005 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:04 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