mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-23 01:31:28 +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;
|
std::string baseMediaPath;
|
||||||
if(!GetPropertyAbsolutePath("baseMediaPath", baseMediaPath))
|
if(!GetPropertyAbsolutePath("baseMediaPath", baseMediaPath))
|
||||||
{
|
{
|
||||||
baseMediaPath = "Media";
|
baseMediaPath = "collections";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mediaType == "manufacturer")
|
if(mediaType == "manufacturer")
|
||||||
@ -359,7 +359,7 @@ void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
value = baseMediaPath + "/" + collectionName + "/" + Utils::UppercaseFirst(Utils::ToLower(mediaType));
|
value = baseMediaPath + "/" + collectionName + "/" + mediaType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user