Streamtuner2+Audacious changing to different streaming site
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802
Rep:
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.
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.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802
Original Poster
Rep:
Quote:
Originally Posted by hydrurga
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.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802
Original Poster
Rep:
Quote:
Originally Posted by ondoho
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.
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.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802
Original Poster
Rep:
Quote:
Originally Posted by ondoho
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.