mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-26 17:54:46 +01:00
add media search path for manufacturer (%baseMediaPath%/_Manufacturer)
This commit is contained in:
parent
dbf51f62d8
commit
9fa29078b1
@ -347,14 +347,20 @@ void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
std::string baseMediaPath;
|
||||
if(!GetPropertyAbsolutePath("baseMediaPath", baseMediaPath))
|
||||
{
|
||||
baseMediaPath = "Media";
|
||||
}
|
||||
|
||||
value = baseMediaPath + "/" + collectionName + "/" + Utils::ToLower(mediaType);
|
||||
if(mediaType == "manufacturer")
|
||||
{
|
||||
value = baseMediaPath + "/_Manufacturer";
|
||||
}
|
||||
else
|
||||
{
|
||||
value = baseMediaPath + "/" + collectionName + "/" + Utils::UppercaseFirst(Utils::ToLower(mediaType));
|
||||
}
|
||||
}
|
||||
|
||||
void Configuration::GetCollectionAbsolutePath(std::string collectionName, std::string &value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user