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

- 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:
1xDed committed 2026-11-27 13:18:09 +03:00
1 parent cc1391bb7d
commit a98663691d
18 files changed
+681 -22

No files matched your search

@@ -18,9 +18,9 @@ $art-size: 48px;
padding: 0 0.75rem 0 1rem;
color: white;
background: rgb(18 18 24 / 0.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
// Opaque bar: backdrop-filter over the virtualized grid caused constant
// compositing/shifting on WebKit.
background: rgb(18 18 24 / 0.98);
border: 1px solid rgb(255 255 255 / 0.08);
border-radius: 14px;
box-shadow: 0 12px 40px rgb(0 0 0 / 0.45);
@@ -1,19 +1,26 @@
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import IconButton from "@mui/material/IconButton";
import Tooltip from "@mui/material/Tooltip";
import React, { type ReactNode } from "react";
import CastButton from "@/components/buttons/castButton";
import InstantMixButton from "@/components/buttons/instantMixButton";
import QueueButton from "@/components/buttons/queueButton";
interface PlayerActionsProps {
/** Opens the full-screen player. */
onExpand: () => void;
onClose: () => void;
/** The track currently playing (for cast / instant mix). */
item?: BaseItemDto | null;
/** Volume control, rendered between the queue and expand buttons. */
children?: ReactNode;
}
const PlayerActions = ({ onExpand, onClose, children }: PlayerActionsProps) => {
const PlayerActions = ({ onExpand, onClose, item, children }: PlayerActionsProps) => {
return (
<div className="audio-player-actions">
{item && <InstantMixButton item={item} />}
{item && <CastButton item={item} />}
<QueueButton />
<div className="audio-player-volume">{children}</div>
<Tooltip title="Open player">
@@ -245,7 +245,7 @@ const AudioPlayer = () => {
/>
</div>
<PlayerActions onExpand={handleNavigate} onClose={handleClose}>
<PlayerActions onExpand={handleNavigate} onClose={handleClose} item={item}>
<PlayerVolume
volume={volume}
isMuted={isMuted}