mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2024-11-22 13:32:42 +01:00
Fix bugs related to media info (#150)
* Fix duration time element * change interval time from 200 to 500
This commit is contained in:
parent
374f3da740
commit
cdcf9431bf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user