Phase 6 Fix 4

- Unter "Du folgst" wurde immer der erste Kanal aufgerufen, unabhängig vom ausgewählten Kanal
- Abbrechen der Wiedergabe auch unter "Durchsuchen" und Top-Stream möglich.
This commit is contained in:
Andre
2026-04-11 09:59:31 +02:00
parent f592de7aeb
commit ffad3b045d
10 changed files with 91 additions and 23 deletions
+6
View File
@@ -74,6 +74,12 @@ export class MpvController {
})
}
seek(seconds: number): void {
if (this.socket?.writable) {
this._send({ command: ['seek', seconds, 'relative'] })
}
}
quit(): void {
if (this.socket?.writable) {
try {
+4
View File
@@ -141,6 +141,10 @@ export class PlaybackService extends EventEmitter {
})
}
seek(seconds: number): void {
this.current?.mpv.seek(seconds)
}
async stop(): Promise<void> {
if (!this.current) return
const { process: proc, mpv } = this.current