QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[Update 4/7/2008] FreeRadio 1.8: Portal for the FW 3.80 Internet Radio Player

This is a discussion on [Update 4/7/2008] FreeRadio 1.8: Portal for the FW 3.80 Internet Radio Player within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Originally Posted by NeilR I haven't really played too much recently with writing for the browser but as I recall ...

Reply
 
LinkBack Thread Tools
Old 01-18-2008, 04:00 PM   #91

Party at Las Noches!
 
IchigoKurosaki's Avatar
 
Join Date: Jun 2005
Location: Florida
Posts: 1,648
Trader Feedback: 0
Default

Quote:
Originally Posted by NeilR
I haven't really played too much recently with writing for the browser but as I recall it doesn't support scrollbars at all.
Well Scrolling works on Frames though... I may have to use iframes... which is ashame... =/
__________________
.:Nobis Development Group:.
.:Personal Portfolio:.

Playstation Portable - PSP1001 - 3.90 M33-2
IchigoKurosaki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:02 PM   #92
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Yeah, you can scroll them... but there's no scroll bars.

New version coming in a couple minutes
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:10 PM   #93
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Version 1.7 is done:
Quote:
Version 1.7, 1/18/2008
  • Added support for custom plugins. Included an example - a two-channel equalizer that displays beneath the 'stop' button. For an example of how plugins work, open X:\radio\plugins\equalize r.plugin in your favorite text editor.
    • Plugins are self-contained JavaScript files, so if you're any good with that, you can easily make your own plugins. FreeRadio will automatically load any plugin files stored in the X:\radio\plugins folder with a filename ending in '.plugin'. The only requirements for a plugin are 'load' and 'start' functions and a variable named 'started'. The rest is up to you.
    • Plugins are only loaded in the Shoutcast, Stream, and Playlist views; this is because rest either don't play audio or might not always look the same (since podcasts and RSS can use HTML).
  • The web browser and bookmark links now open in a new tab, rather than the current one.
Spoiler for user plugin example - two-channel equalizer:
Attached Thumbnails
[Update 4/7/2008] FreeRadio 1.8: Portal for the FW 3.80 Internet Radio Player-18-user_plugins.jpg  
Attached Files
File Type: zip FreeRadio-1.7.zip‎ (78.4 KB, 390 views)
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:29 PM   #94
 
mohaas05's Avatar
 
Join Date: Jan 2007
Real First Name: mohaas05
Location: Land of honey
Just Played: San Andreas
Posts: 4,255
Trader Feedback: 0
Default

nice! keep it up
__________________
www.mohaas05.co.cc
mohaas05 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:34 PM   #95

Party at Las Noches!
 
IchigoKurosaki's Avatar
 
Join Date: Jun 2005
Location: Florida
Posts: 1,648
Trader Feedback: 0
Default

Okay, so iframes do support Scrolling though of course no scroll bars...
__________________
.:Nobis Development Group:.
.:Personal Portfolio:.

Playstation Portable - PSP1001 - 3.90 M33-2
IchigoKurosaki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:41 PM   #96
**The Welsh Guy**
 
nicodemus82's Avatar
 
Join Date: Sep 2006
Real First Name: Nick
Location: welsh guy in canada
Just Played: Infamous
Posts: 1,717
Trader Feedback: 1
Default

yet another update..wow! ur pumping these out faster that i can put them on my PSP
btw in ur next update could u possibly move the stop playback button so it's in the top bar and not getting in the way of the now playing bar?
__________________
http://endlessparadigm.com/
nicodemus82 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:42 PM   #97
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Sure, that should be pretty easy. It would make it so it can't be skinned... but who skins a button, anyways?
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:44 PM   #98
 
lifey's Avatar
 
Join Date: Apr 2006
Location: england
Posts: 833
Trader Feedback: 0
Default

thanks for sharing the fruits freeplay.....
__________________
this is what my psp doe's....:)
[url]http://www.youtube.com/watch?v=XY1wM-YexC4[/url]
lifey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 04:57 PM   #99
**The Welsh Guy**
 
nicodemus82's Avatar
 
Join Date: Sep 2006
Real First Name: Nick
Location: welsh guy in canada
Just Played: Infamous
Posts: 1,717
Trader Feedback: 1
Default

Quote:
Originally Posted by FreePlay
Sure, that should be pretty easy. It would make it so it can't be skinned... but who skins a button, anyways?
that would be great cos sometimes when the name of the song/artist is long, it goes behind the stop playback button so u can't read it..

also would it be possible to add some kind of border to the visualizer? something like this.. i think it makes it stand out nicer

__________________
http://endlessparadigm.com/
nicodemus82 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:06 PM   #100
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

btw, if you seem to be lagging out a lot on your stream connections, it's because the equalizer plugin is refreshing too often. Edit it in notepad and copy/paste in this code:
Spoiler for equalizer.plugin:
Code:
/*-------------------------------------------------
Example plugin: two-channel graphical equalizer
---------------------------------------------------
FreeRadio will load any plugins named *.plugin
in the /radio/plugins folder. To disable a plugin
without deleting it, just rename it to *.disabled
or whatever (so long as it doesn't end in .plugin).
---------------------------------------------------
A plugin is a JavaScript object with its own
functions and variables. Name it whatever you want;
just be sure to remember its name, because that's
what you'll be using in place of 'equalizer_plugin'
in the last two lines of the plugin code.
---------------------------------------------------
There are only two required functions in any
plugin: load, start, and getStatus.
'load' is executed as the page is loaded. none of
the page content will be accessible in the load
function; it's supposed to be used for setting up
the plugin's variables and things like that.
---------------------------------------------------
'start' is executed after the page is loaded. all
of the page content is accessible, and you can
add your own content in this function, set
timeouts, etc.
---------------------------------------------------
There is also a required variable:
'this.started' is a true/false value indicating
whether the plugin has been started.
---------------------------------------------------
Everything else is up to you!
------------------------------------------------*/

function equalizer_plugin() {
	var eq_timeout = 0;
	this.load = function()
	{
		this.started = false;
	}

	this.start = function()
	{
		this.started = true;
		this.status = 'Test plugin started';
		document.writeln('<div id="eq" style="border: 1px white solid; z-index: 1; position: fixed; left: 378px; top: 20px; width: 100px; height: 34px; background-color: #000000;"><img style="width: 100px; height: 16px;" id="eq_left" src="./plugins/eq.jpg"/><br/><img style="width: 100px; height: 16px;" id="eq_right" src="./plugins/eq.jpg"/></div><div id="eq_left_cover" style="z-index: 2; position: fixed; left: 379px; top: 21px; width: 100px; height: 16px; background-color: #000000;">&nbsp;</div><div id="eq_right_cover" style="z-index: 2; position: fixed; left: 379px; top: 37px; width: 100px; height: 16px; background-color: #000000;">&nbsp;</div>');
		updateEq();
	}
}

function updateEq()
{
	if(psp.sysRadioGetPlayerStatus())
	{
		var eq_left_val = Math.floor(100*psp.sysRadioGetLeftAudioPeakLevel()/255);
		var eq_right_val = Math.floor(100*psp.sysRadioGetRightAudioPeakLevel()/255);
		document.getElementById('eq_left_cover').style['width'] = (100-eq_left_val)+'px';
		document.getElementById('eq_right_cover').style['width'] = (100-eq_right_val)+'px';
	}
	eq_timeout = setTimeout('updateEq()', 1000);
}

// In your plugin, you must have these two lines, or it won't be loaded.
// Replace 'equalizer_plugin' with the name of your plugin.

plugins['equalizer_plugin'] = new equalizer_plugin();
plugin_names[plugin_names.length] = 'equalizer_plugin';
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:08 PM   #101
 
Join Date: Jan 2008
Posts: 2
Trader Feedback: 0
Default

Guys i have noobie queston. I have problem whit adding new stations. I have some radio stations on my winamp and i dont know how to put them on this FreeRadio list . Can somone help me or give me a link where i cna read how to do it?
WgizmO is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:14 PM   #102
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

The Readme tells you how, and so does the MyShoutcast.js file

Edit X:\radio\personalize\MySh outcast.js in Notepad and you'll see examples. You just need the station ID number, which is in the URL. It'll show you where
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:27 PM   #103
 
SeniorUser's Avatar
 
Join Date: Oct 2007
Posts: 18
Trader Feedback: 0
Default

Yep was a little laggy, just deleted plugin....used for listening no optical woo woo needed. well done yet again
SeniorUser is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:29 PM   #104
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Yeah, the plugin isn't really USEFUL... it was just an example
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 05:38 PM   #105
**The Welsh Guy**
 
nicodemus82's Avatar
 
Join Date: Sep 2006
Real First Name: Nick
Location: welsh guy in canada
Just Played: Infamous
Posts: 1,717
Trader Feedback: 1
Default

yeah, with the plugin enabled, there was some slowdown while browsing the stations, so i just disabled it..
__________________
http://endlessparadigm.com/
nicodemus82 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 12:22 AM   #106
 
Join Date: Dec 2007
Posts: 9
Trader Feedback: 0
Default

Today was the first day I used my PSP since christmas because Ive been busy with my new sidekick =]. Anyway, I just installed 3.80 m33 and this radio, and its awesome. The only thing I cant figure out is how to switch from the web browser back to the station page. How can I do this?
WhiteOut is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 05:14 AM   #107
 
xxcooldudettexx's Avatar
 
Join Date: Dec 2006
Location: Behind YOU!
Posts: 36
Trader Feedback: 0
Default Help!

OMG, I feel like a noob asking for help, but I have tried and tried to add this station

Code:
http://216.32.84.34:8000/listen.pls
And I cant add/find it in the radio....

Please don't Because i have... and it didn't help.


What would be really great if someone uploaded the default custom file, with the station added

BTW Freeplay, I love my companion cube too

Last edited by xxcooldudettexx; 01-19-2008 at 05:26 AM..
xxcooldudettexx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 06:13 AM   #108
 
Deathinnate's Avatar
 
Join Date: Jan 2008
Posts: 46
Trader Feedback: 0
Default

And since I'm also an idiot, I want to put a stream from
http://www.kisscleveland.com/ (96.5) on FreeRadio, but no idea how.
Deathinnate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 07:36 AM   #109
 
Join Date: Jan 2008
Posts: 27
Trader Feedback: 0
Default

good work guys (freeplay and co.)i just finish customizing mine and you make it so easy thanks and keep up
ricosuavez
-= Double Post =-
Quote:
Originally Posted by WhiteOut
Today was the first day I used my PSP since christmas because Ive been busy with my new sidekick =]. Anyway, I just installed 3.80 m33 and this radio, and its awesome. The only thing I cant figure out is how to switch from the web browser back to the station page. How can I do this?


hold the square button and press on the right or left trigger to go to your other tabs

Last edited by ricosuavez; 01-19-2008 at 07:41 AM.. Reason: Automerged Doublepost
ricosuavez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 07:43 AM   #110
 
Join Date: May 2007
Posts: 2
Trader Feedback: 0
Default

is it possible to make a plugin for .asx streams (mms:// )
farris is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:33 AM   #111
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Quote:
Originally Posted by farris
is it possible to make a plugin for .asx streams (mms:// )
No. mms:// streams are not supported by the radio plugin.

Guys... adding a stream is easy. Just add
Code:
'url','title',
to your MyStreams.js file, in the appropriate list (streams, pls, or m3u), and make sure each entry but the last one in each list has a comma after it.

xxcooldudettexx, you'd be adding it to the 'pls' list, since it's a '.pls'.

Deathinnate, that's an ASX (mms://) stream... it won't work.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:38 AM   #112
 
Join Date: May 2007
Posts: 2
Trader Feedback: 0
Default

noooooooooooooooooooooooo ooooooo!

will there ever come support for it? Maybe with a VLC player-port to the PSP (cuz VLC can play mms://!) ???
farris is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:40 AM   #113
 
jason_r90's Avatar
 
Join Date: Sep 2006
Posts: 175
Trader Feedback: 0
Default

Quote:
Originally Posted by FreePlay
Yeah, that is a problem. You can only load the radio player plugin in one tab. If you tell it NOT to load in the new tab, you can still browse the web in the new tab, but you won't be able to use the radio functions.Nope, I'm from the USA. Someone else posted a few Dutch stations and I added them Heh. Oops. I must've been testing this with a different font size.
No, I changed the font size to .9 so it's easier for me to view in well lit areas.
But it still over lapped with the smaller font size .8 .
Is there a way to drop down the shoutcast list a little?
Which file sets where the list will be displayed on the screen?
Torch gave a response to this but I need more info on where to put the changes.
Any help would be appreciated
jason_r90 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:41 AM   #114
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Not in a form that works on official firmware. Sony would have to add it.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:50 AM   #115

Party at Las Noches!
 
IchigoKurosaki's Avatar
 
Join Date: Jun 2005
Location: Florida
Posts: 1,648
Trader Feedback: 0
Default

I noticed a few things will listening to music...

1. My Battery will charge even though I'm using the wireless card O_o (Is that new in 3.80?)
2. I've noticed that whenever you load the Browser or Internet Radio all plugins you have enabled for VSH become Disabled... as in go into browser and exit it and you can't Press Select for VSH Menu or Music+R for Recovery...

These are just a few strange things I've noticed probably has nothing to do with this just thought they were kind of intresting...
__________________
.:Nobis Development Group:.
.:Personal Portfolio:.

Playstation Portable - PSP1001 - 3.90 M33-2
IchigoKurosaki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:53 AM   #116
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

1. Slim PSP, right? That's normal.
2. Those two specific plugins are probably disabled while the browser is loaded; I know the vshmenu is.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:56 AM   #117

Party at Las Noches!
 
IchigoKurosaki's Avatar
 
Join Date: Jun 2005
Location: Florida
Posts: 1,648
Trader Feedback: 0
Default

Quote:
Originally Posted by FreePlay
1. Slim PSP, right? That's normal.
2. Those two specific plugins are probably disabled while the browser is loaded; I know the vshmenu is.
1. Nope I have a Phat PSP...
2. It doesn't happen anymore with the new Recovery Plugin... Though VSH Menu won't load even after you exit the browser... Kind of strange... It's like it's disabled when you load the browser, but it never re-enables itself once you exit the browser...
__________________
.:Nobis Development Group:.
.:Personal Portfolio:.

Playstation Portable - PSP1001 - 3.90 M33-2
IchigoKurosaki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 08:57 AM   #118
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

1. Really? ... Weird. Maybe so.
2. It'll load again once you load another section of the XMB. This is intentional... think it's related to memory issues.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 09:00 AM   #119
 
jason_r90's Avatar
 
Join Date: Sep 2006
Posts: 175
Trader Feedback: 0
Default

Freeplay could you please look at my post above.
jason_r90 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 09:04 AM   #120
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

shoutcast.html, just before the 'script' tag.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
380 , freeradio , internet , player , portal , radio , update

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 02:51 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us