mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Additional player adjustments
- Set volume on play - Explicitly pause/play on set queue
This commit is contained in:
parent
106fc90c4a
commit
fed96d1fce
3 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue