Raf's PSP Development

Monday, September 26, 2005

PSPRadio Version 0.32b

OK, I think I got most of the worst bugs fixed. Give it a try and let me know..
Please download from one of these mirrors:
gbazone, pspupdates, http://psp-news.dcemu.co.uk/pspradio.shtml

PLEASE UPDATE YOUR CONFIG FILE. AT LEAST THE LOG_LEVEL ELEMENT
Or logging could fill up your memory stick!

Mirrors should follow..

Thanks,

Raf.

PS: from whatsnew.txt:
0.32b
-Reports of sound skipping on 0.31b. Looking at the code, I realize I forgot to do something when processing metadata.
Hopefully this is corrected now.
-Solved the problem with threads not logging. I needed to use an absolute path to the log file.
-Change your LOG_LEVEL to 50, (or more), so that it doesn't fill up your ms.
-Metadata is only logged (to log file) when it changes.
-Metadata should update faster on the screen now.

PS: (If all fails, only then try here)

37 Comments:

  • At 1:50 AM, Blogger Derek Rydall said…

    Nice blog -- not boring like so many of them! If you're interested, check out my site on and .

     
  • At 2:01 AM, Blogger HALFAST II said…

    Looking good so far will play a bit in the morning with it and will be straeming with it as long as i can tomo at work..

    Thanks again...

    (HINT HINT) Think Screen display Wink Wink...

    Enjoy...

     
  • At 2:16 AM, Blogger gbazone said…

    As usual:

    http://www.gbazone.com/psp/PSPRadio0.32b-with-icons.zip

     
  • At 2:56 AM, Blogger HALFAST II said…

    This comment has been removed by a blog administrator.

     
  • At 2:59 AM, Blogger HALFAST II said…

    This comment has been removed by a blog administrator.

     
  • At 3:02 AM, Blogger HALFAST II said…

    If anyone is curious here are some of the support files the playlist config file and the log files one with the error level set to 80 and the other set to 0

    Just for kicks

    PLAYLIST My Exampile
    Config File with some more notes added
    Log file with loging set to 0
    Log File with loging set to 80

    You will note the diff in size it loging set to 0 it can get big fast.. 80 just about turns it off..

    Great work RAF looking real nice..

    Thanks again Off to bed now.. 11:56pm my time GMT -8

     
  • At 3:32 AM, Blogger Yatahaze said…

    This version no longer works with the SliMP3 server. When you play the URL, nothing is supposed to happen but it still plays, this version it says "error" and doesnt play it.

    If the player is not playing, you cant add music to the playlist and play it. I'm not sure which version this stopped working with because ive only tried one or two versions.

     
  • At 4:20 AM, Blogger HALFAST II said…

    Yatahaze said...

    Try Setting your Logging to 0 and then delete the current log file from your mem stick

    Start the player off attempt to play your stream and then stop it and copy the log file to your computer. (preserve it) this way you will have a clean log file that raf could look at if needed.

    May be some hints as to what failed in the log file.

     
  • At 6:28 AM, Blogger djchoisum said…

    Does this homebrew support more than 1 Wifi connection? Since this prog only support static IP right now, can I set up 2 connections on the PSP with 2 differnet IP(example: my home and my gf's house) and have the prog detect the availble one?

     
  • At 11:15 AM, Blogger HALFAST II said…

    It does in the sence that you can change the connection number in the config file. but you would have to change that manually. So it does but not automaticly maybe that could go in as an inhancment it would be nice if you coluld pick the config profile on the fly Raf what do you think can this be added to the list of to-do's

     
  • At 11:30 AM, Blogger TheMultinational said…

    This comment has been removed by a blog administrator.

     
  • At 11:31 AM, Blogger TheMultinational said…

    Any thoughts on multiple playlists?

    -Harbinger

     
  • At 11:32 AM, Blogger wraggster said…

    Both files mirrored along with all versions released at my PSP Radio Mirror page at PSP Emulation News here --> http://psp-news.dcemu.co.uk/pspradio.shtml

     
  • At 12:21 PM, Blogger lewisingals59383547 said…

    i thought your blog was cool and i think you may like this cool Website. now just Click Here

     
  • At 12:29 PM, Blogger raf said…

    halfast ii:
    I'll do the screen display thing soon. :)
    Just want to get it stable first...
    Thanks for your log files, I found something already by looking at them (The response "IET ..." instead of "ICY" tells me that I need to really clean the receive buffer before calling the receive function.)

    yatahaze:
    > This version no longer works with the SliMP3 server.
    Could you point me to a stream running on a SliMP3 server? It could be that it doesn't like the request to send metadata. (I wasn't doing this on versions before 0.3)

    halfast:
    No need to delete the log file after changing the log level, as I delete it every time the app starts (so it doesn't grow TOO big even if set as 0).

    harbringer:
    Once I have the gui running, I'm going to allow to select files/playlists from it. The code is set up to allow doing stuff like that, It's just not being used yet..

    wraggster, gbazone: Thanks guys for the mirrors.

     
  • At 12:40 PM, Blogger Handojin_UK said…

    Hi Raf...

    This one looks to be my favorite version yet :)

    It all seems to work fine (I have 5 or so stations in my playlist... They all work great!)

    OK, so now we have a stable version that can play multiple stations... Here are my thoughts about future feature upgrades:

    . A GUI is an obvious one, but as I've said before, not essential. A tidy text based program that works well will do.

    . The ability for the program to read all standard .pls files in a directory. Users will then be able to get the .pls file from the radio stations's website (or copy it out of iTunes) and then stick it onto their MS0. Much more user friendly than ripping out the URL from the station .pls to put into your .pls... I'm just thinking about the average joe here.

    . As previously mentioned, the ability to switch between multiple WiFi Profiles from within the program will go a long way to helping this program be truely portable. Users will then be able to set up a WiFi Profile for each of their locations (Home, Work, Girlfriend's etc).

    . I'm not sure if it's possible or even legal/moral, but how about the ability to record streams to the MS0? That would be very very very cool! You could get around the lack of keyboard input by just naming the file "current-date-and-time".mp3.

    . While we're still on a text based set up, could you remove the 'StreamTitle=' and ;StreamURL='';' text from the MetaData (and maybe even rename "MetaData" to "Now Playing"?).

    Anyway, there are some ideas... I hope they help?

    For now, thanks for making it work, it's very much apreciated! :)

    Cheers

    Josh

     
  • At 1:17 PM, Blogger raf said…

    Handojin_UK:
    So glad to hear that this version is working better for you; as I wasn't 100% positive that I had fixed the problem :)
    OK, OK, I'm going to clean up the text based gui - starting today :)

    Raf.

     
  • At 1:58 PM, Blogger HALFAST II said…

    Raf, Now im sure your mom and dad told you never give into peer presure... But thank you...

     
  • At 1:58 PM, Blogger medo145 said…

    how do you change the wifi profile to the second one? just change the PROFILE = 0; to PROFILE = 1; or PROFILE = 2; or something else. thanx

     
  • At 2:20 PM, Blogger Handojin_UK said…

    Medio:

    0 is for the first profile
    1 is for the second
    2 is for the third

    etc...

    Cheers

    Josh

     
  • At 2:20 PM, Blogger godster said…

    Hi Raf/guys,

    Still cannot resolve the issue with no sound despite network connection.

    I have tried the latest version of your app and copied the log produced as below. Maybe this will help decipher the problem for myself and other in the same boat:

    PSPRadio.cpp<100>: --------------------------------------------------------
    PSPRadio.cpp<100>: PSPRadio Version 0.32b Starting - Using Loglevel 0
    PSPRadio.cpp<50>: Enabling Network
    PSPRadio.cpp<50>: Enabling Network: Done. IP='192.168.2.5'
    PSPSound.cpp<10>: PSPSound Constructor
    PSPSound.cpp<10>: PSPSound Initialize()
    PSPSound_MP3.cpp<10>: PSPSound_MP3 Constructor
    PSPRadio.cpp<10>: Playlist file defined ('mixed.pls'), loading.
    PSPRadio.cpp<50>: Adding 'http://64.236.34.4:80/stream/1025' to the list.
    PSPRadio.cpp<50>: Adding 'http://64.236.34.67:80/stream/1011' to the list.
    PSPRadio.cpp<50>: Adding 'http://129.16.159.166:8000/' to the list.
    PSPRadio.cpp<50>: Adding 'ms0:/PSP/MUSIC/DANCE/demo.mp3' to the list.
    PSPRadio.cpp<50>: Adding 'ms0:/PSP/MUSIC/DANCE/01-Shape_UK _ Lola's Theme.mp3' to the list.
    PSPRadio.cpp<50>: Adding 'ms0:/PSP/MUSIC/DANCE/whisper.mp3' to the list.
    PSPRadio.cpp<50>: Adding 'ms0:/PSP/MUSIC/DANCE/believe.mp3' to the list.
    PSPRadio.cpp<50>: Adding 'ms0:/PSP/MUSIC/DANCE/sparkless.mp3' to the list.
    PSPSound_MP3.cpp<10>: PSPSound_MP3. SetFile(http://64.236.34.4:80/stream/1025) called
    PSPRadio.cpp<10>: Exiting Setup()
    PSPApp.cpp<50>: Run(): Going into main loop.
    PSPSound.cpp<10>: Play(): Creating decode and play threads.
    PSPSound.cpp<50>: Starting Play Thread.
    PSPSound.cpp<50>: Starting Decoding Thread; putting thread to sleep.
    PSPSound.cpp<10>: Awakening Decoding Thread; calling Decode().
    PSPSound_MP3.cpp<50>: MP3 Decode(): Calling Open For 'http://64.236.34.4:80/stream/1025'
    PSPRadio.cpp<50>: Triangle Pressed. Restarting networking...
    PSPSound_MP3.cpp<10>: PSPSound_MP3. SetFile(http://64.236.34.67:80/stream/1011) called
    PSPSound_MP3.cpp<10>: PSPSound_MP3. SetFile(http://129.16.159.166:8000/) called
    PSPSound_MP3.cpp<10>: PSPSound_MP3. SetFile(http://64.236.34.67:80/stream/1011) called

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

    So here is some thing that is a bit strange.

    I had no problem at home single network profile.

    I came to work configed a 2nd profile and it stoped streaming.

    I deleted the home setting an left my work setting..

    Still no streaming just stated that it was oppening..

    So i changed the ip address from .60 to one above my current dhcp ip.. I belive it has to do with my comcast router and how it issues ip's and routes.

    I will play a bit more later and let you know if i can duplicate my problem...

    Thanks

     
  • At 3:33 PM, Blogger snackmaster said…

    Love the prg! Left $5. If you can
    make it easy to choose different
    wireless configs, I would be grateful,
    cuz I could easily listen at home
    and school.

    Keep up the good work!

    -Shifty, from PSPKick!

     
  • At 4:31 PM, Blogger jaypsp said…

    This comment has been removed by a blog administrator.

     
  • At 4:32 PM, Blogger jaypsp said…

    Can you manually change the radio stations it plays, or is set only to the dance stations?

     
  • At 4:42 PM, Blogger The HMA said…

    hello,
    i cant seem to connect to the network, i have tried at home and at work, where there is a wireless base station (linksy i believe), then it soon freezes my psp.

    i have firmware 1.5 and run tons of other homebrew games fine.

    anyone else have this problem? any solutions?

    thanks!
    mike

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

    jaypsp said...
    Can you manually change the radio stations it plays, or is set only to the dance stations?

    4:32 PM

    Use the left and right trigger buttons to scrool the list

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

    Raf if i miss lead anyone slap me till i get it right. I hope the more i can help the more you can program HAHAHAHAHAHA

     
  • At 5:48 PM, Blogger PSPCrack said…

    hey raf, great job buddy, love your app, can you please send a copy to pspcrack.tk on your next update. works perfectly. one tip for your prog is, there are many noobs out there saying it doest work, one thing to do is in your guide (the doc added in your 0.3b version) just add " goto Start>Run>cmd then type in ipconfig/all that will give them all the answers they need to set up a static ip.

     
  • At 5:55 PM, Blogger jaypsp said…

    Thanks, but what i meant was, how do i put in my own stations (which i figured out) but i do not know how to obtain the URLs. Any place have a listing for them?

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

    "jaypsp said...
    Thanks, but what i meant was, how do i put in my own stations (which i figured out) but i do not know how to obtain the URLs. Any place have a listing for them?
    "

    What i do is to start out at the http:www.shoutcast.com sight on the left is a row of buttons Yello w i belive.

    I right click on then and down load the playlist.pls then open it in notepad and copy theurl to the stream from there.

    It is a bit of work and thre is probly a simpler way to do it but i tend to preview in winamp and then copy the streames I like.

    How about it any one else have a better method..



    PSPCrack said...

    Ya i was going to elaborate on that doc I walked a user through setting up his today he was having problems like many of the others out here. So i figured i would walk then the long way aroung getting the info they need to config the wireless settings. I (like today) found out having the person run a ipconfig is not always going to work. Thios persons PC was on a diffrent network than the wireless and he was pulling a public IP. So I will add to the doc how to find out what your PSP thinks it should have by using the DHCP settings to root out a ip and defualt route then have then add that into the static profile. I should have that done this evening if all goes well. (War Departnmet may want to go to the zoo or something again Grin...)

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

    The button is actuall called tunein

    the file you will download is named shoutcast-playlist in most cases just open it in edit save it then open it in note pad

    the file contents will look like this

    [playlist]
    numberofentries=5
    File1=http://64.236.34.196:80/stream/1040
    Title1=(#1 - 1164/14890) CLUB 977 The 80s Channel
    Length1=-1
    File2=http://64.236.34.97:80/stream/1040
    Title2=(#2 - 1123/14004) CLUB 977 The 80s Channel
    Length2=-1
    File3=http://64.236.34.67:80/stream/1040
    Title3=(#3 - 1221/14685) CLUB 977 The 80s Channel
    Length3=-1
    File4=http://64.236.34.4:80/stream/1040
    Title4=(#4 - 2382/12778) CLUB 977 The 80s Channel
    Length4=-1
    File5=http://205.188.234.66:8010
    Title5=(#5 - 20/20) CLUB 977 The 80s Channel
    Length5=-1
    Version=2


    i just grab the info after the FILE#='s line and past itnot my playlist.pls

     
  • At 6:33 PM, Blogger mr.vibez said…

    >jaypsp said...

    > Thanks, but what i meant was, >how do i put in my own stations >(which i figured out) but i do not >know how to obtain the URLs. Any >place have a listing for them?




    I got this from ipconfig/all


    IP Address. . . . . . . . . . . . : 192.168.1.102
    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.206
    Subnet Mask 255.255.255.0
    Default Router 192.168.1.1
    Primary DNS 194.168.8.100
    Secondary DNS 194.168.4.100

    I've also tried setting the Primary DNS to 192.168.1.1 & it still hangs on opening.

    I tried a few psp web browsers & they work just fine. I cant see why psp radio hangs... unless there is a port I have to forward on my router?

     
  • At 6:39 PM, Blogger jaypsp said…

    it may not be the best idea to share your ip over the net, but i dont really know. halfast ii, thanks man. I found a buttload of stuff on there. Thanks Raf for the app and halfast ii for the swift info!

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

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


    The correct config for the PSP would like this based on my tests

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


    IP Address 192.168.1.16 is below the range of the the roters DHCP and should not be used in most home setups.

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

    Primary DNS 194.168.1.1

    should have been

    Primary DNS 192.168.1.1

     
  • At 8:09 PM, Blogger raf said…

    >godster:
    > Still cannot resolve the issue with no sound despite network connection.
    >PSPSound_MP3.cpp<50>: MP3 Decode(): >Calling Open For >'http://64.236.34.4:80/stream/1025'
    >PSPRadio.cpp<50>: Triangle Pressed. >Restarting networking...
    >PSPSound_MP3.cpp<10>: PSPSound_MP3. >SetFile(http://64.236.34.67:80/stream/1011) >called
    Looks like you pressed the triangle right? It looks like it was stuck at (Opening), when that happens in the current version, you need to restart the app.... I'm looking into it.

    >HALFAST II said...
    > I came to work configed a 2nd profile and it stoped streaming.
    I need to try it..


    Noah said...
    > Love the prg! Left $5. If you can
    Thank you!! Please go to the forum and vote your preference..

    HALFAST II said...
    > Raf if i miss lead anyone slap me till i get it right. I hope the more i can help the more you can program HAHAHAHAHAHA
    You're absolutely right! Thanks man!.

    PSPCrack said...
    >I should have that done this evening if all goes well.
    That'd be great! Thanks.


    Guys, please continue discussions on the forums, so it can be more organized.. Thanks!

     

<< Home