Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Updated `lastfm.jquery.js`. Now `track`, `artist` and `album` URLs targets to personal user scrobbles stats.
  • Loading branch information
gabeweb authored Dec 16, 2023
1 parent faf9655 commit d25bcf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/lastfm.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ $('#nowPlayingBox').nowplaying({
html +
"</span>" +
'<p class="playing-now"><object class="bars"><button class="bar bar1" /><button class="bar bar2" /><button class="bar bar3" /></object><span class="playing-info"><span class="track">' +
'<a href="https://last.fm/music/' +
'<a href="https://last.fm/user/' + options.username + '/library/music/' +
track.artist["#text"] +
"/" +
"-" +
Expand All @@ -141,7 +141,7 @@ $('#nowPlayingBox').nowplaying({
"</span>" +
'<span class="info-connector"> by </span>' +
'<span class="artist">' +
'<a href="https://last.fm/music/' +
'<a href="https://last.fm/user/' + options.username + '/library/music/' +
track.artist["#text"] +
'/" target="_blank">' +
track.artist["#text"] +
Expand All @@ -152,7 +152,7 @@ $('#nowPlayingBox').nowplaying({
html =
html +
'<span class="album"><span class="info-connector"> from </span>' +
'<a href="https://last.fm/music/' +
'<a href="https://last.fm/user/' + options.username + '/library/music/' +
track.artist["#text"] +
"/" +
track.album["#text"] +
Expand Down

0 comments on commit d25bcf1

Please sign in to comment.