News:

Current Full E-Touch Version: 10.2.0
Current Demo E-Touch Version: 10.0.0
Current Beta: 10.2.1 Beta 24 (14/10/25)

Main Menu

shoutcast

Started by netcat, September 21, 2008, 08:27:41 PM

Previous topic - Next topic

netcat

I know my Youtube player request has been turned down in the past but... how about "shoutcast player" ?
any interest ?



eist1

#1
netcat,

Try this for wmp http://www.download.com/Pls2wmp/3000-2169_4-10861372.html Just download it into a folder and save the Shoutcast .pls files to your PC folder (use firefox to right click and save as to save the .pls) then associate the .pls with the pls2wmp .exe and it will open .pls files in wmp. I asked Barry to see how hard it would be to allow us to use the .pls playlist file in the current Playlist page, that way just save the .ls to the Playlists folder and it will show up in Freebox and play through wmp.

Barcrest

#2
Where do you find these .pls files?

EDIT:
I just put some code in to do what you suggested. Basically you could dump the PLS files in your playlist folder and you could see them and load them. However i cannot load them into media player so it's actually a bit of a non starter really. I don't know if i should take the code out or leave it in.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

eist1

#3
Barry,

When you go to Shoutcast.com you can right click on the Tune in! button and save the file as a .pls file. They just upgraded the Shoutcast page so in IE Explorer you can goto the top of Shoutcast and choose Classic Shoutcast 1.0 and you can save the links in IE but for the newest version you need to use Firefox and right click and choose save link as and it will save the .pls. The only thing I can see is that the current Freebox Playlist menu looks for the file in the music library, as long as you configed it to when it saw .pls to use the pls2wmp.exe and make it play in wmp.

Just a note, for wmp to play .pls files it needs to use the pls2wmp.exe file, which forces the .pls files to be played through wmp.

Here's a link to one of the .pls files http://www.category5prd.com/stations/181.FM - 80's Hairband Channel.pls

Barcrest

Yes but i can't have contro over which WMP it will play it in. Basically it would just call up WMP and play but freebox would have no control over it. This method doesn't look like it will work.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

eist1

Can you associate the .pls file to use pls2wmp.exe? It will force it to use wmp.

Barcrest

Yes you can do what you saw but when freebox calls those files it spawns a copy of WMP. I have no controll over that as it's a seperate application running.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

eist1

#7
Barry,

Here is a link to the source code for the pls2wmp.exe http://www.codeproject.com/KB/audio-video/pls2wmp.aspx?fid=1467953&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2627498 it looks like a very small program, which all it looks to do is send the first URL it finds in the .pls file to wmp (you can use the .pls file I attached above to look at what the file looks like), not sure if this could just be added to Freebox, to when it finds a .pls file to just send the first URL found to wmp, and get around having to use the pls2wmp.exe all together. Maybe some of our other code guru's like Lave Laar could also take a look at it and see what can be done.

Here's the source for another similar program called Open PLS in WMP http://www.codeplex.com/openplsinwmp/SourceControl/ListDownloadableCommits.aspx maybe between both programs something could be created.

http://weblogs.asp.net/jgalloway/archive/2004/04/08/109672.aspx

Barcrest

Yes... I can do it by sending the URL. Ok i will look again for you, i wasn't trying to be awkward i just hadn't looked at this enough.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

eist1

No problem Barry, was just trying to give you some ideas to see if this was even possible. Thanks for looking at it....

Barcrest

Tried sending the url but it doesn't seem to work :S
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...