Raf's PSP Development

Wednesday, September 21, 2005

PSPRadio 0.1a WIP

I'm releasing what I have right now, so people can give it a try. It's a WORK IN PROGRESS, keep that in mind.

One of the problems it has right now, is that it can get stuck in a socket connection (recv or connect) if there's a network problem. I'll need to use setsockopt() to setup the socket for timeouts.. But the options are not part of the SDK.

I've been looking at NetBSD's sources, I think I'll borrow the socket header files from them..


  • At 5:05 AM, Blogger radical dreamer said…

    This comment has been removed by a blog administrator.

  • At 5:21 AM, Blogger radical dreamer said…

    Hey Raf, this is a great idea for a PSP app. I was just thinking the other day, how great it'd be to be able to listen to my favorite net radio stations, (I usually listen to them through winamp radio), on my PSP.

    Thank you very much, and I'm interested in seeing future versions. :-)

    Sorry sorry, I deleted my other post 'coz I forgot to say my preference. :S

    I think I might prefer features over ease of use. If it can be made better with no distraction of making it easier, then that's good I think. :)

  • At 6:53 AM, Blogger chrisrowenet said…

    Also just wanted to congratulate you on an awesome application for the PSP. Great to see people still working on it!
    Will you be releasing the source? I am working on an app to wardrive hopefully, and any help would be appreciated. Keep up the great work, i look forward to the next version.
    Cheers, Chris

  • At 7:48 AM, Blogger Curious said…

    Nice work! You've turned my $250 PSP into a $10 transistor radio.

    I vote for prioritizing streaming playback functions, rather than local mp3 playback features.

    - Metadata display
    - bookmarks
    - ShoutCast stream browser (like Winamp Media Library)
    - save live stream to MS?
    - easily skinnable GUI format

    Thanks for the great work.

    P.S. A VideoLAN VLC client, .NSV or some other video streaming player would be nice for a future project too :)

  • At 7:50 AM, Blogger Nevyn said…

    Awesome. I've been wanting to write this for weeks, but haven't had the time. It won't connect on my psp, tho' :/

    I'd vote for stabilizing the socket.h ;) Second place on the wishlist is a real interface.

  • At 8:31 AM, Blogger Curious said…

    Just a note...I'm sure you're already aware of this, but I tried to listen to a 32000kbps/22050Hz stream and it played too fast. I'm guessing the current build is locked at 44100Hz playback regardless of original encoding.

  • At 8:56 AM, Blogger Tech3099 said…

    Dude....it's going to be so awesome to be able to listen to Shoutcasts..

    I play Matrix Online alot and there is a Shoutcast station called Awakenedradio which was created to give us up to date news of the Matrix...SOO...now I'll be able to be up to date everywhere I go !!

    Muchos Gracias Raf

  • At 9:30 AM, Blogger Gary13579 said…

    Hey Raf, great job, I have been waiting a long time for something like this.

    Now what this thing could use is a type of web interface that could be used to control the server while on the PSP.
    This would be hard, but it is possible.

    SAM2 (really good streaming program, google for it) uses a MySQL backend, and can be controlled easily by using a PHP/CGI interface. Maybe offer something like this, but slimed down?

    I look forward to future releases, and again, great job :D

  • At 11:39 AM, Blogger raf said…

    Thanks, waited for such an app long enough to decide to whip it out myself :)
    1-vote for features, got it.
    0-for gui

  • At 11:41 AM, Blogger raf said…

    chris: Thanks!.
    I will be releasing the source shortly.
    I use subversion for revision control, but I don't think it'd be a good idea to direct people to my home apache server. If someone can provide hosting, It'd be appreciated.

  • At 11:48 AM, Blogger raf said…

    curious: Glad to been able to save you -240 bucks!
    2-votes for streaming enhancements so far
    0-for local playback.. (I coded the local playback more than anything to test the code (decoder, threading priorities, etc))..
    1-save live stream to ms (hadn't thought of that! that's an idea...
    1-metadata display (I've been investigating this, and I should be able to get it working no prob).
    --As far as "bookmarks" go I think support for playlists should cover that, don't you agree? I have support for v1 playlists already working.
    1-vote for GUI enhancing - by using skins. (I've been thinking about this too, maybe supporting winamp's or xmms format).
    1-shoutcast stream browser
    I have also thought about the possibility of video streaming, it's definitely on the back burner..

    Thanks for the suggestions!

  • At 11:49 AM, Blogger raf said…

    1-vote for fixing socket
    2-votes(so far) for gui enhancement.

  • At 11:55 AM, Blogger Yatahaze said…

    This is one of the best homebrew apps so far. Thanks! A really nice feature would be to include winamp control. If I run my own Shoutcast stream on my computer so I can listen to it on another stereo somewhere in the house it would be nice to change songs and/or browse them. I dont know if it's possible, but probably the best idea is just to make the program send commands to the Browseamp plugin for winamp.

  • At 11:56 AM, Blogger raf said…

    -Thanks for pointing that out. I knew that it shouldn't work, but I never really tried it. Could you point me to a stream at 22k? (I need to do 1:2 downsampling, and 1:4 for 11k streams) It shouldn't be to bad to get done, though.
    But that is correct, right now, PSPRadio only supports 44KHz streams...

    tech3099: thanks for the compliments. Remember that the project is in alpha stage, and it may not work with newer shoutcast servers, though.. let me know...

    Gary13579: Thanks!
    >Now what this thing could use is a type >of web interface that could be used to >control the server while on the PSP.
    >This would be hard, but it is possible.
    I'll be sure to release the sources soon, so people can start adding "plugins" or extra features; this sounds like an excellent idea for a side-project.

  • At 12:00 PM, Blogger raf said…

    Yatahaze: Thank you!!,
    Yes, this goes along with what gary was saying. I'm sure it could be done; but I'll concentrate on the core application, and leave it up to the community to do enhancements like this..
    I don't personally run a shoutcast server, but I perfectly see how this would be useful.
    If nobody does this, I'll think about doing it myself, but again, I'll give priority to the other issues people are asking for.

    BTW, if anybody knows about a subversion hosting service, something like sourceforge, let me know, maybe I'll put all my sources available to the world like that; that should encourage other developers to help too.

  • At 1:32 PM, Blogger Curious said…

    Here's a link to a 22KHz stream (a news station):

  • At 9:29 PM, Blogger Yatahaze said…

    How do you use this v1 playlists feature?

  • At 10:04 PM, Blogger Anderskotten said…

    Thank you for your work! This looks promising. :) I hope the next version will feature a selection system, so you can have settings for more than one radio station in the config file. Shouldn't be too hard to fix, right? :) Make the app useful first, iron the bugs out later. The more handy it is, the more people will use it. And more users (hopefully) means more good bug reports. :D I'm rooting for you anyways.


  • At 3:08 PM, Blogger mr.vibez said…

    1 vote for stream browing! plus a vote for video streaming :D

  • At 3:22 PM, Blogger raf said…

    >How do you use this v1 playlists feature?
    This is not in the current version; it will be in the next version. (.pls support).

    Yeah, the next ver will have playlist support. No browsing yet, but you'll be able to "navigate" by using L and R shoulder buttons.

    >1 vote for stream browing! plus a vote for video streaming :D
    Got it! Thanks..

  • At 6:28 PM, Blogger Delux said…

    Looking forward to reading more great info on your blog, I added you to my favorites and will be checking back often.

    My site is about best web hosting company

    If you have an interest in best web hosting company I would love to hear what you think of my site.

  • At 7:50 AM, Blogger Turnkey Builder said…

    Get unlimited webhosting at professional web site hosting services

  • At 12:55 PM, Blogger Emerald Web Hosting said…

    Hey, you have a great blog here!

    I have a hosting page service web site. It pretty much covers ##WEB HOSTING## related stuff.

    We have business and personal web hosting packages. No setup fees. Low cost domain registration, SSL certificates, merchant accounts and web design.

    Come and check it out if you get time.

  • At 5:07 AM, Blogger nope said…


    I'm sorry for being intrusive in to your blog. But I am Melissa and I am a mother of two that is just trying to get out of an incredible financial debt. See my hubby is away in Iraq trying to protect this great country that we live in, and I am at home with our two kids telling bill collectors please be patiant. When my husband returns from war we will beable to catch up on our payments. We have already had are 2001 Ford repossessed from the bank, and are now down to a 83 buick that is rusted from front to back and the heater don't work, and tire tax is due in November.

    I'm not asking for your pitty because we got our ownselfs into this mess but we would love you and thank you in our prayers if you would just keep this link on your blog for others to view.

    God Bless You.

    Melissa K. W.
    To see my family view this page. My Family

    Full Software Download - Get full access to thousands of applications!

    Restore, Fix & Clean Up Your Registry Files and Errors in Windows. Does your PC crash, is your system running slow or are you receiving regular error messages? This program will scan your system registry and hard drive for invalid file and system references for free. These invalid references cause system instability, PC errors, constant crashes, and general system slowdowns.

    XoftSpy - The Latest in Anti-Spyware & Adware Technology

  • At 1:30 AM, Blogger Publisher said…

    Came across your blog by pure accident but thought whilst i was here i could tell you about this video web hosting site i found.

    Check it out when you have time as i'm sure you could find all kinds of info to suit your needs some time.

  • At 1:55 AM, Blogger Charlie said…

    Hey raf

    I ran acrossed your blog and PSPRadio 0.1a WIP caught my eye. I thought I would stop and take a look.


    check out streaming video software

  • At 11:46 PM, Blogger Publisher said…

    Came across your blog by pure accident but thought whilst i was here i could tell you about this best free video hosting site i found.

    Check it out when you have time as i'm sure you could find all kinds of info to suit your needs some time.

  • At 3:00 AM, Blogger Anthony said…

    Hi raf

    When I saw PSPRadio 0.1a WIP I had to read a little more.


    check out streaming audio video

  • At 2:37 AM, Blogger Tiesha said…

    Hi raf

    Why did you pick PSPRadio 0.1a WIP as a title for this post?


    live stream video help

  • At 12:35 AM, Blogger webmaster said…

    As a top-rated company in the world of ecommerce, Infyecommercesolution has carved out a niche for itself and with the ecommerce solution provided by the company receiving accolades from clients all over the world, it has, in the true sense of the word, grown up to be a top-notch outsourcing software development company. For details on all the services provided by the company, visit http://www.infyecommercesolution.com.


Post a Comment

<< Home