aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastagnaIT <gottardo.stefano.83@gmail.com>2024-10-11 07:51:06 +0200
committerCastagnaIT <gottardo.stefano.83@gmail.com>2024-10-11 10:46:54 +0200
commit193fc6a1e89db1fc86cde682753341040f4dc491 (patch)
treeca9f7adad3587ceac45173fab6898611f337d203
parent5374282863b481433828bfe06e7e1321870cc823 (diff)
[Utils] Add missing original, imparied filename parsing
-rw-r--r--xbmc/Util.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/xbmc/Util.cpp b/xbmc/Util.cpp
index cd761165e3..de9dd6f8b4 100644
--- a/xbmc/Util.cpp
+++ b/xbmc/Util.cpp
@@ -2200,6 +2200,16 @@ ExternalStreamInfo CUtil::GetExternalStreamDetailsFromFilename(const std::string
info.flag |= StreamFlags::FLAG_FORCED;
continue;
}
+ else if (!flag_tmp.compare("original"))
+ {
+ info.flag |= StreamFlags::FLAG_ORIGINAL;
+ continue;
+ }
+ else if (!flag_tmp.compare("impaired"))
+ {
+ info.flag |= StreamFlags::FLAG_HEARING_IMPAIRED;
+ continue;
+ }
if (info.language.empty())
{