aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2023-10-19 22:02:21 +0200
committerksooo <3226626+ksooo@users.noreply.github.com>2023-10-19 22:11:16 +0200
commit9df0ebb35d962158fa7dfd2468446580d15aa0e3 (patch)
treece8a4b3194e12db925bc7e3183a75b55301a7e3e
parent8262078680c935d6a5045c54eda11cb8d2c7c75e (diff)
[playlistplayer] Fix PVR items not handled correctly. Those need to be played using CApplication::PlayMedia
-rw-r--r--xbmc/PlayListPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/PlayListPlayer.cpp b/xbmc/PlayListPlayer.cpp
index b86e1cfbdf..608130b9a1 100644
--- a/xbmc/PlayListPlayer.cpp
+++ b/xbmc/PlayListPlayer.cpp
@@ -958,7 +958,7 @@ void PLAYLIST::CPlayListPlayer::OnApplicationMessage(KODI::MESSAGING::ThreadMess
{
return;
}
- if (item->IsAudio() || item->IsVideo())
+ if (!item->IsPVR() && (item->IsAudio() || item->IsVideo()))
Play(item, pMsg->strParam);
else
g_application.PlayMedia(*item, pMsg->strParam, playlistId);