diff options
author | Kai Sommerfeld <3226626+ksooo@users.noreply.github.com> | 2023-10-20 20:17:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 20:17:50 +0200 |
commit | f9705e36ec68867ce37c61dd85f2e1011b7564c5 (patch) | |
tree | 98f694d8c9905a073ae51b3217eb9bf493b5d8b0 | |
parent | 66a03e8914c9547a2807c9ccd2f92ae0c04b0de9 (diff) | |
parent | 9df0ebb35d962158fa7dfd2468446580d15aa0e3 (diff) |
Merge pull request #23961 from ksooo/fix-jsonrpc-pvr-playback
[playlistplayer] Fix PVR items not handled correctly. Those need to b…
-rw-r--r-- | xbmc/PlayListPlayer.cpp | 2 |
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); |