How to Open Internet TV / Radio in a New Window

Tutorials, tips and tricks.

Moderator: moderators

How to Open Internet TV / Radio in a New Window

Postby seanpkeown » Fri Nov 26, 2010 11:27 pm

I'm writing this tutorial on how make a radio stream open in a new window because sometimes it's difficult to use the stream function if you have to logout of subsonic or close the subsonic window to stop the stream.

Below I'll show you how to open the stream in a specified size box allowing you to close it when your done with the stream. I've tested this in google chrome and firefox. IE on the other hand seems to struggle by always opening the window in a full page which is probably caused by me using the wrong syntax. If you know a better one feel free to let me know and i'll update this post.

To start go to Settings > Internet TV/radio

Example:

Name = Website Description / Name.

You can adjust the red values below. First enter the URL then the title can be whatever you want it to be. Next adjust the Width and Height to fit your page.

Stream URL = javascript:void(window.open('http://www.streamingURL.com', 'title', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))

Homepage = Can be the same URL as above if you want or you can specify another page. If you type in home.view in this field then it will redirect you to the home page.



Here are some examples that you can try out.
Name= Power 96.5 (Top Hits)

Stream = javascript: void(window.open('http://players.jbgmedia.com/KSPW/player.html',%20'KSPW',%20'width=734,height=500,status=no,resizable=no,scrollbars=no'))


Name= 105.7 The Point (Rock)

Stream = javascript:void(window.open('http://www.1057thepoint.com/Other/streamtheworld.html','POINT',%20'width=600,height=305,status=no,resizable=no,scrollbars=no'))


Name= 94.1 WJJO (Rock)

Stream = javascript:void(window.open('http://den-a.plr.liquidcompass.net/player/flash/audio_player.php?id=WJJOFM&uid=367', 'WJJOFM', 'width=680,height=511, status=no,resizable=no,scrollbars=no'))


Name = A friends Subsonic Account.

Stream = javascript:void(window.open('http://xxxx.subsonic.org'))




Feel free to let me know if you have any suggestions.

~ Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

Postby GJ51 » Thu Dec 09, 2010 4:44 pm

Thanks Sean, good info.

I have a tip to share.

I added a Stop Radio Player link into the list of Radio Stations at the top of the list that lets me kill ther feed without closing Subsonic.

Name Subsonic
Stream URL http://servername.homeserver.com:8082/i ... m/home.png
Homepage Leave blank

Enter anything in the Stream server url that just doesn't do anything.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby seanpkeown » Sat Dec 11, 2010 12:44 am

GJ51 wrote:Thanks Sean, good info.

I have a tip to share.

I added a Stop Radio Player link into the list of Radio Stations at the top of the list that lets me kill ther feed without closing Subsonic.

Name Subsonic
Stream URL http://servername.homeserver.com:8082/i ... m/home.png
Homepage Leave blank

Enter anything in the Stream server url that just doesn't do anything.


Thanks Gary - It Works great.

~ Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 10 guests