Skip to content

Commit

Permalink
Fixed track scrobbling
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed May 16, 2015
1 parent 223ab85 commit a51c5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ GMS.SliderMonitor = (function() {
}

document.addEventListener('gm.pageLoaded', function() {
$('#slider').attrmonitor({
$('#material-player-progress').attrmonitor({
attributes: ['aria-valuenow', 'aria-valuemin', 'aria-valuemax'],
interval: 1000,
start: true,
Expand Down Expand Up @@ -209,7 +209,7 @@ GMS.Scrobbler = (function() {
var $playerSongInfo = $('#playerSongInfo');

setPlaying({
'title': $('.playerSongTitle', $playerSongInfo).text(),
'title': $('#player-song-title', $playerSongInfo).text(),
'album': $('.player-album', $playerSongInfo).text(),
'artist': $('.player-artist', $playerSongInfo).text(),
'durationMillis': durationMillis
Expand Down

0 comments on commit a51c5a4

Please sign in to comment.