feat: cross-platform titlebar, video transfers and client cleanup
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

Adds frameless-window controls for Windows/Linux (native traffic lights on macOS), keeps transfers at the current position for video, lets the video player use the same sync/device controls as the media bar, and removes dead code plus assorted UI/perf issues.
This commit is contained in:
1xDed committed 2026-11-28 01:31:16 +03:00
1 parent 4bdd0139bf
commit 6675a55957
26 files changed
+561 -316

No files matched your search

+6 -2
View File
@@ -130,7 +130,7 @@ type PlaybackStoreState = {
* This is used to show the volume change indicator in the UI
*/
isVolumeInidcatorVisible: boolean;
volumeIndicatorVisibleTimeoutId: NodeJS.Timeout | null;
volumeIndicatorVisibleTimeoutId: ReturnType<typeof setTimeout> | null;
};
type PlaybackStoreActions = {
@@ -690,7 +690,11 @@ export const playItem = (args: {
state.playbackStream = args.playbackStream;
state.playsessionId = args.playsessionId;
state.metadata = args.metadata;
state.playerState.currentTime = args.userDataPlayedPositionTicks;
// Transfers pass an explicit start position; it must win over the
// item's saved resume point (otherwise the video jumps back).
state.playerState.currentTime =
args.metadata.userDataLastPlayedPositionTicks ??
args.userDataPlayedPositionTicks;
state.userId = args.userId;
state.playerState.isPlayerPlaying = true;
state.playerState.isPlayerReady = false; // Reset player ready state