136
XML Exchange / Re: Internet Radio
« on: June 12, 2014, 03:48:11 PM »Hi lja,
I'm sorry, I'm not sure what you are looking for at this point.
Your internet-radio.com webpage is showing a stream for Irish KISS FM. If that's the stream you're interested in, you have at least 2 options.
1. Follow the link that they provide to the radio station's website. There you can see a link to their "last 10 played" page. The top song is the currently playing song, so you could scrape that page if you like.
Or:
2. Do the same thing that I did with the jazz station example. Download the Ireland's KISS FM playlist file (m3u or pls or whatever) that is available at the link you posted above. You mention that you're able to set up the stream, so it sounds as though you've found that.
That file contains the URL (sometimes more than one, but in this case, just one) that you want to scrape. You can enter that URL directly in your web browser. It is exactly like the Smooth Jazz example.
If you compare the information contained on that page to the "Last 10 Played on KISS FM Ireland" page, you'll see that they both show the currently playing song, along with some other, different data.
I apologize if I'm misunderstanding what you're asking, but hopefully that helps.
Thanks. No apology necessary as you did understand what I was asking. I will check this out.