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

This document applies to Jamroom 2 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

Video Spotlight Mode Artist Variables

Variable Name Description
{$ARTIST_URL} URL to Artist’s page
{$BAND_ID} the numeric Jamroom ID of the band (i.e. “5”)
{$BAND_CREATED} the date the band was created, in EPOCH time (i.e. “1059951557”)
{$BAND_DATE1} date the band was created formatted according to $config[date1]
{$BAND_DATE2} date the band was created formatted according to $config[date2]
{$BAND_DATE3} date the band was created formatted according to $config[date3]
{$BAND_NAME} Name of the artist
{$BAND_INFO} The artists background information
{$BAND_RANK} The numerical value of its placement in the output list
{$BAND_LOCATION} The artists location (as entered in Modify Artist)
{$BAND_WEBSITE} The artists website (as entered in Modify Artist)
{$BAND_INFLUENCE} What the Artist’s Influences are (as entered in Modify Artist)
{$BAND_SOUNDLIKE} What the Artist Sounds Like (as entered in Modify Artist)
{$BAND_IMAGE_URL} link to image.php script to generate Band Image - i.e.:
image.php?band_id=(number)&mode=band_image

- use this inside an IMG tag

{$BAND_RATING_FORM_URL} URL to rating.php script to generate Band Rating Form.
{$BAND_RATING_NUMBER} Number of times song has been rated
{$BAND_RATING_AVERAGE} Average Rating of Song
{$BAND_RATING_1} Number of “1” votes the song has received.
{$BAND_RATING_2} Number of “2” votes the song has received.
{$BAND_RATING_3} Number of “3” votes the song has received.
{$BAND_RATING_4} Number of “4” votes the song has received.
{$BAND_RATING_5} Number of “5” votes the song has received.

Video Spotlight Mode Information Variables

Variable Replacement Description
{$VIDEO_COUNT} The total number of videos in the output
{$VIDEO_ID} The video_id number for this Video (i.e. “20”)
{$VIDEO_RANK} The numerical value of its placement in the output list
{$VIDEO_CREATED} Epoch timestamp Video entry was created in Jamroom.
{$VIDEO_UPDATED} Epoch timestamp Video entry was last updated in Jamroom.
{$VIDEO_ORDER} The order the Video entry appears on the Artists page.
{$VIDEO_NAME} The Name of the video clip.
{$VIDEO_CAPTION} The text of the Video Caption box as entered on the Create/Modify Video form.
{$VIDEO_SIZE} The size (in bytes) of the Video file.
{$VIDEO_DOWNLOAD} yes/no whether the video is available for download.
{$VIDEO_FILENAME} The name of the original video file as uploaded.
{$VIDEO_EXTENSION} THe file name extension of the video file (i.e. wmv)
{$VIDEO_BITRATE} The bitrate of the video file.
{$VIDEO_RESOLUTION} The resolution of the video file (i.e. 640×480)
{$VIDEO_LENGTH} The length of the video file (i.e “03:35”)
{$VIDEO_LICENSE} The text of the Video License as entered on the Create/Modify Video form.
{$VIDEO_GENRE} The genre of the Video.
{$VIDEO_GENRE_URL} urlendcoded version of the {$VIDEO_GENRE} for use in URL strings.
{$VIDEO_CREDITS} The text of the Video Credits as entered on the Create/Modify Video form.
{$VIDEO_ADVISE} yes/no whether the video clip contains offensive/inappropriate material.
{$VIDEO_MIMETYPE} The mime type of the video file.
{$VIDEO_PLAY_URL} URL to be used in HTML anchor tag to play video clip (via play.php)
{$VIDEO_IMAGE_URL} URL to be used in IMG HTML tag to show Video Image.
{$VIDEO_STREAM_COUNT} number of streaming plays ONLY for this Video.
{$VIDEO_DOWNLOAD_COUNT} number of download plays ONLY for this Video.
{$VIDEO_TOTAL_COUNT} number of ALL plays (downloads + streams) for this Video.
{$COMMENT_COUNT} The number of visitor comments for this video.

Video Spotlight Mode Rating Variables

Variable Replacement Description
{$VIDEO_RATING_FORM_URL} The URL link to the “rating.php” script that will launch the “rate form” interface.
{$VIDEO_RATING_NUMBER} The number of times the video has been rated.
{$VIDEO_RATING_AVERAGE} The Average value of the ratings the video has received.
{$VIDEO_RATING_1} The number of “1” ratings the video has received.
{$VIDEO_RATING_2} The number of “2” ratings the video has received.
{$VIDEO_RATING_3} The number of “3” ratings the video has received.
{$VIDEO_RATING_4} The number of “4” ratings the video has received.
{$VIDEO_RATING_5} The number of “5” ratings the video has received.

Song Spotlight Mode Quota Variables

Variable Replacement Description
{$QUOTA_ID} The numerical Jamroom Quota ID of the quota the Artist Account belongs to.
{$QUOTA_NAME} The name of the Jamroom Quota the Artist Account belongs to.
{$QUOTA_DISK} The amount of disk space the Artist Account is allowed (number).
{$QUOTA_MAX} The number of song slots the Artist Account quota allows (set to 0 if Quota is limited by disk space).
{$QUOTA_MESSAGE} yes/no if the Artist Account is allowed to create messages.
{$QUOTA_SEARCH} yes/no if the Artist Account is allowed to be found in searches.
{$QUOTA_RADIO} yes/no if the Artist Account is allowed to have Radio Stations.
{$QUOTA_STORE} yes/no if the Artist Account is allowed to have a Jamroom Store.
{$QUOTA_RATE} yes/no if the Artist Account is allowed to have Songs and Artist ratings.
{$QUOTA_REMRATE} yes/no if the Artist Account is allowed to be rated by remote site.
{$QUOTA_CALENDAR} yes/no if the Artist Account is allowed to have an Artist Calendar.
{$QUOTA_COMMENTS} yes/no if the Artist Account has Artist/Song comments allowed in their Jamroom Quota.

Video Spotlight Mode Cluster Server Variables

Variable Replacement Description
{$SERVER_URL} URL to Jamroom Cluster Server the Artist Page is located on (This will be the same as {$JAMROOM_URL} unless you are running the Jamroom Cluster Server).
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