Skip to content
Browse files

lowercase video_ts folders didn't work for GetLocalMetadataPath

  • Loading branch information...
1 parent dbf85d5 commit 082152cf0b5b2938c26574174c74cd572ecd2bdd Jonathan Marshall committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/FileItem.cpp
View
2 xbmc/FileItem.cpp
@@ -2919,7 +2919,7 @@ CStdString CFileItem::GetLocalMetadataPath() const
CStdString parentFolder(parent);
URIUtils::RemoveSlashAtEnd(parentFolder);
parentFolder = URIUtils::GetFileName(parentFolder);
- if (parentFolder == "VIDEO_TS" || parentFolder == "BDMV")
+ if (parentFolder.CompareNoCase("VIDEO_TS") == 0 || parentFolder.CompareNoCase("BDMV") == 0)
{ // go back up another one
parent = URIUtils::GetParentPath(parent);
}

0 comments on commit 082152c

Please sign in to comment.
Something went wrong with that request. Please try again.