R
R
Rival Docs
Search
K

LastFM Embeds

Variables for the embed generator @ https://rival.rocks/embed
Variable
Output
{track}
track name
{artist}
artist name
{album}
album name
{playcount}
play amount for the song
{user}
user tag
{avatar}
user avatar
{track.url}
track url
{artist.url}
artist url
{tags}
genre tags
{scrobbles}
scrobble amount
{track.color}
track color
{track.image}
track cover
{lastfm.user}
lastfm user
{artist.plays}
artist play count
{album.plays}
album play count
{track.plays}
track play count
{track.lower}
track name lowercase
{artist.lower}
artist name lowercase
{album.lower}
album name lowercase
{track.hyper.lower}
track hyperlink lowercase
{artist.hyper.lower}
artist hyperlink lowercase
{album.hyper.lower}
album hyperlink lowercase
{track.hyper}
track hyperlink
{artist.hyper}
artist hyperlink
{album.hyper}
album hyperlink
Theres also manipulation variables to all of the variables above
  • lower() makes it all lower case ex: {lower(artist.hyper)}
  • upper() makes it all upper case ex: {upper(artist.hyper)}
  • capitalize() makes the first letter capitalized ex: {capitalize(artist.hyper)}
  • title() makes the first letter of each word capitalized ex: {title(artist.hyper)}