diff --git a/src/preload.js b/src/preload.js index 555a307..8ea737b 100644 --- a/src/preload.js +++ b/src/preload.js @@ -37,7 +37,7 @@ const elements = { media: '*[data-test="current-media-imagery"]', image: "img", current: '*[data-test="current-time"]', - duration: '*[data-test="duration-time"]', + duration: '*[data-test="duration"]', bar: '*[data-test="progress-bar"]', footer: "#footerPlayer", album_header_title: '.header-details [data-test="title"]', @@ -429,7 +429,7 @@ setInterval(function () { } } } -}, 200); +}, 500); if (process.platform === "linux" && store.get(settings.mpris)) { try {