Merge pull request #6740 from Bnyro/master

fix: don't show audio player when tapping video player notification
This commit is contained in:
Bnyro 2024-11-17 20:28:57 +01:00 committed by GitHub
commit 91bda84d58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,7 +175,7 @@ abstract class AbstractPlayerService : MediaLibraryService(), MediaLibrarySessio
val notificationProvider = NowPlayingNotification(
this,
backgroundOnly = true,
backgroundOnly = isAudioOnlyPlayer,
offlinePlayer = isOfflinePlayer,
intentActivity = intentActivity
)