feat: instant mix, remote control and stable music library
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
- Instant Mix button on albums, artists, the audio player and full-screen player - Remote control dialog (cast icon in app bar/header/item/player): lists other sessions, play/pause/next/prev/seek/stop, and Play-on-device for an item - Music library: repair persisted view types (CollectionFolder/undefined) and fall back to Songs when a music library has no album grouping - Music jitter: remove full-screen backdrop-filters (audio bar and player page) and the body ResizeObserver in the virtualized grid
This commit is contained in:
1 parent
cc1391bb7d
commit
a98663691d
18 files changed
+681
-22
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
|
||||
import { create } from "zustand";
|
||||
|
||||
type RemoteControlState = {
|
||||
open: boolean;
|
||||
/** Item to offer for "Play on ..." when the dialog is opened from a player. */
|
||||
item: BaseItemDto | null;
|
||||
openDialog: (item?: BaseItemDto | null) => void;
|
||||
closeDialog: () => void;
|
||||
};
|
||||
|
||||
const useRemoteControlStore = create<RemoteControlState>((set) => ({
|
||||
open: false,
|
||||
item: null,
|
||||
openDialog: (item = null) => set({ open: true, item: item ?? null }),
|
||||
closeDialog: () => set({ open: false, item: null }),
|
||||
}));
|
||||
|
||||
export default useRemoteControlStore;
|
||||
Reference in new issue
Block a user