fix(mpris): fixed an issue where MPRIS information was incorrect (#1291)

This commit is contained in:
JellyBrick
2023-10-09 19:36:17 +09:00
committed by GitHub
parent 7693a3ba4a
commit 24d4a50574
5 changed files with 135 additions and 66 deletions

View File

@ -1,4 +1,4 @@
declare module 'mpris-service' {
declare module '@jellybrick/mpris-service' {
import { EventEmitter } from 'events';
import dbus from 'dbus-next';
@ -75,6 +75,8 @@ declare module 'mpris-service' {
objectPath(subpath?: string): string;
getPosition(): number;
seeked(position: number): void;
getTrackIndex(trackId: string): number;