QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

Control Shoutcast from PSPRadio

This is a discussion on Control Shoutcast from PSPRadio within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; So browseAmp isn't compatible with 5.2+ and has some unwanted features for those who put it open to the net. ...

Reply
 
LinkBack Thread Tools
Old 03-28-2006, 05:28 PM   #1
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default Control Shoutcast from PSPRadio

So browseAmp isn't compatible with 5.2+ and has some unwanted features for those who put it open to the net. OK. Here is a way to control your winamp for your streaming playlist from pspradio.

Download WAWI at:

http://www.flippet.org/wawi/files/Wawi_7-5-13.exe

Install this and restart winamp (if previously started before installation)

Configure your port for the HTTP Server to what you wish in the Winamp options, plugins, general section. Now you muct give the anon user "play" permission. DO NOT set a password for this account.

Old Method (You can now ignore this and continue down to the new method)
Quote:
You should make your Shoutcast pls file for pspradio look like this:

Code:
[playlist]
File1=http://localhost:port/play
Title1=0 - WAWI - Play
Length1=-1
File2=http://localhost:8000
Title2=1 - Shoutcast R4D10
Length2=-1
File3=http://localhost:port/pause
Title3=2 - WAWI - Pause
Length3=-1
File4=http://localhost:8000
Title4=3 - Shoutcast R4D10
Length4=-1
File5=http://localhost:port/stop
Title5=4 - WAWI - Stop
Length5=-1
File6=http://localhost:8000
Title6=5 - Shoutcast R4D10
Length6=-1
File7=http://localhost:port/prev
Title7=6 -WAWI - Prev
Length7=-1
File8=http://localhost:8000
Title8=7 - Shoutcast R4D10
Length8=-1
File9=http://localhost:port/next
Title9=8 -WAWI - Next
Length9=-1
File10=http://localhost:8000
Title10=9 - Shoutcast R4D10
Length10=-1
File11=http://localhost:port/playmode?repeat=toggle
Title11=90 -WAWI - Toggle Repeat
Length11=-1
File12=http://localhost:8000
Title12=91 - Shoutcast R4D10
Length12=-1
File13=http://localhost:port/playmode?random=toggle
Title13=92 -WAWI - Toggle Random
Length13=-1
File14=http://localhost:8000
Title14=93 - Shoutcast R4D10
Length14=-1
File15=http://localhost:port/vol?volume=0
Title15=94 -WAWI - PC Mute Volume
Length15=-1
File16=http://localhost:8000
Title16=95 - Shoutcast R4D10
Length16=-1
File17=http://localhost:port/vol?volume=5
Title17=96 -WAWI - PC Half Volume
Length17=-1
File18=http://localhost:8000
Title18=97 - Shoutcast R4D10
Length18=-1
File19=http://localhost:port/vol?volume=10
Title19=98 -WAWI - PC Full Volume
Length19=-1
NumberOfEntries=19
Version=2

This playlist will contain your shoutcast stream (the urls containing port 8000) and issue the commands. Replace localhost with your ip and the port with the port you set for your http server earlier. Put this playlist into your psp radio playlist folder and rock out. Hope this helps. BTW, PSPRadio 1.38 pre-release and 8 freezes for me after the second command sent returning a Socketconnection reset error. Hopefully this will be resolved soon. I use the home key to return to IRShell (what I use) to decrease the recovery time.
New Method:

I finally was able to get around to adding support for the new retawq tips.html WAWI control center. What you must do is:

Download the newest plugins for pspradio:

PSPRadio Plugins 1.38.91

After unzipping these into the PSPRadio directory, make a folder in your PSPRadio directory called "APP_Retawq". Then use the attached txt file as an example to create your "tips.html" file within this folder.



Now you can control shoutcast through the retawq plugin without pspradio crashing from it while listening to your Shoutcast stream at the same time!

Thanks goes to DemonX for the inspiration!
Attached Files
File Type: txt tips.txt‎ (1.5 KB, 150 views)

Last edited by manaox2; 04-08-2006 at 07:27 AM.. Reason: Improvements
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 05:45 PM   #2
 
Join Date: Jul 2005
Posts: 530
Trader Feedback: 0
Default

I get HTTP Request Error and in the SHOUTcast Server it says Invalid Resource or something like that. Any idea why?
Master-Chief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 05:48 PM   #3
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

You'll always get that because it is not an actual playlist. Maybe I can think of a way to make it redirect to your own shoutcast playlist, but its doubtful for the time being. After you get the request error, it should have worked. You just go back to your stream and it should be ready to perform the action due to the 20 second or so delay in the streaming.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 05:57 PM   #4
 
Join Date: Jul 2005
Posts: 530
Trader Feedback: 0
Default

Quote:
Originally Posted by manaox2
You'll always get that because it is not an actual playlist. Maybe I can think of a way to make it redirect to your own shoutcast playlist, but its doubtful for the time being. After you get the request error, it should have worked. You just go back to your stream and it should be ready to perform the action due to the 20 second or so delay in the streaming.
Still didn't work. I'm really looking forward to this. Do you have AIM or any instant messaging program. If so, IM me at bombzhome
Master-Chief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:20 PM   #5
 

 
Join Date: Oct 2005
Location: Mexico
Posts: 151
Trader Feedback: 0
Default

Same happens to me Master-Chief, I get the error but it doesn't work
Sadranyc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:33 PM   #6
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Do not install the latest version of WAWI. It uses password authentification that will not allow it to work with pspradio. I made a newer version of the playlist up top that makes it go straight back to the stream after each command.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:42 PM   #7
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

You changed every occurrence of "port" and "localhost" to your server's port and IP, right? Otherwise... yeah, won't work.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:46 PM   #8
 
Join Date: Jul 2005
Posts: 530
Trader Feedback: 0
Default

Quote:
Originally Posted by FreePlay
You changed every occurrence of "port" and "localhost" to your server's port and IP, right? Otherwise... yeah, won't work.

Uhm.. yeah, I'm not that stupid.
Master-Chief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:51 PM   #9
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

It may help some to forward the port for both the http server interface and the streamcast port on their routers. Go to winamp, plugins, and general to find out these. The only problem I have been having is that after you send about the second command, it will freeze pspradio displaying "Error: SocketRead():Connection reset by peer!" Working on thinking of a way to help improve the stability as this is a problem with pspradio. On PSPRadio 1.37 final the problem seems to be even worse, happening after you issue the first command. I'll work on this.

Last edited by manaox2; 03-28-2006 at 06:57 PM..
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 06:58 PM   #10
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

The HTTP interface and shoutcast ports are both on port 8000 by default. For example, here's my Shoutcast server.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2006, 07:03 PM   #11
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Ah, I changed my port on the http server so that they won't interfere and no one know which port to control my music on. Good Reasons. I also use IRShell along with PSPRadio 1.38 pre-release 7 to lesson the time it takes to get back in after freezes. The home key works in this version after it freezes.

Last edited by manaox2; 03-28-2006 at 07:07 PM..
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2006, 09:35 AM   #12
 
Join Date: Nov 2005
Posts: 1,029
Trader Feedback: 0
Default

Yeah, WAWI seem's better than BrowseAmp so i'll start using this instead...

WAWI In Action on PSPRadio PRE 0.38.7


I still need to add volume control's...

Edit : I've also noticed plugin support for this version, Maybe a creating a plugin for WAWI could work? (I've not took a look into it yet, but will soon)

Last edited by DeMoN X; 03-29-2006 at 09:48 AM..
DeMoN X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2006, 11:45 AM   #13
 
Join Date: Jul 2005
Posts: 530
Trader Feedback: 0
Default

Ok, cool!
Master-Chief is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2006, 12:04 PM   #14
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

yeah, you really can't use the old method I posted in your thread. You should start with the howto first post of this thread and it works fine. This version of WAWI (only one that can be used as far as I know) does not have the volume controls or the random, repeat toggling function.

Last edited by manaox2; 03-29-2006 at 12:32 PM..
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2006, 03:09 PM   #15
 
Join Date: Jan 2006
Posts: 126
Trader Feedback: 0
Default

You can use the latest version of WAWI from:

http://www.flippet.org/wawi/

Just don't set up user permissions, also you need to set a html port number:

I also had a lot of trouble with the directions on the first post so here is a template that might help a few of you:

Code:
[playlist]
File1=http://192.168.XXX.XXX:ZZZZ/play
Title1=0 - WAWI - Play
Length1=-1
File2=http://192.168.XXX.XXX:YYYY
Title2=1 - Shoutcast R4D10
Length2=-1
File3=http://192.168.XXX.XXX:ZZZZ/pause
Title3=2 - WAWI - Pause
Length3=-1
File4=http://192.168.XXX.XXX:YYYY
Title4=3 - Shoutcast R4D10
Length4=-1
File5=http://192.168.XXX.XXX:ZZZZ/stop
Title5=4 - WAWI - Stop
Length5=-1
File6=http://192.168.XXX.XXX:YYYY
Title6=5 - Shoutcast R4D10
Length6=-1
File7=http://192.168.XXX.XXX:ZZZZ/prev
Title7=6 -WAWI - Prev
Length7=-1
File8=http://192.168.XXX.XXX:YYYY
Title8=7 - Shoutcast R4D10
Length8=-1
File9=http://192.168.XXX.XXX:ZZZZ/next
Title9=8 -WAWI - Next
Length9=-1
File10=http://192.168.XXX.XXX:YYYY
Title10=9 - Shoutcast R4D10
Length10=-1
NumberOfEntries=10
Version=2

Where XXX.XXX= the number of your local subnet address; your home network IP address, ZZZZ= your html port, and YYYY= your Shoutcast port. Easiest way to make this to your own system is to use wordpad textpad or any other text editors find and replace feature for each with your variables. Save it as a .pls extension.

I'm however not using this version as it has some major drawbacks, namely the crashing, so I use browseamp instead with a patched in_mp3 dll to clear up that security hole in winamp 5.13.

Last edited by Drathian; 03-29-2006 at 07:03 PM..
Drathian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2006, 05:00 PM   #16
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Thats a nice guide. Remember the 192.168.X.XXX puts you only in your local network. For this to work when you are streaming to a wireless router away from home you need to get into your browser and find out what you ISP IP is. Use that IP instead and you can control it no matter where you are at.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-05-2006, 02:02 PM   #17
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

I updated the tutorial to include the newest version of WAWI and more functions in the playlist. I have a sneaking suspicion that the reason this system is unstable is due to the automatic page redirect caused by the server. I have tested this by performing functions faster than it could redirect and, *tada*, it worked for 5 consecutive functions which is everything on the list. Now to think of a way to fix it.

Last edited by manaox2; 04-05-2006 at 03:34 PM..
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-05-2006, 02:52 PM   #18
 
Join Date: Nov 2005
Posts: 1,029
Trader Feedback: 0
Default

It would be a better idea to use Retawq, I'm still working on WAWI support for it. You can control shoutcast and still listen to your music at the same time when using it.
DeMoN X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-05-2006, 03:35 PM   #19
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Good work DemonX! Also, make note of the post above yours that I edited and added to. It may be helpful.

Update: I have found that as long as I don't play a shoutcast stream, I can do all the commands as much as I want without pspradio crashing. odd.... may be a caching problem with pspradio. Doesn't seem to be long now as raf himself may be working on link in retawq that links to an html file that performs all the commands while listening to a shoutcast stream. (I am kind of worried as I have seen what a shoutcast server does if you pause or stop winamp... it disconnects for a bit) More good news soon I'm sure.

Last edited by manaox2; 04-05-2006 at 06:32 PM..
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 07:28 AM   #20
 
Join Date: Nov 2005
Posts: 1,029
Trader Feedback: 0
Default

WAWI somewhat working on Retawq but you need to create a new html page to do so. Also i need to link it to my webserver since i can't get it running from the memory stick.. If i do i just get a red screen of death..



Edit : I've figured it out, Instead of ms0:// it needs to be local://

Local Directory browsing via Retawq


This mean's i can now get bookmark support fixed. and WAWI on the memory stick.

Last edited by DeMoN X; 04-06-2006 at 07:38 AM..
DeMoN X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 10:00 AM   #21
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Looks like there will be an announcement soon.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 11:13 AM   #22
 
Join Date: Nov 2005
Posts: 1,029
Trader Feedback: 0
Default

PSPRadio has been updated, I'll see if i can get local html working on that version instead, since this old version is not working correctly using 'local://'

http://ftp.berlios.de/pub/pspradio/p...09_Dynamic.zip
DeMoN X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 04:35 PM   #23
 
Skunk's Avatar
 
Join Date: Jan 2006
Location: Mystical Avalon
Posts: 700
Trader Feedback: 0
Default

OK I have got pspradio controlling winamp on the pc how do I get winamp to stream to the psp do I still need to setup some thing like icecast for the stream or will the plugin on winamp do all this
I must admit I would rather do this in Linux as most of my music is on my Linux pc's, I've never setup a shoutcast before so any help would be fully appreciated
__________________
[COLOR=SeaGreen]PSP 1000 fw 2.01>>2.60<<1.50>>2.71 SE C>>3.02OE-A>>3.02OE-B>>3.03OE-A>>3.03OE-C
PSP 1003 fw 2.50 >>2.60<<1.50>>2.71 SE-C>>3.02OE-B>>3.03OE-C[/COLOR]
[COLOR=Navy]The Ultimate PSP Homebrew Database[/COLOR]
[url]http://psp-homebrew.eu/homebrew.php[/url]
Skunk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:36 PM   #24
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

@DemonX
Yeah I noticed, I was about to mention the same thing. Looks like raf has it prepared for us.

@skunk
Follow this link and follow the instructions and you will be streaming in no time.

http://www.shoutcast.com/download/

There are also many tutorials on this. Just do a forum search.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:41 PM   #25
 
NEvolution's Avatar
 
Join Date: Oct 2005
Location: Where am I? Firmware
Posts: 3,505
Trader Feedback: 0
Default

@Skunk Stream your Winamp MP3s to your PSP
__________________
[img]http://img137.imageshack.us/img137/9792/1qj7.png[/img]

[SIZE="1"][B]|Main Rig|[/B]
Asus P5K Deluxe [0404]
Q6600 L738A999 G0 SLACR @ 3.6Ghz [400x9]
2x1GB Firestix DDR2-1000
ATI HD2900XT [MCW60]
Seagate 7200.11 500 GB / 7200.10 320GB
Creative X-FI Platinum
Antec P182

[B]|Cooling|[/B]
D-Tek FuZion [Quad - Nozzle] [B]|[/B] MCW60 [B]|[/B] MCR320 [B]|[/B] EKRes150 [B]|[/B] DDC-1T /w AlphaCool Top[/SIZE]
NEvolution is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-07-2006, 04:31 AM   #26
 
Skunk's Avatar
 
Join Date: Jan 2006
Location: Mystical Avalon
Posts: 700
Trader Feedback: 0
Default

thanks for the links Manaox2 and NEvolution I now have winamp streaming, all I need to do now is set-up one of my Linux pc's to stream instead which should not be to difficult now I have the info I need

I did do a forum search before posting, searched for shoutcast but it came back with no results and stream pspradio was how I found this thread
__________________
[COLOR=SeaGreen]PSP 1000 fw 2.01>>2.60<<1.50>>2.71 SE C>>3.02OE-A>>3.02OE-B>>3.03OE-A>>3.03OE-C
PSP 1003 fw 2.50 >>2.60<<1.50>>2.71 SE-C>>3.02OE-B>>3.03OE-C[/COLOR]
[COLOR=Navy]The Ultimate PSP Homebrew Database[/COLOR]
[url]http://psp-homebrew.eu/homebrew.php[/url]

Last edited by Skunk; 04-07-2006 at 12:50 PM..
Skunk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-07-2006, 10:36 AM   #27
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Updated my guide to use the Retawq plugin tips.html file! Enjoy.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-07-2006, 12:35 PM   #28
 
Join Date: Nov 2005
Posts: 1,029
Trader Feedback: 0
Default

Code:
Main · Playlist · Music Collection · Admin
Are not working correctly, I could never get them working with Retawq for some reason.

Anyway, At least we've got tips.html working now, I've added a little bookmark page with WAWI included. Seems to be working good, Apart from those 4 link's above.

Edit : Oh, and I get a red screen of death for a few seconds before starting Retawq , Anyone else getting this?
DeMoN X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-07-2006, 12:39 PM   #29
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

I actually took them out right before this post. lol good catch. Its expected to have a red screen of death when exiting the plugin, but not before. I don't get that. I do know however that you will cause pspradio to shut down if you try to load the two plugins at once.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-08-2006, 07:24 AM   #30
 
manaox2's Avatar
 
Join Date: Jan 2006
Location: USA
Posts: 466
Trader Feedback: 0
Default

Now that the guide is mostly complete, it would be nice to see this as news or a sticky or something.
manaox2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
control , pspradio , shoutcast

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:37 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us