mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-15 03:08:52 +01:00
Fixing media paths (yet again)
This commit is contained in:
parent
e9b7bd08ad
commit
bb705af81b
@ -347,7 +347,7 @@ void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std
|
|||||||
|
|
||||||
void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std::string mediaType, bool system, std::string &value)
|
void Configuration::GetMediaPropertyAbsolutePath(std::string collectionName, std::string mediaType, bool system, std::string &value)
|
||||||
{
|
{
|
||||||
std::string key = "collections.media." + collectionName + "." + mediaType;
|
std::string key = "collections." + collectionName + ".media." + mediaType;
|
||||||
|
|
||||||
// use user-overridden setting if it exists
|
// use user-overridden setting if it exists
|
||||||
if(GetPropertyAbsolutePath(key, value))
|
if(GetPropertyAbsolutePath(key, value))
|
||||||
|
|||||||
@ -443,6 +443,9 @@ RetroFE::RETROFE_STATE RetroFE::ProcessUserInput(Page *page)
|
|||||||
{
|
{
|
||||||
Config.SetCurrentCollection(NextPageItem->GetName());
|
Config.SetCurrentCollection(NextPageItem->GetName());
|
||||||
CollectionInfo *info = GetCollection(NextPageItem->GetName());
|
CollectionInfo *info = GetCollection(NextPageItem->GetName());
|
||||||
|
MenuParser mp;
|
||||||
|
mp.GetMenuItems(info);
|
||||||
|
CurrentPage->PushCollection(info);
|
||||||
|
|
||||||
MenuParser mp;
|
MenuParser mp;
|
||||||
mp.GetMenuItems(info);
|
mp.GetMenuItems(info);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user