Fixed default BASE_MEDIA_PATH and BASE_ITEM_PATH expansion.

This commit is contained in:
Pieter Hulshoff
2016-09-23 09:52:33 +02:00
parent 66379efdd7
commit 6f0c6bf695

View File

@@ -197,7 +197,10 @@ bool Configuration::getProperty(std::string key, std::string &value)
bool retVal = getRawProperty(key, value); bool retVal = getRawProperty(key, value);
std::string baseMediaPath = absolutePath; std::string baseMediaPath = absolutePath;
std::string baseItemPath = absolutePath; std::string baseItemPath = absolutePath;
baseMediaPath = Utils::combinePath(absolutePath, "collections");
baseItemPath = Utils::combinePath(absolutePath, "collections");
getRawProperty("baseMediaPath", baseMediaPath); getRawProperty("baseMediaPath", baseMediaPath);
getRawProperty("baseItemPath", baseItemPath); getRawProperty("baseItemPath", baseItemPath);