mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-26 17:54:46 +01:00
Changed default media path to be the Collections directory if baseMediaPath is not set
This commit is contained in:
parent
1b18117658
commit
55d014fb71
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user