Skip to content

Commit

Permalink
Merge pull request xbmc#17491 from snaunton/master
Browse files Browse the repository at this point in the history
Allow internetstream video sources in a LAN to look for exernal subtitle files.
  • Loading branch information
arnova authored and Maven85 committed Aug 4, 2020
1 parent 9a92f48 commit bb99a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/Util.cpp
Expand Up @@ -1972,7 +1972,7 @@ void CUtil::ScanForExternalSubtitles(const std::string& strMovie, std::vector<st
unsigned int startTimer = XbmcThreads::SystemClockMillis();

CFileItem item(strMovie, false);
if (item.IsInternetStream()
if ((item.IsInternetStream() && !URIUtils::IsOnLAN(item.GetDynPath()))
|| item.IsPlayList()
|| item.IsLiveTV()
|| !item.IsVideo())
Expand Down

0 comments on commit bb99a78

Please sign in to comment.