PSP News is a News and downloads site for the Playstation Portable, We have all the latest emulators, homebrew, commercial games for the PSP and all the downloads on this site, we also cover commercial gaming and console news. Part of the DCEmu Homebrew & Gaming Network.

PSP Homebrew

Name = PSP Radio

Authors /Website = Raf

Screenshots

Downloads = PSP Radio v0.36 Final 3rd November 2005

0.36-final (svn.berlios.de/svnroot/repos/pspradio/Releases/PSPRadio0.36/)
(raf) If AUTOSTART set to 1 in config file, App starts in Options screen, starts the network, then goes back to main screen.
(raf) Lots of cleanup / refactoring
(raf) Now downloads a compressed version of SHOUTcast.com's database instead. Thanks to echto again for providing the routines to do the zlib uncompression, and SHOUTcast.com db download URL service setup, etc!!
(sandberg) Added a particle system as a new background effect for the 3D UI.
(raf) Simplified wifi selection. One option to select profile or turn off.
(raf) Screens are classes now. If going back and forth between screens, they will retain their state.
(sandberg) Added support for taking screenshots. Use the Hold button to take a screenshot. When the LED stops flashing the screenshot is stored in the Screenshots folder (you need to create that folder, if you don't have it already).
(raf) Modified the pspsdk's text rendering system to allow for png backgrounds and transparent text.
(raf) Gave the TextUI a facelift by using backgrounds for the different screens.. This is configurable via the cfg file.
(raf) Fixed bug where if the playlist was empty, garbage was being used when the user pressed X or O.
(sandberg) Added support repeated and long key presses. The repeated key presses are usefull when navigating the playlists.
(sandberg) Moved the screenshot function to be activated on a long key press on Select (appr. 1 second). The screenshot will be taken when releasing the button.
(raf) Backup the db in case the download fails.
(raf) Disabled the HOME menu button for now. To exit PSPRadio, go to Options and select Exit.
(raf) Enabled the CPU speed change option.
(raf) Added 111MHz; which is not useful for MP3, but works for OGGs in the text ui, and can save battery.
(raf) Refactored PSPApp/PSPRadio so that it runs in USERMODE. The drivers for the network and USB are now started from a kernel thread during app construction.
This allows for DHCP to work! (thanks to PspPet and 'benji' for figuring this out.)
(raf) L and R now navigate like Page UP/Down.
(raf) Started adding SHOUTcast.com support
(sandberg) Implemented a VRAM memory manager, so all textures are now loaded from files
into VRAM.
(sandberg) Added full playlist and playlist entries support for the 3D UI.
(sandberg) made 2 minor error correction to the option menu.
(sandberg) Added rendering of the background effect to the option menu.
(jpfouch48) Re-vamped Grapics UI Theme class
(jpfouch48) Cleaned up theme implementation and theme file
(jpfouch48) Created icons for buffer display, network status, and stream status
(sandberg) Implemented support for using the Select(raf: changed to Start) button for entering the option menu.
The triangle button is only used for swapping between the playlist and Shoutcast list.
(raf) Now user needs to press X or O to go from playlist selection over to entries box.
(raf) Fixed crash on exit when logging is 80 or higher.
(raf) Added logging level selection and UI selection in Options menu.
(raf) Added option to download latest database from SHOUTcast.com (this is usable, but still work in progress. -- the app only lets you do this once a minute, not more often. (Shouldn't have to anyway))
(sandberg) Added support for the option menu in the 3D UI.
(jpfouch48) GraphicsUI playlist browser and playlist item browser is now functional
(jpfouch48) Made the text display funtions more modulare to make future enhancments easier
(jpfouch48) Added a unique ItemIndex to the MetaData structure and directorydata structure to make the browsable playlist integration a little bit easier
(raf) Some more work on the OGG decoder.
(raf) Now TextUI will display selectable lists for playlist and playlist entries
(raf) Made the current selections more dynamic so they follow the list.
(raf) Changed user interface for playlist access: User now uses UP/DOWN to select a playlist, then
press X or O to go and select an entry. Navigation in entries box is also with UP/DOWN.
User can also use <- or -> to go back and forth between List and Entries. (need to iron out)
(jpfouch48) Added options screen
(jpfouch48) Updated how playlist scrolls
(jpfouch48) Fixed problem with theme clipping song filename in upper pannel
(sandberg) Added support for displaying the MetaData in the 3D UI.

PSPRadio v0.36 Pre4 26th October 2005

Here is anothe pre-release of PSPRadio, an internet radio client for your Playstation Portable. Changes:
(raf) Enabled the CPU speed change option.
(raf) Added 111MHz; which is not useful for MP3, but works for OGGs in the text ui, and can save battery.
(raf) Refactored PSPApp/PSPRadio so that it runs in USERMODE. The drivers for the network and USB are now started from a kernel thread during app construction. This allows for DHCP to work! (thanks to PspPet and 'benji' for figuring this out.)

Consider this -pre more -pre than -pre3.. I just got this working, but I had to change the way pspradio works internally enough that I may have broken something.. Report issues, though!

PSPRadio v0.36 Pre 3 25th October 2005

(raf) Enabled the CPU speed change option.
(raf) Added 111MHz; which is not useful for MP3, but works for OGGs in the text ui, and can save battery.
(raf) Refactored PSPApp/PSPRadio so that it runs in USERMODE. The drivers for the network and USB are now started from a kernel thread during app construction. This allows for DHCP to work! (thanks to PspPet and 'benji' for figuring this out.)

Consider this -pre more -pre than -pre3.. I just got this working, but I had to change the way pspradio works internally enough that I may have broken something..

0.36-pre2 21st October 2005
(sandberg) Added support for the option menu in the 3D UI.
(jpfouch48) GraphicsUI playlist browser and playlist item browser is now functional
(jpfouch48) Made the text display funtions more modulare to make future enhancments easier
(jpfouch48) Added a unique ItemIndex to the MetaData structure and directorydata structure to make the
browsable playlist integration a little bit easier
(raf) Some more work on the OGG decoder.
(raf) Now TextUI will display selectable lists for playlist and playlist entries
(raf) Made the current selections more dynamic so they follow the list.
(raf) Changed user interface for playlist access: User now uses UP/DOWN to select a playlist, then
press X or O to go and select an entry. Navigation in entries box is also with UP/DOWN.
User can also use <- or -> to go back and forth between List and Entries. (need to iron out)
(jpfouch48) Added options screen
(jpfouch48) Updated how playlist scrolls
(jpfouch48) Fixed problem with theme clipping song filename in upper pannel

PSP Radio v0.36 Pre 1 20th October 2005

Updates to readme and whatsnew for 0.36-pre1
Show artist only if available
Refactoring to allow for oggs to set samplerate. SoundBuffer now gets samplerate from CurrentSoundStream instead of keeping its own copy
Display Artist
Populating more metadata fields for ogg: bitrate, title, artist
Renamed Author to Artist
Moved currentmetadata copy from pspradio to CurrentSoundStream. Also metadata processing from pspradio to pspsounddecoder
Simplified metadata notification
Moved metadata structure from CPlayList to CPSPSoundStream. Get current metadata from CurrentSoundStream using accessors (ie CurrentSoundStream.GetURI() or GetTitle(), etc)
Added support for ogg vorbis streams (files/online streams)
Internal cleanup for the icon drawing. The start/stop buttons are now also drawn as normal icons.
Fixed selection box that was not the propper size
Added network, sound and loading buttons.
Playlist filename added.
Starting ogg decoder. PSPSound will instantiate it. Basing decoder class from MAD decoder. Now need to implement
Added another background object and fixed the lights
Also fix to report stream info (like samplerate) everytime
Also updated readme/whatsnew with what was actually released for 0.35.
Redoing dir by using copy from branch
Making decoder more modular...
More modularization in progress...
Added support for different stream types in preparation for addition of new decoders. It detects the stream type (content type) from filename if local file, or
from content-type: metadata from online stream response. (Some servers don't send the response.. so may want to default to MAD.
Added support for determining content types for ogg and aac.
Now if content type is not defined, it defaults to MPEG. Also added case for AAC (not supported yet)
svn merge -r305:319 branches/OGGSupportAddition to trunk

PSP Radio 0.35-final (r312) 16th October 2005

-Refactored PSPSound/PSPSound_MP3. (lots of things are different. but one thing that is evident to the end
user is that the buffers were reduced by a factor of 5. Next -pre release will allow for the
buffers to be configurable).
-Added basic multiple samplerate support!
Supported rates:
8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000.
Any rate can be implemented, I just need to add it to the code, let me know if other rates are required.
Note that the samplerate conversion is really linear and simplistic, and hence the produced sound will not
be very good. Still, better than nothing.
-UI now displays buffer percentage (instead of in/out number)
-sound buffers configurable in .cfg file. Post your results!
-fixed bug where app would crash on exit if played a stream until end and then exited.
-Now the Text user interface is configurable, look at TextUI.cfg, play and post results!
-now multiple playlists are supported. The playlist configuration changed as well.. Now, you
need to put your playlist files under the PlayLists directory, and don't need to do anything
with the config file.
-The current playlist is selectable by using UP/DOWN
-cleaned up the display of playlist/stream, metadata. as 3 completely independent entities.
-Can browse playlists/entries while playing current stream. (It doesn't stop anymore when changing tracks)
-Refactoring of PSPSound/PSPSound_MP3 -> PSPSound/PSPSoundDecoder_MAD, internal OO changes.
-Thread priorities are now configurable in the .cfg file.
-Added message queue class for inter thread communications and synchronization.
-Revamped comm system for PSPApp (PSPRadio) using message q. This solves the problem with callback messaging
(thread prio boosting/inheritance from caller, overhead on caller thread, etc. -- Also, now polling of buttons/vblank
is done in a separate thread. -- still work in progress --).
-Message queue system renamed to event queue.. Everything is now using this, except for vblank.
-Changes to Logging to show time(in ms) and line numbers.
-Buffer Percentage is updated at 6fps max now (this to not overtax main thread+event handler)
-Now clear metadata on stream stop (including buffer %).
-more internal refactoring...
(sandberg)-Added button support to the 3D UI so it shows play/stop/pause.
(sandberg)-Added hprm (headphone remote control) support to PSPRadio. The keys are mapped to that forward/back
maps to Rtrigger/LTrigger. The Play/Pause button will start playing when stopped and stop when playing.
(jpfouch48)-Text items in GraphicsUI are now configurable thru the theme file.
(jpfouch48)-Cleaned up warning messages in GraphicsUI.
(sandberg) Added graphics for the button commands.
(raf)-sandberg added HPRM support.
(raf)-added handler to have "multiple screens" - currently using for an options screen. Use TRIANGLE to get to options
screen. Only supported by text ui right now.
(raf)-The options menu is the only way for now to select a profile and start the network; so use network autostart in
the config file if using PSPRaio with another UI.
(raf)-Currently network and usb can be started from options screen. Will add CPU speed here also.
(raf)-Only restart stream on stop if different than the current stream
(raf)-(hopefully)Fixed bug where event queue was filling up causing PSPRadio to quit with event 0x31 (decoder done).
(raf)-Only display the filename for playlists now.
(raf)-Ignore buttons while HOME menu is up.

PSPRadio v0.35 pre4 13th October 2005

PSPRadio is an radio internet client for the PSP. Changes:
Added message queue class for inter thread communications and synchronization.
Revamped comm system for PSPApp (PSPRadio) using message q. This solves the problem with callback messaging (thread prio boosting/inheritance from caller, overhead on caller thread, etc. -- Also, now polling of buttons/vblank
is done in a separate thread. -- still work in progress --.
Message queue system renamed to event queue.. Everything is now using this, except for vblank.
Changes to Logging to show time(in ms) and line numbers.
Buffer is updated at 6fps max now (this to not overtax main thread+event handler)
Now clear metadata on stream stop (including buffer).
more internal refactoring...

PSPRadio 0.35-Pre1 6th October 2005
-Refactored PSPSound/PSPSound_MP3. (lots of things are different. but one thing that is evident to the end user is that the buffers were reduced by a factor of 5. Next -pre release will allow for the buffers to be configurable).
-Added basic multiple samplerate support!
Supported rates:
8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000.
Any rate can be implemented, I just need to add it to the code, let me know if other rates are required.
Note that the samplerate conversion is really linear and simplistic, and hence the produced sound will not
be very good. Still, better than nothing.
-UI now displays buffer percentage (instead of in/out number)

PSPRadio 0.34-Pre3 2nd October 2005

What's new:
-Now when pressing L and R, the song only auto starts if the user was currently playing a song.
-Added thread exit synchronization using the semaphore. (Should help make sure the app exits correctly).
-Removed forced network profile code. (As users having problems where able to solve them themselves).
-Tweaked the playlist v2 support so that it (hopefully, test) works with winamp .pls files. (Now I just
ignore the "NumberOfEntries"/"numberofentries" tag.

v0.33b 29th September 2005

Here's version 0.33b of PSPRadio.

What's new from 0.32b:
-Corrected logging, so that it won't double-line feed.
-Added connection timeout so that if the server is not respoding, PSPRadio will timeout after 5 seconds.
-The connection now sends a message (can and will be used for the gui) for now, a '.' is printed every second while trying to connect.
-New option in config file: WIFI-AUTOSTART if set to 0, then the user can select the WIFI profile from inside the app.
-Now reports an error if the user tries to start the network and the switch is off
-Metadata is now parsed
-Network profile selection now is limited to actual configured network profiles, plus it displays the network profile name.
-Reverted resolver ntoa / aton logic, to help ppl with DNS problems.
-UI now completely encapsulated as a separate object, and an interface created that all UI need to follow. - This will allow for multiple
user interfaces to coexist, and to ease transition to GUI.
-Text UI now follows the interface; was also cleaned up a bit during conversion.
-Added exit synchronization, to help prevent crashes on exit. This is done with a semaphore.
-Keeping the loglevel at 20 seems to help prevent the app from crashing on exit also.

Thank you!,

Raf.

PSP Radio v0.32b 26th September (with Icons version)

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

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.

PSP Radio v0.31Beta 25th September 2005

0.31b
-Corrected problem when PLAYLIST not defined in config file.
-Disabled feature to go to next song in list for now.

PSP Radio v0.3beta 25th September 2005

What's new:
-Added support for comments. Use ';' as the first character. (Blank lines are also ignored)
-Now urls with no path work (http://64.202.98.193:8000 didn't work, but http://64.202.98.193:8000/ did. Now both do).
-Now asking the server to send metadata.
-Metadata information is displayed for the current stream.
-Added a logging library
-Integrated logging with everything (framework, app, config)
-Added an event system
-Integrated the event system. This will be useful when the gui is developed.
-When a stream finishes, it goes on to the next on the playlist
-Fixed problem where the last entry in the playlist was getting inserted twice into the list.
-Having trouble getting the threads to log anything..

It's too late now.. and I'm tired, so I'll get the logging fixed for the next release..

PSP Radio v0.2Beta 24th September 2005 / Discuss this release Here --> http://www.dcemu.co.uk/vbulletin/showthread.php?t=11188

This new version has:
-Corrected problem where the app froze when exiting while paused/stopped.
(was caused because threads where suspended/asleep)
-Now can play lower samplerate streams (22K, 11K, etc) let me know well this works, since I only tried it with one at 22KHz.
-Integrated socket header files from NetBSD.
-Socket recv and send timeout set to 3 seconds.
-Corrected problems with httpget that would cause the decoding thread to freeze if the connection failed.
-Preliminary playlist support (version 1). Use the shoulder buttons L (prev) and R (next) to navigate the list.
** This is still work in progress ** Don't expect this version to be perfect, it's just an enhanced 0.1 **

Here v0.1a 22nd September 2005

-I have playlist (v1) support working now.
-If anybody knows of a free hosting service with subversion support (like sf.net but with subversion instead of cvs), please let me know.

Information = I've been working on getting an internet radio client for the PSP.
I want it to support shoutcast servers, and for starters support MP3 format.
I'll worry about the interface later.
I got a C++ framework all set up already. This will allow people to develop applications for the PSP with sound/networking support a lot easier to do.
I got the networking to work too. (The profile is selectable via a config file, along with the mp3 file/stream(url)).

More.. I got the app in a state where it can play an mp3 file perfectly, and also an mp3 stream from a URL!!!!

More things to do (In no particular priority order)
-Nicer user interface
-Support for v1 playlists
-Support for v2 playlists
-Metadata retrieval (display song title from a online stream)
-ID3 tag parsing
-AAC support
-better shoutcast server support
-more configuration availability (buffers, etc)





The Hottest DCEmu Posters