diff options
author | ace20022 <ace20022@ymail.com> | 2018-09-11 19:26:10 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2018-09-11 19:27:18 +0200 |
commit | 04524496a7b3f3b912ba8a238a571a4a7d720077 (patch) | |
tree | e2b36f343b8643d8f3ef3e7ebc7c5dd52085c52a | |
parent | 8baafbeefae9e583557db60a56eda4ab3bd50889 (diff) |
[FileItem] Refine IsBluray() method.
-rw-r--r-- | xbmc/FileItem.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index feaf27725f..66304500ef 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -1177,7 +1177,12 @@ bool CFileItem::IsMultiPath() const bool CFileItem::IsBluray() const { - return URIUtils::IsBluray(m_strPath); + if (URIUtils::IsBluray(m_strPath)) + return true; + + CFileItem item = CFileItem(GetOpticalMediaPath(), false); + + return item.IsBDFile(); } bool CFileItem::IsCDDA() const |