PDA

View Full Version : Internet Radio Customization


taltman
12-13-2004, 06:28 PM
FYI

I was able to get Internet Radio and sage working. :goodjob: While I'd prefer to have this functionality integrated into Sage, for now an external app will do the job. If this ever got integrated into Sage, it would be really slick if we could import Winamp plugins for visual effects...

I'm currently using Cayars Ultimate STV (not latest release though)...I have four stages to the process:

1) I download all the PLS files from www.shoutcast.com that I like and save them to the PC

2) I created a new dynamic menu item that launches the paticular playlist

3) I created a custom VBScript that will clean up or kill all winamp, iexplorer, and firefox processes that are running in the background. This script might be useful for other tasks as well.

4) I also created another custom VBScript that will find the Winamp window, and turn on the visualizations. Configure your winamp visualization to use full screen and find a cool plugin and you got a really cool looking internet radio TV/HTPC...

:bang: NOTE: You must use the winamp default skin. If you use another skin the VBScript wont be able to send the keyboard keystroke to Winamp.

I will post my menu.xml, .PLS, and VBScripts to the forum later this week...

/Tdog

taltman
12-14-2004, 02:16 AM
Hi everyone,

I've attached the files and changed the names to protect the innocent (j/k). Actually the vbscripts and xml files appearently can't be uploaded so I changed the .vbs scripts to .txt extensions which should be safely opened up in your favorite text editor (i.e notepad).

You can dump the two vbscripts in your default sage folder (i.e. c:\Program Files\Frey Technologies\SageTV)...

In my menu.xml file my c: drive was changed to h: - change yours to match where the files actually reside. I dumped my Winamp PLS files to h:\ - such as h:\rock.pls or something like that.

I'm running Winamp 5 with the default skin and this is working. I went to winamp.com and downloaded a visualization plugin called Tripex3 - this has some really killer graphics. Technically my script should work with any plugin. Enjoy!

P.S. I've include the changes I made to the menu.xml file down below. Enjoy some more...

As I mentioned in my original post you need to have Cayar's Ultimate STV....(i think its required, perhaps other STVs will work - i'm still fairly new to Sage so please give me some slack =).

If others think this cool please let me know. I'd like to add this to the sage-community web site, not sure if its updated by select community members only though...

/Tal

<subMenuItem
title="Internet Radio">
<menu title="Internet Radio">
<actionMenuItem
title="80's Pop Rock">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="h:\80-pop-rock.pls"
waitforexit="0"
/>
</actionList>
</actionMenuItem>
<actionMenuItem
title="Pop Urban Playlist">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="h:\pop-urban.pls"
waitforexit="0"
/>
</actionList>
</actionMenuItem>
<actionMenuItem
title="Top 40 Dance Playlist">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="h:\top40-dance.pls"
waitforexit="0"
/>
</actionList>
</actionMenuItem>
<actionMenuItem
title="Vocal Trance Playlist">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="h:\vocal-trance.pls"
waitforexit="0"
/>
</actionList>
</actionMenuItem>

<actionMenuItem
title="Enable Visual Effects">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="visual.vbs"
waitforexit="0"
/>
</actionList>
</actionMenuItem>
<actionMenuItem
title="Clean Up Scripts">
<actionList>
<extCommand
window="normal"
command="H:\Program Files\Frey Technologies\SageTV\silent.vbs"
arguments="kill-all.vbs"
waitforexit="0"
/>
</actionList>
</actionMenuItem>

</menu>
</subMenuItem>

taltman
01-09-2005, 04:49 PM
bump