fix: report pause playback on pause

This commit is contained in:
Fredrik Burmester
2024-08-14 08:59:17 +02:00
parent 9ee30ff1ce
commit 37b7fc1c20

View File

@@ -229,6 +229,10 @@ export const CurrentlyPlayingBar: React.FC = () => {
? backdropUrl
: undefined
}
debug={{
enable: true,
thread: true,
}}
paused={paused}
onProgress={(e) => onProgress(e)}
subtitleStyle={{
@@ -249,9 +253,10 @@ export const CurrentlyPlayingBar: React.FC = () => {
} else if (e.isSeeking) {
return;
} else {
setPaused(true);
pause();
}
}}
progressUpdateInterval={1000}
onError={(e) => {
console.log(e);
writeToLog(