Skip to content

Commit

Permalink
Merge pull request xbmc#24922 from CrystalP/fix-play-upnp
Browse files Browse the repository at this point in the history
[videoplayer] Fix Playback Delay for Items from uPnP sources
  • Loading branch information
fuzzard authored Apr 5, 2024
2 parents e68b021 + 1133148 commit 1def09b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbmc/cores/VideoPlayer/VideoPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@ bool CVideoPlayer::OpenInputStream()
{
// find any available external subtitles
std::vector<std::string> filenames;
CUtil::ScanForExternalSubtitles(m_item.GetDynPath(), filenames);

if (!URIUtils::IsUPnP(m_item.GetPath()))
CUtil::ScanForExternalSubtitles(m_item.GetDynPath(), filenames);

// load any subtitles from file item
std::string key("subtitle:1");
Expand Down

0 comments on commit 1def09b

Please sign in to comment.