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"]',
|
media: '*[data-test="current-media-imagery"]',
|
||||||
image: "img",
|
image: "img",
|
||||||
current: '*[data-test="current-time"]',
|
current: '*[data-test="current-time"]',
|
||||||
duration: '*[data-test="duration-time"]',
|
duration: '*[data-test="duration"]',
|
||||||
bar: '*[data-test="progress-bar"]',
|
bar: '*[data-test="progress-bar"]',
|
||||||
footer: "#footerPlayer",
|
footer: "#footerPlayer",
|
||||||
album_header_title: '.header-details [data-test="title"]',
|
album_header_title: '.header-details [data-test="title"]',
|
||||||
@ -429,7 +429,7 @@ setInterval(function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 500);
|
||||||
|
|
||||||
if (process.platform === "linux" && store.get(settings.mpris)) {
|
if (process.platform === "linux" && store.get(settings.mpris)) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user