Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

Profile Variables - Photo Templates Index Profile Variables - Song Templates

Radio Information Variables

Variable Replacement Description
{$RADIO_COUNT} The number of Radio Stations this artist has
{$RADIO_ID} The Jamroom Radio ID number (i.e. 35)
{$RADIO_COUNT} The total number of Radio Stations for this artist
{$RADIO_DATE1} the date the station was created formatted to $config[date1]
{$RADIO_DATE2} the date the station was created formatted to $config[date2]
{$RADIO_DATE3} the date the station was created formatted to $config[date3]
{$RADIO_NAME} the name of the Radio Station
{$RADIO_DESCRIPTION} The description of the Radio Station
{$RADIO_TYPE} The type of song files this Radio Station uses (i.e. mp3, wma)
{$RADIO_MODE} The mode (hifi or lofi) of this radio station
{$RADIO_LIMIT} The maximum number of songs this station has
{$RADIO_RANDOM} yes/no if this Station is randomized by Jamroom.
{$RADIO_REPEAT} yes/no if this Station is set to repeat by Jamroom.
{$RADIO_PLAY_LINK} URL to play this station.
{$RADIO_PLAYCOUNT} URL to counter.php script to display number of plays for this station.
{$RADIO_IMAGE} link to show this Radio Station’s image via image.php, i.e:

http://server/jamroom/image.php?band_id=1&radio_id=1&mode=radio_image

{$RADIO_IMAGE_GD} link for getting Radio Station image, and having it resized via Jamroom’s built-in GD functions 1), i.e:

image.php?band_id=1&radio_id=1&mode=radio_image&width=xxx&height=xxx

{$RADIO_IMAGE_NAME} the name of the image file (i.e. image_name1.jpg)
{$RADIO_IMAGE_TYPE} the image mime type (i.e. image/jpeg)
{$RADIO_IMAGE_SIZE} size in bytes of the image
{$RADIO_IMAGE_EXTENSION} the image extension (i.e. jpg)

Radio Output File Name Variables

Variable Replacement Description
{$RADIO_ID} The Jamroom Radio ID number (i.e. 35)
{$RADIO_TYPE} The type of song files this Radio Station uses (i.e. mp3, wma)
{$RADIO_MODE} The mode (hifi or lofi) of this radio station

1) Note that this will allow the image to be “cached” so subsequent requests for the image will be much faster

Profile Variables - Photo Templates page 159 of 171 Profile Variables - Song Templates
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network