LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2023, 11:54 PM   #1
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624
Blog Entries: 40

Rep: Reputation: Disabled
[Internet Radio Streams] no clue whatsoever: localized adverts


Good morning

If you do not like vague ideas about opaque layers of technology which are of no big impact on anything, anyway.., then maybe do not read on.

As some may know, I listen to a few radio stations via an « Internet Radio ». For those who do not remember, this device looks like a radio.

But it receives streams via Wifi or – in ancient times – via cable. Most of the time, the streams are chosen from a really big bunch of pre-configured radio stations. While I can add stream-URLs, it has turned out, that those that I wanted to add had already been included by the manufacturer, though sometimes been filed under the wrong category.

The event:
When I listen to a radio station which is situated in California, upon turning on the radio or just after choosing the stream, first of all, I hear that a local supermarket has received a new delivery of fresh carrots from Spain. (Yeah. It is a mystery – “fresh” and “from Spain”)
Though would the supermarket be in San Diego, I would appreciate the information. But I live in Normandy (France) and they talk of a place about 8km from here that I know, although I would not buy my carrots there.

When I listen to a radio-station (called “Web-Radio” sometimes) in my Web-Browser, I know the URL that I have requested and sometimes can anticipate this kind of advert. It appears (to me) that those radio stations delegate their hosting to some platform which might or might not choose to send out adverts sometimes or – like in my case – at the moment of a new connection.

But...
The Question
Could you imagine a way for me to know *who* is responsible for the adverts in my Interet Radio ?
The question is *not* how to get rid of them. Not yet, at least.

Have a nice week-end.

Michael

Last edited by Michael Uplawski; 10-14-2023 at 03:41 AM. Reason: style
 
Old 10-14-2023, 03:29 AM   #2
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 782
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
maybe closing everything network, except your internet radio, and then running tcpdump on the interface, listen to radio, just long enough to hear the add and let the station start, and then analyze the dump, and see which ips are from where... that might turn something up if the add was a separate stream from a separate ip...
 
Old 10-14-2023, 03:37 AM   #3
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624

Original Poster
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by slac-in-the-box View Post
maybe closing everything network, except your internet radio, and then running tcpdump on the interface, listen to radio, just long enough to hear the add and let the station start, and then analyze the dump, and see which ips are from where... that might turn something up if the add was a separate stream from a separate ip...
Thank you for the suggestion. I do not own a server to run tcpdump on, if everything is closed down. But maybe I am lacking imagination. I had asked my access provider, if I can see a list of connections to my ADSL modem including IPs and maybe Mac-addresses, but they told me this were not possible.

As I said.., I am clueless.
 
Old 10-14-2023, 04:10 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624

Original Poster
Blog Entries: 40

Rep: Reputation: Disabled
Update: Sorry.

I found an old discussion, where I had been told to use a hub or other device in between my ADSL-modem and the Internet-radio. This clarifies (again) how packages could be sniffed and probably renders my topic obsolete.

Short memory.

Cheerio.

Last edited by Michael Uplawski; 10-14-2023 at 04:11 AM. Reason: ADLS modem
 
Old 10-14-2023, 03:29 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,157
Blog Entries: 6

Rep: Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836
Quote:
Could you imagine a way for me to know *who* is responsible for the adverts in my Interet Radio ?
Can you find the url or IP/Port that the stream is coming from? Look at the source to see what the site is doing. Or, dump all requests to terminal/file and look at them.

Finding one at random...
https://www.radio.net/s/rfimonde

The stream is:
https://rfimonde64k.ice.infomaniak.ch/rfimonde-64.mp3
And that is what I would play.

It depends on if you are using the sites api, and running their scripts, where they cut away to a commercial sometimes, and then return, or if you scrape out the main stream url, and play that.

Utube does that. If you watch videos in a web browser, you get ads.
If you use yt-dlp on the stream, you do not.
 
Old 10-15-2023, 11:49 AM   #6
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,624

Original Poster
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Can you find the url or IP/Port that the stream is coming from? Look at the source to see what the site is doing. Or, dump all requests to terminal/file and look at them.
Thank you for the idea, but there is no terminal to look at. Imagine a radio : a device which has a few buttons which are *not programmable* and a loudspeaker. When the device is receiving a signal via WiFi from an ADSL-modem, the modem itself does not even seem to detect the device. The only thing I ever see connected to the ADSl-modem is my computer.

If I want to sniff packages, I first need to interfere with the connection between my radio and the ADSL-modem. Unfortunately, the radio does not offer any other way to connect, than via WiFi. Otherwise I would have played with an old DLink router, although I cannot even remember if it lets me see the traffic on all its interfaces...

Now I thought: I can try to listen to the same radio station in my Web-Browser and see what happens.
Due to copyright law, Live365's Licensed Player is only available for listening in the United States, Canada and Great Britain. You may find this station elsewhere by searching the web or contacting the station owner directly to learn about international accessibility.
Detected country: FR


I find the same station on other streaming platforms, but there, I never get localized adverts... The contrary would have been even more surprising.

Edit and Addition :
The radio does not offer any way to know the pre-configured stream-URLs. These devices are “rudimentary” in many ways, but that is what I wanted, when I bought one. I cannot know, via which platforms the streams are received, if I do not provide the URLs myself.

Last edited by Michael Uplawski; 10-15-2023 at 11:52 AM.
 
  


Reply

Tags
adverts, internet-radio, localized adverts, web-radio



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
LXer: Command Line Internet Radio Player PyRadio 0.9.0 Stable Released With www.radio-browser.info Support LXer Syndicated Linux News 0 02-01-2023 04:37 AM
[SOLVED in a way – Internet-Hardware-Radio] localized adverts (fr) when I listen to anything but local radios. Michael Uplawski General 15 06-01-2022 01:59 PM
Ripping Internet Radio Streams using Linux Darkwulfx Linux - Software 7 09-21-2011 04:46 AM
LXer: Bah humbug commercial radio, hurrah for Internet radio LXer Syndicated Linux News 0 05-02-2006 10:03 PM
X-Net Radio! Internet Radio with an attitude! xnetradio General 1 01-11-2004 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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