mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
use correct player seek event for mpris updater (#1740)
This commit is contained in:
@@ -179,13 +179,13 @@ export const useMPRIS = () => {
|
||||
|
||||
mpris?.updateRepeat(properties.repeat);
|
||||
},
|
||||
onPlayerSeek: (properties) => {
|
||||
onPlayerSeekToTimestamp: (properties) => {
|
||||
if (!mpris) {
|
||||
return;
|
||||
}
|
||||
|
||||
const seconds = properties.seconds;
|
||||
mpris?.updateSeek(seconds);
|
||||
const timestamp = properties.timestamp;
|
||||
mpris?.updateSeek(timestamp);
|
||||
},
|
||||
onPlayerShuffle: (properties) => {
|
||||
if (!mpris) {
|
||||
|
||||
Reference in New Issue
Block a user