mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
Attempt to fix player unresponsive on first start
This commit is contained in:
@@ -89,8 +89,7 @@ export const PlayQueue = forwardRef(({ type }: QueueProps, ref: Ref<any>) => {
|
||||
|
||||
if (playbackType === PlaybackType.LOCAL) {
|
||||
mpvPlayer!.volume(volume);
|
||||
mpvPlayer!.setQueue(playerData);
|
||||
mpvPlayer!.play();
|
||||
mpvPlayer!.setQueue(playerData, false);
|
||||
}
|
||||
|
||||
play();
|
||||
|
||||
Reference in New Issue
Block a user