From eefef731414555d08e82a6471e4bd37ed02a09ac Mon Sep 17 00:00:00 2001 From: weihuoya Date: Wed, 15 Aug 2018 19:41:55 +0800 Subject: [PATCH] nomedia, add comment text --- Source/Core/UICommon/UICommon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp index db854dd7e4..66f8642a9a 100644 --- a/Source/Core/UICommon/UICommon.cpp +++ b/Source/Core/UICommon/UICommon.cpp @@ -179,6 +179,7 @@ void CreateDirectories() File::CreateFullPath(File::GetUserPath(D_THEMES_IDX)); File::CreateFullPath(File::GetUserPath(D_STYLES_IDX)); #else + // Disable media scanning in directories with a .nomedia file File::CreateEmptyFile(File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP NOMEDIA_FILE); #endif }