Posted May 17, 2006 at 01:28AM by Maricar V. Listed in: PSP
Ó

We've got a tip from Solitude about a PSP Shoutcast Re-Streamer called ShoutPSP. Developer Daniel Haverman explains: ShoutPSP is a piece of software the will connect to a Shoutcast server and fake it's a file download instead of a stream. This means your PSP will think it's a normal file-download (of 1GB size). If you put such a file in an RSS feed, it allows you to listen to your favorite Shoutcast servers on your PSP anywhere and even with firmware 2.7.

In other words, it's a PHP file you can put on a server and then add to an RSS file. This PHP then emulates a file download which contains the MP3-stream as data. No need for PSPRadio.

For example a stream at:
http://64.236.34.67:80/stream/1003
    
Would be added to the RSS as: http://someserver/ShoutPSP.php?ip=64.236.34.67&port=80&stream=/stream/1003
 
Note: There is a bug in the PSP's RSS parser in that it cannot at this moment handle  xml-entities. So the & sign should be entered in the XML as an & and not as an & as is specified by the XML specification.

Download: [ShoutPSP.zip]


Permalink  |   Email this  |   Linking Blogs   |   Digg It!

Bookmark / Find this article on:


64 Comments


Sort by:
   by Lunar (Unregistered) - 2006-05-17
 » W00t first post!

Wow this looks quite interesting. Gonna try it out.

   by poundme (Unregistered) - 2006-05-17
 » doh

***** missed first comment by like 3 seconds

   by The Phool (Unregistered) - 2006-05-17
 » Short Bus

Umm... someone please tell me how to use this. i use pspradio alot and this sounds sweet. I'm packin 2.6 fw if that matters.

thanks alot

   by GGGGGGGGGGGGGGGGGGGGY07 (Unregistered) - 2006-05-17
 » how to:_

hey guys, how do you install this shoutpsp? i have tried different things but still no joy....... thanx

   by Jordan Black (Unregistered) - 2006-05-17
 » Please Help me to install this

read Above

   by sinX (Unregistered) - 2006-05-17
 » ???

How the heck do you install this?

   by soopergooman - 2006-05-17
 » wtf

So the & sign should be entered in the XML as an & and not as an & as is specified by the XML specification.

Thats some real bad technical jargon, which makes no sense at all.

   by Encrypted (Unregistered) - 2006-05-17
 » ???? HELP US OUT ????

If sum1 gets this application working be sure to let us know, im going to give it a shot and see what i make of it......

We need a 'read me' folder with more decriptive content stating exactly what we need to do.

Over all it sounds good :)

   by Advertising -
   by PSPaDDiKT (Unregistered) - 2006-05-17
 » tururu

READ ME NEEDED PLEASE

   by Zenoz (Unregistered) - 2006-05-17
 » It's

It's a script, not an application.

I presume it downloads a vast amount of music from a shoutcast server in one go and saves it as one file. Then you can use it in your rss feed to listen to it.

You need a server with php support to run the script. Suppose you can always install apache on your own machine.

Simpler method. Leave shoutcast stream recording on your own computer for a few hours. And then move the mp3/s to your psp.

   by Yoshi (Unregistered) - 2006-05-17
 » Is it working?

Has anyone managed to get this shoutpsp working?

   by Solitude (Unregistered) - 2006-05-17
 » I wrote this thing

With the & thing I meant & and not & The html thing has eaten the amp; part above. As far as what this does: You can put this file on a server. Then add a link to the file to an rss file. The psp will then stream then "think" it's a normal file download and allow you to stream it to your psp.

This means the PSP won't actually download it, and you don't need a big memory card for it. I streamed about 1GB of data with it by now (ca. 24 hours). And it isn't stored anywhere. I'll try to put out a new release this weekend (if i have time) containing better documentation and maybe some wrappers or something so it'll be a more fullfeatured product. As it is now it's only a script which you can add to an rss yourself.

   by RicoPico (Unregistered) - 2006-05-17
 » Umm i dont get it.

Then it would apear that you can stream a rss file with this php script? why wouldnt i just use the standard / rubbish rss feed tool from the sony firmware, yes it rubbish, but isnt this accumplishing the same thing?


   by Solitude (Unregistered) - 2006-05-17
 » Re: Umm i dont get it.

No the whole point is that the default rss features can only stream a file to your psp. Any mp3-file. But more importantly ONLY mp3-FILES. This can use the rss features to stream Shoutcast servers to your psp. Your psp will think it's a file so happily stream it, and the php-file in this release will act as a buffer. The psp will think it's downloading a file, while actually it's downloading a shoutcast stream. So you can listen to Live shoutcast streams without pspradio.

   by ky05h1r0 (Unregistered) - 2006-05-17
 » Sheesh ppl get with it

this is actually a really cool idea, thanx Solitude. for any of you ppl out there who still dont get it, its like having the functionality of pspradio on any firmware, (2.6 and 2.7 included) w/o having to run any unsigned code (homebrew). all it does is trick your psp's rss feed reader into thinking its streaming an rss feed when in reality its streaming files straight from the shoutcast server (WINAMP!). Normally the rss reader will only stream rss feeds containing .mp3 file extensions.

   by forum name "Lord Pip" (Unregistered) - 2006-05-17
 » forum name "Lord Pip"

You have to have a server
I use wamp5
google it
You can probly use a webhost, but wheres the fun.
Add the php folder to the root of your website.
go to your homepage and in the address change the page to "ShoutPSP.php"

this isn't a way to replace pspradio, its rather a way to replace shoutcast.

   by Cuantar (Unregistered) - 2006-05-17
 » .

That's a clever idea. Thanks!

   by Advertising -
   by bongo (Unregistered) - 2006-05-17
 » trying the shoutpsp for the first time (wish me luck)

ok.....i am installing winamp now...(i must see this shoutpsp thing work).


   by pisstaker (Unregistered) - 2006-05-17
 » duh!!!!

Has anyone actually got this thing to work?

   by Solitude (Unregistered) - 2006-05-17
 » Re: 18

No actually it's a way to replace pspradio not to replace a shoutcast server. It's a buffer between a shoutcast server (any shoutcast server) and the psp. The psp will only stream files, and this allows you to use the built in streaming features to listen to shoutcast servers. I'll try to add some nice documentation with pictures so everything is clear for everyone.

Setting it up basics:
Just get something like wamp or easyphp running (apache with php). And put the php file on your server, and add an rss file (like the demo included) and fill in the ip-data from your favorite shoutcast server, and listen to that server from your psp.

   by Solitude (Unregistered) - 2006-05-17
 » 21

Listening to it right now :) . Over the weekend expect better documentation and an install-guide. I might even be tempted to wrap up a nice installer and everything, but that might take me a while. But if that's finished you should be able to just install it, and if your firewall or router doesn't muck things up, you can start streaming immediately. As is; I mainly released it as a developer thing, because it did what it needed to do but without the fancy-schmancy stuff as nice configuration screens and such.

   by Encrypted (Unregistered) - 2006-05-17
 » Thank you Solidute

Yeh, i will look forward to this weekends release...r u sure it will work with firmware 2.7, because i am thinking of upgrading from 2.6 to 2.7.

keep up the good work mate ;D

   by Solitude (Unregistered) - 2006-05-17
 » 24

Unfortunately I upgraded to 2.7 allready (I have no GTA and got my PSP with 2.5 on it and wanted LocoRoco BAAAD :) ). So yeah it will work :) . The actual software runs on the pc and the streaming part uses the standard sony firmware software.

   by Diddy (Unregistered) - 2006-05-17
 » ShoutPSP

Nice job Sol!
As for the people who 'want a readme', just open the .php file in notepad or something.. It's well documented.

For the people who (after reading the docs) still don't get how it really works, a little explanation:

What you need:
- Webserver which supports php
- Some kind of shoutcast stream
- PSP with access to the earlier named webserver

You read through the .php file, configure everything you need to configure (for me it was pretty self explanatory). Be sure to also update the shoutcast server settings.
Then connect with your psp to your webserver/shoutpsp.php (or whatever you called it).. et voila.. streaming music!

... Did I explain it well enough now Sol? ;)

Diddy

   by anonymous (Unregistered) - 2006-05-17
 » A question

Do I have to edit anything inside the PHP file? I've edited the xml to point to a shoutcast channel, but it shows up as corrupt data in the RSS reader. Also, the example file only streamed for some 20 seconds before it died. Perhaps I should change the length value in the XML? Is it in milliseconds? Anyway, any help would be greatly appreciated.

   by Sandeep (Unregistered) - 2006-05-17
 » nice

I have been waiting a long time for such a program.
I love shoutcast, and now i love Dan
thx a lot!!

   by Solitude (Unregistered) - 2006-05-17
 » Re: 27

No you don't have to edit anything. Some shoutcast servers however sometimes timeout on the connection, and the script doesn't handle this very well yet. You can test more easily by opening the link to the PHP in Windows Media Player. Also when you download a .PLS containing the link to a shoutcast server. For now the address needs to be as an IP-address. So if it's not given as an IP-address try pinging the domain first and putting in the IP-address that appears on-screen. Also the test-server included usually works, but at times has some difficulties. This is due to an overloaded server. It should usually work though. Glad to hear you got it (almost) to work though!

   by Advertising -
   by Master Blaster (Unregistered) - 2006-05-17
 » PHP needed on webserver

Make sure webserver allows PHP or turn PHP.

   by psp jedi (Unregistered) - 2006-05-18
 » adding channels

this iz soooo cool...but i have a question...ive been adding more channels by creating more xml files....but to make it easier can i just keep updating the one xml to display multiple channels..if thats posible what codes do i use in the xml editing to show a channel switch

   by Solitude (Unregistered) - 2006-05-18
 » Re: 31 - Adding channels.

You can add any number of channels to a single RSS feed (xml-file). Just copy the <item> block (until </item> and add a new one immediately after the item close tag (</item>). You can add as many as you want like that.



The QJ.net Network RSS Feeds
QJ Forums
PC Gaming
Sony PSP
PlayStation 3
Xbox 360
Nintendo DS
Nintendo Wii
Blog of Blogs Feed / PDA
QJ.NET RSS / PDA
Gaming Consoles Feed / PDA
Nintendo DS RSS / PDA
PlayStation 3 RSS / PDA
PSP Updates RSS / PDA
Wii RSS / PDA
Xbox 360 RSS / PDA
PC Gaming Feed / PDA
MMORPG RSS / PDA
Personal Computer Games RSS / PDA
World of Warcraft RSS / PDA
Technology Feed / PDA
Apple RSS / PDA
iPhone - iPod Touch RSS / PDA
Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!