CUSTOM RADIO PLAYER
Small customizable radio with some extra features, made for radio DJs which want to create own animated graphic radio. It is also usable for other users too (they can paste own radio links that they want to listen to, and synchronize their own station with others).

FEATURES:
* own graphics with own radio station
* own animated background (GIF animation support)
* own animated buttons (inactive and active state in PNG)
* own radio station import in real time (user can paste own station)
* own radio station import auto save (imported station is saved for next login)
* full synchronization between all users (unlimited)
* synchronize already playing station (dont have to paste station for new users)
* switch between built in, own imported and synchronized station (with play button)
* switch between synchronized stations (every user has own channel at navigation menu)
* last played station auto start (save last played station and play after log back)
* inactive stations auto skipping (not available streams will be automaticly skipped to next ones)
* navigation menu (access to saved, imported and other users synchronized stations)
* unlimited number of built in stations (switch with play button)
* volume control (from keyboard)
* drag and drop (freely move around the screen)
* full persistent player (will not disappear while moving around the room)
* memory usage auto management (will not eat computer memory infinitely like most players)

USER RADIO DJ (customer, not creator) CAN PLAY OWN STATION.
If you are not IMVU creator, but want to run own radio station on IMVU and synchronize it with others, you can do it with this radio. Read below, how to import own station in real time. If you have problems, just send me a message.

IMVU CREATOR DJ CAN MAKE ANIMATED PLAYER FOR OWN STATION.
Read below, how to make own animated graphics for your own station player.

NAVIGATION MENU AND CHANNELS.
Click on radio background or logo to turn on or off navigation menu.
Every user has own channel that can be synchronized with other users.
Menu elements:
- ID: 0 / MEM: 10 MB / CLOSE - Menu close button with some extra information (ID is number of last played station from built in ones and can be useful to know your favorite ones, MEM is total memory used by all flash technology products and streams, not only radio).
- hide text chat & paste (ctrl+v) radio - Import area (you can paste own radio station stream link, and it will be synchronized with other users - they can switch to it by PLAY OTHERS IMPORTED STATION at navigation menu).
- PLAY NEXT BUILT IN STATION - Switch to next station from built in ones (by creator).
- PLAY PREVIOUS SESSION STATION - Switch to last station that you played in previous session (IMVU login).
- PLAY OWN IMPORTED STATION - Switch to own imported station (latest one from your paste import).
- PLAY OTHERS IMPORTED STATION - Switch to latest paste import station by any user in this session.
- PLAY YOUR CHANNEL - Swtich back to your previous station.
- PLAY X CHANNEL - Switch to station that currently is played by user X.

Check out flaming animation example of Custom Radio Player with rock and metal stations.
You can derive this animated graphics version and put own stations.
CLICK HERE
Check out wooden animation example of Custom Radio Player with chillout and jazz stations.
You can derive this animated graphics version and put own stations.
CLICK HERE

HOW TO GET NEW RADIO STATIONS - TUTORIAL
Go to
shoutcast.com website and choose your favorite genre to get list of active radio stations.
1 - Click right mouse button on station name (only MP3 type is supported, skip any AAC+) and choose SAVE AS (english) from menu. Save your file.
2 - Open saved file in notepad and select direct stream link (value after File1= parameter).
3 - Hide text chat (imvu blocks keyboard) or switch to inventory for a moment.
4 - Click on radio background or logo and paste your direct stream link (use CTRL+V keys). Your radio station will start play and synchronize with other users. You can also hold left mouse button and move radio to other place.
5 - Use active play button to switch between stations (built in, imported by you, and synchronized by others).
6 - Use pause button to pause current station.
7 - Use close button to close radio player.
8 - (CREATORS) Example of radio.txt (text file just named radio, without txt extension) file with own bult in station.
9 - (CREATORS) Example of radio.txt (text file just named radio, without txt extension) file with few built in stations.
10 - (CREATORS) Assets in Create Mode (click on small folder icon and copy your radio.txt file there).

SPECIAL TRICK - Move radio on the screen.
Click on radio background or logo, hold left mouse button and move radio to other place.

SPECIAL TRICK - Import own station in real time.
Hide text chat, click on radio background or logo, paste your own any radio link (use CTRL+V keys).
Example of direct radio stream link to paste: http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3
Note that radio will play only direct streams. If you use PLS or M3U file, you have to open them in notepad and copy your stream link from there. Only MP3 streams are supported (not AAC+).

SPECIAL TRICK - Share own station with others.
Just import own station in real time. It will synchronize with new users too.

SPECIAL TRICK - Play last played or imported station after log back.
If there is no synchronized station by other users (with paste import in real time), player will start last played station by default. You can back to last played station from previous login auto save by click pause 4 times and then play button.
To play lastest imported station (if there is any) from auto save, click pause 2 times and then play button
To play synchronized station (if there is any) by others, click pause 3 times and then play button.
Note that this is not synchronized (other users can have own stations, so it would make conflict). Import own station in real time to share it with others.

SPECIAL TRICK - Switch between stations.
Click on active play button to switch between built in (by creator), own imported (by you) and synchronized (imported by other user) stations.
To play last played station from previous login auto save, click pause 4 times and then play button.
To play lastest imported station (if there is any) from auto save, click pause 2 times and then play button
To play synchronized station (if there is any) by others, click pause 3 times and then play button.
Note that this is not synchronized (other users can have own stations, so it would make conflict). I
You can also use keyboard (hide text chat and click on radio background or logo):
- left arrow - previous built in station
- right arrow - next built in station
- down arrow - own imported station
- up arrow - synchronized station
To remove own imported station from switching and memory (next login), paste one space bar (import own station in real time).
To remove synchronized station from switching, paste two space bars (import own station in real time).
Note that this is not synchronized (to not break listening by others).

SPECIAL TRICK - Change volume.
Hide text chat, click on radio background or logo, use keys from 0 to 9 from keyboard to change volume.

PROBLEMS WITH CURRENT STATION.
If station is not playing correctly (it sounds too slow or skipping), click pause button and then play button.

PLS file - How to get direct radio stream link.
If station that you want to play, use PLS file (example: http://yourstation.com:8000/listen.pls), you have to open it with notepad to get direct radio stream link from it.
Example (this listen.pls contains http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3 direct link):
[playlist]
numberofentries=1
File1=http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3
Title1=Eska Rock
Length1=-1
version=2

M3U file - How to get direct radio stream link.
If station that you want to play, use M3U file (example: http://yourstation.com:8000/listen.m3u), you have to open it with notepad to get direct radio stream link from it.
Example (this listen.m3u contains http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3 direct link):
#EXTM3U
#EXTINF:-1,Eska Rock
http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3

HIDDEN COMMANDS.
You can use some commands at nagivation menu.
To use them, click on background or logo to turn on navigation menu, and then click on paste import area where you can type one of the following:
-s (switch to built in station where is station id from 000 to 999)
-i (shows radio version, installed flash version, and used total memory by all flash products and radio streams)
-c (shows current stream link)
-t (clears all stations - its useful for paste import stations testing by creators, so not working ones will not skip)
-v X (sets volume where X is from 0 to 9)
-as X (turns on autoskipping for inactive stations if X is 1, or turns off if 0)
-asd (autoskipping delay in miliseconds from 000 to 999 - default is 400)
-asi X (turns on autosyncimport if X is 1, or turns off if 0 - automaticly switch to station pasted by others)

CREATORS - Adding own station.
Create file named radio (radio.txt) in notepad. Paste your station link there and save ( example: http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3 ).
Note that radio will play only direct streams. If you use PLS or M3U file, you have to open them in notepad and copy your stream link from there. Only MP3 streams are supported (not AAC+).
You can test any station before you add it to your file. Just import own station in real time (hide text chat, click on radio background or logo, paste your own any radio link with CTRL+V keys).
Copy your file into assets in Create Mode (its a small folder icon on top, near Type: Room Attachment, not in assets tab, click that icon, file explorer will show up, copy your file there, close, Apply Changes, now you can stay on product node to see changes).
You can also add more than one station if you want, just paste each station link per line (to switch between your stations, click on play button).
Number of stations is unlimited (first station will start as default).
Example:
http://warszawa.radio.pionier.net.pl:8000/pl/eskarock.mp3
http://antyclassix-02.eurozet.pl:8100/
http://stream.radiojazz.fm:8000/radiojazzfm-hi.mp3

CREATORS - Making own graphics.
There are 7 graphic files that you can copy into assets (like your radio.txt file).
Graphics are loaded in following order: background.gif, close.png and close2.png (but active is hidden) in same place on it, then after width length of close button, play.png and play2.png (but active is hidden), then after width of play button, pause.png and pause2.png (but active is hidden).
If you want to use margins between buttons, just use transparent pixels around them.
See example graphics and read description for each image.

- background.gif - is background file in GIF format which supports GIF animation (example image is 200x32 GIF image file with 10 animation frames).
- close.png - is close button in inactive state (out of mouse range) in PNG image file (example is 22x15 with transparent margins within).
- close2.png - is close button in active state (when mouse is over it) in PNG image file (example is 22x15 with transparent margins within).
- play.png - is play button in inactive state (stream is paused) in PNG image file (example is 28x32 with transparent margins within).
- play2.png - is play button in active state (stream is on) in PNG image file (example is 28x32 with transparent margins within).
- pause.png - is pause button in inactive state (stream is on in PNG image file (example is 28x32 with transparent margins within).
- pause2.png - is pause button in active state (stream is paused) in PNG image file (example is 28x32 with transparent margins within).

There is also configuration radioconfig.txt file for navigation menu and some other settings.
Example of radioconfig (you can copy it to notepad and change to own values):
menubg=0x000000
# HTML code of menu background color, 0x000000 is black
menubutton=0x000000
# HTML code of menu button color, 0x000000 is black
menutext=0x00FFFF
# HTML code of menu text color, 0x00FFFF is cyan
menubgalpha=0.6
# transparency of menu background from 0 to 1, 0.6 is 60%
menubuttonalpha=0.2
# transparency of menu button from 0 to 1, 0.2 is 20%
menutextalpha=0.8
# transparency of menu text from 0 to 1, 0.8 is 80%
menupanel=1
# -1 menu not available for all users (useful for custom 1 station players)
# 0 menu available but does not show at startup (skipped by auto save)
# 1 menu available and show up at startup (skipped by auto save)
bgimport=1
# 1 paste import from background available for all users, 0 not
autosyncimport=0
# 1 paste import has highest priority (auto start, real time changing)
radioadmin=
# admin user name (watch out for name changing)
# can access menu and paste import from background (skips menupanel, bgimport)
# if not set, everyone can use menu and import (if menupanel and bgimport is 1)
autoskipping=1
# 1 turn on auto skipping for inactive stations, 0 not
autoskippingdelay=400
# auto skipping delay in miliseconds

IF YOU HAVE ANY PROBLEMS OR QUESTIONS, JUST SEND ME A MESSAGE.
IN MOST CASES, REPLY IS WITHIN 24 HOURS.


Derivable multiplayer games and customizable programs for creators:


http://avatars.imvu.com/speedstar84