Endless Paradigm

Full Version: AnimeNFO PSP Radio player
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Found by Yoyo. posted by Syfe.

Quote:the AnimeNFO PSP Radio player is a PSP application to recieve your favourite Anime/Jpop/Jrock Radio channel on your PSP.

Features:
It displays the artist, title, and album of the currently playing song and refreshes this information every 10 seconds without interrupting the music.
and I've included a little "Save" button which saves the current song information to the memorystick in BMP format

Requirements:
a PSP (firmware 5.00 and above recommended, works on both official and custom firmwares)
An active Wifi hotspot or wireless Router nearby for your PSP to connect through.

How to use:
Click the link at the bottom of the page to download the Radio Player
make sure it saves to ms0:\PSP\RADIOPLAYER\ or move it there through the USB connection
go to the internet section of the XMB(PSP main menu) and select "internet Radio"
make sure your wifi is switched on, and a nearby wifi connection is configured on your PSP
start the AnimeNFO Radio player by selecting it's icon with the X button(you can perform other actions, such as visiting the AnimeNFO website by pressing the triangle button)
connect to your Wifi hotspot or Router
Click yes when you are asked if the plugin can run
and enjoy the music
if a good song comes by and you wish to save it's name so you can find it again click the "save" button
doing so will save the current screen to a .bmp file in the ms0:\picture\radioplayer screenshot folder on your memorystick

if you enjoy the music, support the people running this radio channel by donating at http://AnimeNFO.com/Radio

Source

a possible dl link here.
i want fm 104 <<<
awesome, i love this station
It has been a while since I messed with the radioplayer plugin script code but didn't it just have a function to update when the stream metadata updates? Why refresh every 10 seconds?
zefie Wrote:It has been a while since I messed with the radioplayer plugin script code but didn't it just have a function to update when the stream metadata updates? Why refresh every 10 seconds?

for some reason i couldn't get the PSP to capture that metadata through the functions intended for that, and from what I've seen it just throws all info on a single line instead of title, artist, and album on a separate line.

i tried to find sony's way of capturing that info off animeNFO, but in that huge mess of a radiocore.js the best i could figure out was that they don't just use sysRadioGetContentMetaInfo() or sysRadioGetStreamTitle()

in the end i just decided to pull the info straight from the AnimeNFO now-playing page.(their webmaster was kind enough to tell me a way to grab some of that info off that page)
it looks great umm...
Razgriz375 Wrote:awesome, i love this station
thedicemaster Wrote:
zefie Wrote:It has been a while since I messed with the radioplayer plugin script code but didn't it just have a function to update when the stream metadata updates? Why refresh every 10 seconds?

for some reason i couldn't get the PSP to capture that metadata through the functions intended for that, and from what I've seen it just throws all info on a single line instead of title, artist, and album on a separate line.

i tried to find sony's way of capturing that info off animeNFO, but in that huge mess of a radiocore.js the best i could figure out was that they don't just use sysRadioGetContentMetaInfo() or sysRadioGetStreamTitle()

in the end i just decided to pull the info straight from the AnimeNFO now-playing page.(their webmaster was kind enough to tell me a way to grab some of that info off that page)

Code:
var pspMetaData;
var pspMetaDataNew;

function updateStreamTitle() {
	var pspMetaDataNew; = psp.sysRadioGetContentMetaInfo (1); // Save artist/song metadata into var
	if (pspMetaDataNew != pspMetaData) { // check against old metadata
		// this part runs if the metadata just changed
		pspMetaData = pspMetaDataNew; // Update old metadata;
		getInfoFromAnimeNFO(); // your function to get data from AnimeNFO server.
	}
        setTimeout ('updateStreamTitle()', 1000); // run this every 1 second, but we wont poll AnimeNFO's server until the metadata changes. This will also update the title quicker when the song DOES change.
}


some other useful stuff:

Code:
psp.sysRadioGetContentMetaInfo (1); // Artist - Title
stationName = psp.sysRadioGetStreamTitle (0); // Station Name
psp.sysRadioGetBitRate () / 1000; // Bitrate in kbits after division
psp.sysRadioGetSamplingRate () / 1000; // Frequency in kHz after division

psp.sysRadioGetStreamBufferLevel (); // buffer level in percent


Sorry, just picky about radio server resources. I used to run my own station, and currently I'm with kawaii-radio, so I know a thing or two about trying to save resources. Hitting the server needlessly every 10 seconds (so lets say 100 psps are using it, that's over 600 hits a minute) runs up the bandwidth, apache memory usage, mysql cpu usage, ect. :P

have you tested that with AnimeNFO?
psp.sysRadioGetContentMetaInfo  and psp.sysRadioGetStreamTitle always returned nothing for me on AnimeNFO.

also, for me the current formatting is quite important. and i also need the Album listed.
Reference URL's