From 13eb89abc0ad097760f8ae2e781f93bad03b7e99 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 19 Oct 2026 18:02:42 +0200 Subject: [PATCH] Report video as the Now Playing media type (#969) NowPlayingService set the media-library key MPMediaItemPropertyMediaType, which MediaRemote ignores, so external clients classified playback as audio. Use MPNowPlayingInfoPropertyMediaType instead. --- Yattee/Services/Player/NowPlayingService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yattee/Services/Player/NowPlayingService.swift b/Yattee/Services/Player/NowPlayingService.swift index 0b816c0d..c6164b82 100644 --- a/Yattee/Services/Player/NowPlayingService.swift +++ b/Yattee/Services/Player/NowPlayingService.swift @@ -83,7 +83,7 @@ final class NowPlayingService { MPNowPlayingInfoPropertyElapsedPlaybackTime: currentTime, MPNowPlayingInfoPropertyPlaybackQueueCount: 1, MPNowPlayingInfoPropertyPlaybackQueueIndex: 0, - MPMediaItemPropertyMediaType: MPMediaType.anyVideo.rawValue, + MPNowPlayingInfoPropertyMediaType: MPNowPlayingInfoMediaType.video.rawValue, MPNowPlayingInfoPropertyPlaybackRate: isPlaying ? 1.0 : 0.0, MPNowPlayingInfoPropertyDefaultPlaybackRate: 1.0 ]