Fix bugs related to media info (#150)

* Fix duration time element

* change interval time from 200 to 500
This commit is contained in:
Marie
2022-06-18 10:26:21 +02:00
committed by GitHub
parent 374f3da740
commit cdcf9431bf

View File

@@ -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 {