Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lja

Pages: 1 ... 8 9 [10]
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.

137
XML Exchange / Re: Internet Radio
« on: June 12, 2014, 12:23:56 AM »
@nime5ter
Since your kind assistance, I have been searching the web for help to learn more on how to get song info from internet radio websites. I am using this site as my test:

http://www.internet-radio.com/station/allirishradio/.

I have got it setup to stream and the info I now need for this site is the scrape url similar to the undernoted. I am not asking you to do the work but wonder if you can provide any additional guidance to that previously included in your post above. I have tried a number of suggestions I found on the net but none of them helped.

<param>http://38.96.175.21:8802</param>

Thanks.

138
XML Exchange / Re: Internet Radio
« on: June 09, 2014, 01:54:22 PM »
We appreciate it if you to try to look a bit before you ask.  This information should be easy to find in the wiki if you look.

http://voxcommando.com/mediawiki/index.php?title=Actions#SetStreamVol

http://voxcommando.com/forum/index.php?topic=1140.msg10852#msg10852

Thanks. Sorry about that.

139
XML Exchange / Re: Internet Radio
« on: June 09, 2014, 12:33:22 PM »
Actually, we don't need to use the RoboBrowser plugin after all, though it's one option.

It seems that Shoutcast feeds require a get request that specifies a "user agent". We have a specific scrape action for such sites in VC: http://voxcommando.com/mediawiki/index.php?title=Actions#Scrape

There is no universal, easy answer for how to find the information we need, unfortunately. If looking at a site's page source directly doesn't give the answer, then we have to dig a little, do some web searches, etc.

In the case of your particular jazz feed, I was able to look at the pls file (I used Notepad++) to find the URL for that stream. When I went to that page, I saw it had what looked like scrape-able song information on it. When I tried to use a regular scrape, I got an error. I was able to use RoboBrowser instead, but this is much less efficient. Looking up that error and how Shoutcast works, we figured out that they require user agent info in the header, so I used that action instead, and was able to scrape the page that contains now playing data.

Basically, if you have the time/interest in investigating and finding a solution, there usually is one, but there are no hard and fast rules. Different sites work differently.



Thanks. Got it working. With the info provided I will play with it further to see if I have any additional questions. There is one thing I have noticed. The voice providing the info is very low. Can the volume level of the stream be reduced ?

140
XML Exchange / Re: Internet Radio
« on: June 09, 2014, 09:12:53 AM »
Radio paradise is a class 1 radio station.  They provide an XML now playing feed which is easy to read.  Trying to do this with a generic shoutcast radio station is a completely different story.  Finding a page with now playing information on it is not so easy.  It actually seems like shoutcast has tried to make it difficult for us. Nime5ter is working on a solution using robobrowser, but it may not work for all shoutcast stations.  You will need to manually inspect the pls file for a given station to find the IP address of the stream.

Thanks. Will await possible solution while I read some more.

141
XML Exchange / Re: Internet Radio
« on: June 09, 2014, 02:36:41 AM »
There are several different xml posts in this thread. Which xml you are using, exactly?

Radio Paradise by jitterjames. While I was able to get the stream working,  it would also be good to understand how to locate the info for the stream.

142
XML Exchange / Re: Internet Radio
« on: June 08, 2014, 11:36:15 PM »
Just to clarify:

You are able to play the stream, but you want to know how you can ask about what current song is playing, and what artist and album it is.  Is that correct?

Yes. That is correct.

143
XML Exchange / Re: Internet Radio
« on: June 08, 2014, 06:59:14 PM »
I have been trying to set up  internet radio using xml from here. I have been able to get the station to play but am having difficulty in coding for the info. Please help with how do I find the URL to scrape from the website. The site is www.smoothjazzflorida.com. While this is specific, I would like to understand the process. Thanks.

144
MediaMonkey / Re: Exit MediaMonkey from VoxCommando
« on: June 03, 2014, 11:18:38 PM »
Thanks nime5ter

145
MediaMonkey / Exit MediaMonkey from VoxCommando
« on: June 03, 2014, 06:57:42 PM »
Please help with the action that can be used to exit MM. I believe for XBMC the action used is "XJson.ExecBuiltin".

Pages: 1 ... 8 9 [10]