mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Additional player adjustments
- Set volume on play - Explicitly pause/play on set queue
This commit is contained in:
@@ -93,6 +93,7 @@ export const useCenterControls = (args: { playersRef: any }) => {
|
||||
mprisUpdateSong({ status: PlayerStatus.PLAYING });
|
||||
|
||||
if (isMpvPlayer) {
|
||||
mpvPlayer?.volume(usePlayerStore.getState().volume);
|
||||
mpvPlayer.play();
|
||||
} else {
|
||||
currentPlayerRef.getInternalPlayer().play();
|
||||
|
||||
Reference in New Issue
Block a user