mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-20 15:54:42 +01:00
feat(player): add Apple TV remote play/pause and AirPlay support
- Add playPause event handling in useRemoteControl hook - Configure AVAudioSession for tvOS with longFormAudio policy - Add AVInitialRouteSharingPolicy to enable AirPlay suggestions
This commit is contained in:
@@ -107,6 +107,7 @@ export function useRemoteControl({
|
||||
updateTime(updated);
|
||||
break;
|
||||
}
|
||||
case "playPause":
|
||||
case "select": {
|
||||
if (isRemoteScrubbing.value && remoteScrubProgress.value != null) {
|
||||
progress.value = remoteScrubProgress.value;
|
||||
|
||||
Reference in New Issue
Block a user