handle player stop on queue clear

This commit is contained in:
jeffvli
2025-12-13 00:15:20 -08:00
parent 1ac267fa99
commit a546a4d57b
5 changed files with 38 additions and 0 deletions
@@ -249,6 +249,9 @@ export const MpvPlayerEngine = (props: MpvPlayerEngineProps) => {
onPlayerPlay: () => {
replaceMpvQueue(transcode);
},
onQueueCleared: () => {
console.log('queue cleared');
},
},
[transcode],
);