Hey guys!
I'm happy !
A dev on the PSPGen forum help me and give me a solution wich working good.
First we must use the hacked radio player wich working with official and CFW firmware. Named ifreeRadio 1.8. Very easy to use, just put the files to the root of memory stick and launch this from the radio icon.
Then with this version you have access to amore advanced web browser wich have some interesting javascript commands:
PSP Radio commands
Now just browse to your foo_httpcontrol template >http://myip:8888/ .
On your template now, just for testing the command, create thats lines:
<object name="radio" type="application/x-psp-extplugin"></object>
and
<input type="button" value="test" onclick="radio.sysRadioPrepareForHttpGet('http://monip/?cmd=PlayOrPause¶m1=')"/>
This is just for testing the play/pause button. For the other commands see that:
Start(track) //track num must be fetched from html (index starts at zero)
QueueItems(track)
DequeueItems(track)
MoveCursor(track)
Del(track)
Seek(percent_int)
Stop()
PlayOrPause()
Start()
StartPrevious()
StartNext()
StartRandom()
PlaybackOrder(0) - Default
PlaybackOrder(1) - Repeat (playlist)
PlaybackOrder(2) - Repeat (track)
PlaybackOrder(3) - Random
PlaybackOrder(4) - Shuffle (tracks)
PlaybackOrder(5) - Shuffle (albums)
PlaybackOrder(6) - Shuffle (folders)
Volume(percent_int)
SAC(0) - don't stop after current track
SAC(1) - stop after current track
SAQ(0) - don't stop after current queue
SAQ(1) - stop after current queue
QueueAlbum()
QueueRandomItems(num_of_items)
EmptyPlaylist()
SwitchPlaylist(num_by_list) //list must be fetched from html, index starts at zero, does not play new list, just changes focus to that list
Browse()
SearchMediaLibrary("search string") //string must be in http req style
QueryRetrace()
QueryAdvance(list_index) //list must be fetched from html
P(page num) - if the playlist is longer than one page this moves to a specific page.
Just replace the PlayOrPause with others commands and create your own template !
I hope it's ok that I talk about that on your post Obli ? Thanks you again for your support. I take a look to your lojax script.
But for the moment, we can access to our own template with this simple line on the radio web browser on PSP.
I will make a template, maybe I can put him here for PSP users.
Thanks again.
Best regards.
EDIT 2: your commands working too obli !!! Nice, very nice, I think I will use yours cause with hte others I must laucnh the hacked radio then launch another browser... But the Radio Browser comand seems to be little bit more fast than the lojax ones.
I'm really sorry, but I can't make other commands like stop or start working. I must add lines or I maybe don't understand something ? Really sorry.
For people users using the psp internet browser, I suggest you the Netfront Internet Browser HighMemoryMod from Team P86.
Thanks again Oblikoamorale, you're the best.