Variable |
Replacement Description |
{$SONG_LOFI_TIME} |
The epoch time the LOFI Song file was last updated. Use the smarty variable modifier date_format to format the date to what you want. |
{$SONG_LOFI_NAME} |
The file name of the LOFI Song File as it was when uploaded. |
{$SONG_LOFI_TYPE} |
The mime-type of the LOFI Song File - i.e. “audio/mpeg” |
{$SONG_LOFI_EXTENSION} |
The file extension (i.e. “mp3”) of the LOFI song file. |
{$SONG_LOFI_SIZE} |
The size in bytes of the LOFI song file. |
{$SONG_LOFI_DOWNLOAD} |
Whether or not the LOFI Song File is allowed for download (yes/no). |
{$SONG_LOFI_BITRATE} |
The Bit Rate of the LOFI Song File (i.e. 32). |
{$SONG_LOFI_SMPRATE} |
The Sample Rate of the LOFI Song File (i.e. 22050). |
{$SONG_LOFI_LENGTH} |
The length of the HIFI Song File in HH:MM:SS format (or just MM:SS). To convert to seconds, use the “convert_to_seconds” Smarty variable modifier. |
{$SONG_LOFI_PLAY_URL} |
The URL link to the “play.php” script so this song can be streamed in LoFi mode (if LoFi is available, otherwise is empty) |
{$SONG_LOFI_DOWNLOAD_URL} |
The URL link to the “download.php” script so this song can be downloaded in LoFi mode (if LoFi download is enabled, otherwise is empty) |
{$PLAYPAGE_LOFI_MP3_URL} |
Creates link to play.php to play all LOFI MP3 songs visible on output. Note that this variable is available in the header and footer templates as well.
|
{$PLAYPAGE_LOFI_WMA_URL} |
Creates link to play.php to play all LOFI WMA songs visible on output. Note that this variable is available in the header and footer templates as well. |
{$PLAYPAGE_LOFI_OGG_URL} |
Creates link to play.php to play all LOFI OGG songs visible on output. Note that this variable is available in the header and footer templates as well. |