Raf's PSP Development

Saturday, September 24, 2005

Upcoming version...

Time to go to bed, but wanted to share that I got the metadata retrieval working!. I also fixed the app so that it will support URLs missing a path.
I also added support for comments in the playlist.
I still need to fix the problem where an invalid file is listed in the playlist, causing the app to die.
I'm also looking at the possibility of supporting more samplerates.. but it's not a trivial problem to solve.. there's some libraries that will do it, though. I'll try to get one to compile for the PSP....

Raf.

43 Comments:

  • At 4:40 AM, Blogger mr.vibez said…

    raf

    YOU SAID

    " mr.vibez: Is that what is called? Sorry, don't have my PSP with me. How about the DNS? Also make it point to your router.
    I did see your screenshot, it shows the PSP using 192.168.1.106 for it's IP, which looks fine to me.
    The fact that PVNC works is not really that useful, because your PC is on your same subnet so you're not going out the router. (Unless your PC running the VNC server is outside your network)
    I'll try to add more error checking, logging in future versions.
    The other thing is the fact that I haven't had a chance to integrate NetBSD's socket files, to be able to setup timeouts..."



    I'm afraid that didnt work either

     
  • At 4:58 AM, Blogger mr.vibez said…

    This comment has been removed by a blog administrator.

     
  • At 5:00 AM, Blogger mr.vibez said…

    Here are my settings from running ipconfig/all

    Dhcp Enabled Yes
    Autoconfiguration Enabled Yes
    IP Address 192.168.1.100
    Subnet Mask 255.255.255.0
    Default Gateway 192.168.1.1
    DHCP Server 192.168.1.1
    DNS Servers 194.168.8.100 194.168.4.100

    ------------------------------------

    This is how my psp is setup...


    IP Address 192.168.1.106
    Subnet Mask 255.255.255.0
    Default Router 192.168.1.1
    Primary DNS 194.168.8.100
    Secondary DNS 194.168.4.100


    Can you see any obvious reason why your app doesnt get any further than the 'opening' message & no sounds

    1:58 AM

     
  • At 6:07 AM, Blogger deadlock32 said…

    AWESOME = ]

    i got it working after testing my network connection on the psp b4 running the program.

    so dont just go right into the program, test then network first. (dunno if its a solution but it worked for me)

    ok, i luv this idea so much if you need help with some graphics/pics for it in the future do not hesitate contacting me.

    -deadlock32

     
  • At 6:08 AM, Blogger deadlock32 said…

    gltovar[at]sbcglobal.net

     
  • At 6:53 AM, Blogger mr.vibez said…

    "i got it working after testing my network connection on the psp b4 running the program."


    didnt work for me :(

     
  • At 7:03 AM, Blogger godster said…

    No joy here either, really bugging me now as i'm sure its something relatively simple?!

     
  • At 7:08 AM, Blogger SystemX said…

    Hey Raf Maybe you can help me out, I cannot connect to this address http://64.236.34.4:80/stream/1025 Which is di.fm Ive tried all there streams with no luck.I get a CPSPSoundStream :: OpenFile-Error oepning URL. Error opening 'http://10.1.1.6:80'. I also tried setting up shoutcast on my own computer and My brother on his computer can tune in fine but the PSP also gives the same error as above. Your help is most appreciated.

     
  • At 7:56 AM, Blogger wraggster said…

  • At 9:08 AM, Blogger Billy Lindeman said…

    please post the source code :(

    if you need that svn still try contacting ps2dev.org about putting it in their pspware repository.
    (svn.ps2dev.org)

    i'd really love to see the source code :)

     
  • At 9:20 AM, Blogger Curious said…

    Thanks for the updated version. It's great to have a working playlist.

    I wasn't able to connect to a couple servers, including the 22KHz I wanted to try. I'm guessing the ones I tried might be running the version of Shoutcast that you said isn't working yet.

    I had one lockup/reboot when my wireless connection dropped out. Maybe you can add checks to prevent lockups when the wireless connection is lost.

     
  • At 10:45 AM, Blogger negrito said…

    This comment has been removed by a blog administrator.

     
  • At 10:48 AM, Blogger negrito said…

    hey man
    Good job.in the future can u make one called PSPTV and have it support video/nsv ? that would be so cool cuz my friend braodcast movies from his server everyday !
    thanks

     
  • At 12:37 PM, Blogger Bloggers Review said…

    You have a nice blog. I'll let folks know about it, OK?

    AWSOME Organic Gardening
    website. It contains very cool stuff about Organic Gardening.
    Please come and check it out. Enjoy!

     
  • At 12:39 PM, Blogger raf said…

    mr.vibez:
    >This is how my psp is setup...
    > Primary DNS 194.168.8.100
    > Secondary DNS 194.168.4.100
    Could you try setting one of your DNS servers as your router IP (ie 192.168.1.1) I don't know wher you're getting those 194.XX IPs, that's weird, unless your windows box has some network alias setup and some sort of dns server...
    What is the URL you're trying to connect to?


    deadlock32 said...
    > AWESOME = ]
    Thanks!
    > ok, i luv this idea so much if you need help with some graphics/pics for it in the future do not hesitate contacting me.
    Not there yet, but I'll keep that in mind, thank you!

    SystemX said...
    > Hey Raf Maybe you can help me out, I cannot connect to this address http://64.236.34.4:80/stream/1025

    I'll give it a try and ley you know.

    wraggster said...
    > Raf heres another mirror http://psp-news.dcemu.co.uk/pspradio.shtml

    Thanks!

    Billy Lindeman:
    > please post the source code :(
    I will!! It's just two things right now:
    1- It's not stable enough(meaning that I'm still refactoring the core classes a lot)
    2-No public repository yet. I'll contact the ps2dev guys, thanks for the idea.
    >i'd really love to see the source code :)
    You say that now :)

    Curious:
    > Thanks for the updated version. It's great to have a working playlist.
    Thank you. Still working on it on every free minute I get..

    > I had one lockup/reboot when my wireless connection dropped out. >Maybe you can add checks to prevent >lockups when the wireless connection is lost.
    I have them, it's just that I still haven't been able to successfully kill non-responding/blocked threads..

    negrito:
    Maybe one day...

     
  • At 1:45 PM, Blogger mr.vibez said…

    >Could you try setting one of your DNS >servers as your router IP (ie >192.168.1.1) I don't know wher you're >getting those 194.XX IPs, that's >weird, unless your windows box has >some network alias setup and some >sort of dns server...
    >What is the URL you're trying to >connect to?

    RAF:

    I tried setting me dns to my router's IP 192.168.1.1 & that didnt work either. those 194.xxx.xxx.xxx numbers are the dns servers of my ISP. I was told that we needed them in?


    Is there anthing else I can do to verify my setup, so we can rule out that it is your app that is causing the problems

     
  • At 1:50 PM, Blogger mr.vibez said…

    Raf,

    do you use msn messenger, irc or any chat program that we can talk through my setup.

     
  • At 1:59 PM, Blogger raf said…

    mr.vibez: Sorry, don't IM. Have a VERY busy life, with a two year old to look after, and a working wife. So, I just work on this on every free minute here and there.
    What server are you connecting to?

     
  • At 2:10 PM, Blogger JD said…

    Great work raf. love the first version and the second seem great as well. i already know that you are aware of the problem streaming off an ip that doesn't have a file extention off of it ex xx.xx.xx.xx:xx with no /stream.mp3 at the end. i know will give us v.03 with this working perfectly fine, but i ask is how would you go about pointing it to read a mp3 off of a computer on your local network? i think i am probally just looking over it too much as to figure out how easy it probally is!

     
  • At 2:14 PM, Blogger mr.vibez said…

    This comment has been removed by a blog administrator.

     
  • At 2:18 PM, Blogger mr.vibez said…

    No worries raf.

    Ok no worries.

    I'm trying the defalt stream & I also tried a few other random streams I found. They all act the same. The streams work on my pc.

    FILE=http://64.236.34.67:80/stream/1011;


    by the way. This is the guide I used to setup my network settings. Is this method compatible with the pspradio?

    http://www.psphacks.net/forums/viewtopic.php?t=2939&highlight=pvnc

     
  • At 2:25 PM, Blogger JD said…

    ok i lied now it is working for me with out a file at the end of an ip for streaming dont know if it was a fluke or not?!?

     
  • At 2:42 PM, Blogger HALFAST II said…

    I'm trying the defalt stream & I also tried a few other random streams I found. They all act the same. The streams work on my pc.

    FILE=http://64.236.34.67:80/stream/1011;


    by the way. This is the guide I used to setup my network settings. Is this method compatible with the pspradio?

    http://www.psphacks.net/forums/viewtopic.php?t=2939&highlight=pvnc


    maybe later to day we can hook up and work this out for you. I have a list of things we could try but im am sure it is a minor configuration problem on your end (Or at least I hope so) but I would be willing to spend some time with you to see if we can make it work.

    I have a Linksys router and i set my PSP up for it just a RAF has said works fine for me. But do you run a WEP Key and have you verfied that that is set correctly

    At the end of configureing your PSP are to getting a successfull test and connection to the internet? You are setting the IP Manually? (Not DHCP) Anyway looks like you have been trying a few things with out luck if can help I would be glad to.

    Paul

     
  • At 2:43 PM, Blogger Billy Lindeman said…

    raf: i want to see the code because im interested in helping out. about a month back i started a project with the EXACT purpose of pspradio but i never really got off the ground. i'd like to help out with coding. iwas thinking of coding a gui using sdl for this app.

    me@madskillz.cc if you COULD email me the source ;p but i bet you'll have it on ps2dev's svn in no time

    sorry aobut being pushy im just kinda anxious

     
  • At 2:56 PM, Blogger mr.vibez said…

    Paul,

    That would be great if we could hook up. I have a linksys too. Yes the test completes just fine & it says I can connect to the internet, although I haven't actually tested it with any browsers. But it did work for PVNC. Roughly what time do you want to hook up? I'll be online for about the next 4-5hrs. email me at mr.vibez[at]gmail[dot][com] with your prefered chat program.

    By the way, I have had an idea

     
  • At 3:13 PM, Blogger raf said…

    Billy Lindeman:
    As soon as I have a min, I'll send you a copy of the sources, but remember, I'm using a OO Framework I developed, and it's still not finalized, so if you write something for the current sources, it may not work after I do some more refactoring. We'd need to be in sync on what and how to do things. Hopefully, you are an OO programmer as well; as I don't want to extend the app with procedural-only code.
    We'll talk more over email.

    Raf.

    mr.vibez, HALFAST II: Please post your findings so other people can benefit from them.
    Thanks Halfast for being so cooperative, and willing to help, the scene needs more people like you.

     
  • At 3:19 PM, Blogger raf said…

    systemx:
    http://64.236.34.4:80/stream/1025
    plays fine on the new upcoming version (0.3b).

     
  • At 4:34 PM, Blogger SystemX said…

    raf said...

    systemx:
    http://64.236.34.4:80/stream/1025
    plays fine on the new upcoming version (0.3b).

    Your the best bud, And any reason why i cant get it to play the shout cast server im runing localy ?

     
  • At 4:36 PM, Blogger wraggster said…

    Hi Raf, if you want me to host the release the moment you release it i can mirror it on my page and if you have any cool screenshots i can make it a great page for you.

    bluebolshi@hotmail.com is my addy

     
  • At 4:56 PM, Blogger HALFAST II said…

    mr.vibez,

    Sent you a mail with mu IM name let me know when you can work on this I just got done whatching a movie with the wife. So i have some free time now.

     
  • At 5:50 PM, Blogger HALFAST II said…

    I have this in a word doc as well. I would like to expand this with a detailed explination of the Config file if RAF Does not mind.



    [Using a Static IP on your PSPRadio]

    **Note**
    If you are having problem getting things to work and you have more than one network configuration set up you may want to delete all of them and start from scratch.

    This is just my way of removing all variables and providing a clean slate to work from. If you have no connections configured or you have removed all network profiles and you follow the instructions below you should have no problems.

    Keep in mind there are many things that can cause problems while doing wireless networking most if not all will have nothing to do with PSPRadio but rather your network connection, router configuration, and so on. Please verify that all of these things are correct before blaming the PSPRadio software.

    I say that only because so many persons have this working with no problems. So logic states we should start by looking where PSPRadio has no control. IE. Your home network.

    First of all go to NETWORK SETTINGS on the main menu of the PSP.

    Choose INFRASTRUCTURE MODE.

    Create a NEW CONNECTION if you already don’t have one.

    • PSPRadio allows you to select your connection in the configuration file the first one on this list is going to 0 on the PSPRadio Configuration file the 2nd one on this list will be 1 in the Configuration file and so on.

    • Name that connection if you want and press D-pad right.

    • Choose SCAN and then select you access point you want to connect to. If you are not sure which is yours because there are multiple networks with the same name listed yours will likely be the one with the 100% signal strength. I recommend 3 things for safer wireless networking

    1) Rename your router to some thing you recognize
    2) Change the default admin password
    3) Enable a WEP key even if it is a simple to remember WEP Key like AA00000000 (64bit).

    • If WEP protected enter the WEP Key and press D-pad right.

    • Address Settings - select CUSTOM and Press X Button.

    • IP Address Settings - select MANUAL and Press X Button.

    • Choose an IP Address for your PSP; make sure you pick an IP address that is not in your routers DHCP range. If you are not sure of what these things mean please read your router manual.

    **EXAMPILE**

    IP Address 192.168.1.14
    Subnet Mask 255.255.255.0
    Default Router 192.168.1.1
    Primary DNS 192.168.1.1
    Secondary DNS 0.0.0.0

    press D-pad right to continue.

    • Proxy Server Only use this if your ISP has informedyou to use a proxy setting I set mine to Do Not Use and press the D-pad right.

    • Setting List is just an overview of your current configuration settings for your PSP wireless connection press D-pad right.

    • Press the X Button now to save your settings.

    • Press the X button to test your connection on your PSP.

    You sould see a sreen very simualare to the Setting List screen but it will have some more information on it look for your signal strength should be close to 100%, you should see the royer name (SSID) listed below that, Use your down D-Pad Button till you get to the bottom of that screen you should see a line that say’s Internet Connection (Failed/Succeeded) Obviously we are looking for this to say Succeded.

    • Now it’s better to POWER OFF YOUR PSP and then POWER UP again Go again at NETWORK SETTINGS -> INFRASTRUCTURE MODE and with you connection selected PRESS TRIANGLE A sub-menu will appear. Choose TEST CONNECTION Should have a Internet Connection Succeeded.

    • If everything goes fine Great. If not try this guide from the start.

    • Now the final thing to do is go to POWER SAVE SETTINGS and disable WLAN POWER SAVE. With this on you just loose speed using your wireless connection.

     
  • At 6:02 PM, Blogger HALFAST II said…

    I belive this has been staed before but The stream becomes curupt after putting the PSP into sleap mode and it does not seem to recover it will finnish playing what ever was in the buffer but then features stop working after that.

    Thanks again. I wish we had a comment thread just for bug reports, and a diffrent one for questions and update requests. Hint Hint..

    Paul V

     
  • At 7:53 PM, Blogger mr.vibez said…

    Nice guide HALFAST II

    Sorry, but that is how I have had mine setup in the past & pspradio still wont open the streams.

    My router is offline for the time being. I'll post back when i've managed to figure out how to get it back online

     
  • At 7:59 PM, Blogger HALFAST II said…

    Bummer. That is odd, Lets see what happens after you get the router squared away..

     
  • At 9:44 PM, Blogger Beyond Belief said…

    yo i found a major bug, the psp doesnt charge when running this application. i have verson 0.2. great job by the way, i really like this application.

     
  • At 11:19 PM, Blogger Turbo said…

    that aint a bug dude.. the PSP doesnt ever charge when using WiFi, in any way shape or form

    anyway this program is the best, your the coolest...

    i kant wait till this supports more types of bitrates... if it doesnt bother u kan u make a list of the currently supported, if thats possible?

     
  • At 12:54 AM, Blogger gbazone said…

    I found that when you unplug headphones the stream will freeze sometimes. Raf, I'd be happy to mirror for you again. (my email is jeff@gbazone.com)

     
  • At 10:53 PM, Blogger kalisekj said…

    Hey, I have enjoyed...your blog is informative - even entertaining.

    I have a halloween sites. They pretty much covers costumes and masks related stuff.

    Thanks again and I'll be sure to bookmark you.

     
  • At 4:29 PM, Blogger Adult Personals said…

    This comment has been removed because it linked to malicious content. Learn more.

     
  • At 1:05 AM, Blogger cc Infopage said…

    .

    Hotmail News by www.infopage.cc - Oct. 17, 2005


    Microsoft to Test New Hotmail Interface (AnandTech)
    For those of you that use Hotmail, Microsoft is testing a new user interface for the popular web-based email client: Microsoft is preparing to publicly test its new front end Hotmail, code-named "Kahuna" and simply branded: Mail Beta. The upgrade will support an AJAX-based interface that has been rewritten from the ground up using...

    AOL Offers $299 PC (Connected Home Media)
    Everyone's favorite dominant ISP introduced an intriguing offer this week: Agree to use AOL for a year, and you can purchase a low-end PC from the company for just $299. Although the deal seems like a bid to stem the flow of subscribers eager to get out from under the multicolored, dumbed-down AOL interface, the offer actually appears to be decent, assuming you're not into playing the latest 3-D games. Of course, you can get a decent Dell system for not much more than the cost of the AOL PC plus the service (about $585 when you add it all up).

    Preview of New MSN Hotmail (Slashdot)
    An anonymous reader writes "Here is a Preview of a new MSN Hotmail system, using AJAX. Currently in Beta testing." Most interesting is how the user interface more closely resembles a traditional local application. It's definitely a big step in that direction.

    Free Anonymous Proxies by www.jeepee.biz

    Have a nice day,
    jeepee

    Delivered by Infopage.cc: 30,000 daily updated Information Pages about all kind of subjects

     
  • At 2:37 PM, Blogger #1 Web Design & Get Results said…

    Need A Great Web Site raf, Great post on Upcoming version...!, I have great site to offer the best prices on web design and get great results seattle, maybe give us a call at 404-303-7350

     
  • At 3:00 PM, Blogger #1 Web Design & Get Results said…

    Need A Great Web Site raf, Great post on Upcoming version...!, I have great site to offer the best prices on web design and get great results wales, maybe give us a call at 404-303-7350

     
  • At 10:52 PM, Blogger Mike said…

    hi Raf first of all thank you for the program but there is a big problem I have been trying with the all programs and the newest one and I can't get it to work....my question is are you able to make the program get the ip address the normal way instead of static ip...I'll donate money if possible I value your work thank you....and if the program is not possible to change please can you make a guide to make the psp get the ip address with my linksys WRT300N please...thank you

     

Post a Comment

<< Home