User:Dz/ShoutCast

dzShoutCast
As with all OpenSimian projects posted here, You are free to copy/modify/and IMPROVE the functionality to fit your needs.

If you have feedback on script errors, please post it to the page discussion User_talk:Dz/ShoutCast

Feature List
Note card configuration.

MOAP style information display with Texture slide show option for non MOAP viewers.

Configurable Access by owner, group, or individuals (DJs)

Default Texture override.

10 user defined GENRE Categories.

Unlimited URLs per GENRE.

Usable on Group owned land.

Building the Board
I recommend at least 2 prims to construct the board. First, a Display prim to hold the script and display the info. I like to size it 1H and 2W so 256x512 & 512x1024 textures display without distortion. So, rez a box and resize it X: 0.05 meter  Y:  2 meter   and  Z: 1 meter.

Create a note card named "Radio Control config", paste the example text from the section below, and put it in the prim.

Create a new script in the prim. Paste a copy of the script from below over the default script and save it.

When you touch the prim you will either trigger the MOAP display, or a menu to turn the radio on. You might notice that touching the MOAP surface again does NOT generate a menu. That is why we link the second prim, to act as a frame you can touch from the front of the board to get a menu.

I like to texture all of the non-display sides of the Display prim black.

Create a second prim, slightly larger than the first,  color and texture as you prefer, and then position it  so that it  frames the display prim. Select the Display prim LAST, to make sure it is linked as root, and link the 2 prims. Now you should be able to touch the frame to get access to the menus.

The BETA script
I will attempt to document the changes to the script as I upgrade from BETA release status. This is a copy of a board i have been using in SL for a couple years... it is not bug free  but it has been  useful and reliable. When it was first posted it included SL specific  addresses for returning profile images  by UUID...  these will be removed....

Group Land add-on
When you try and change the URL on group owned land, you need to use an object deeded to the group.. If you deed the ShoutCast board, you will probably lose the ability to edit the config note card...

Place this script in a small prim  somewhere on the parcel  and  then deed the prim to the proper group. It will relay the original ShoutCast board message....

Configuration Notecard
This is how URLs are added to the menus and grouped into Genres.