Skip to content

Commit

Permalink
Fix track progress bar integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-janousek committed Aug 14, 2021
1 parent 7ce77bc commit 6f6695e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Spotify Changelog
=================

* Fix artist and track title parsing.
* Fix track progress bar integration. Issue: tiliado/nuvolaplayer#761

3.6 - July 31st, 2021
---------------------
Expand Down
2 changes: 1 addition & 1 deletion integrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
const total = Nuvola.parseTimeUsec(trackTime.total)
if (parameter >= 0 && parameter <= total) {
Nuvola.clickOnElement(
document.querySelector('#main .player-controls .progress-bar__bg'), parameter / total, 0.5)
document.querySelector('#main .player-controls div[data-testid="playback-progressbar"] div[data-testid="progress-bar"]'), parameter / total, 0.5)
}
break
}
Expand Down

0 comments on commit 6f6695e

Please sign in to comment.