From 55d014fb71d5a03e90e06e1e49e3d5c9b1cb7874 Mon Sep 17 00:00:00 2001 From: Don Honerbrink Date: Wed, 25 Feb 2015 16:51:17 -0600 Subject: [PATCH] Changed default media path to be the Collections directory if baseMediaPath is not set --- RetroFE/Source/Database/Configuration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RetroFE/Source/Database/Configuration.cpp b/RetroFE/Source/Database/Configuration.cpp index 9191c39..fc57461 100644 --- a/RetroFE/Source/Database/Configuration.cpp +++ b/RetroFE/Source/Database/Configuration.cpp @@ -350,7 +350,7 @@ void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std std::string baseMediaPath; if(!GetPropertyAbsolutePath("baseMediaPath", baseMediaPath)) { - baseMediaPath = "Media"; + baseMediaPath = "collections"; } if(mediaType == "manufacturer") @@ -359,7 +359,7 @@ void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std } else { - value = baseMediaPath + "/" + collectionName + "/" + Utils::UppercaseFirst(Utils::ToLower(mediaType)); + value = baseMediaPath + "/" + collectionName + "/" + mediaType); } }