Moved favorites to playlists folder

This commit is contained in:
emb 2015-10-21 20:39:36 -05:00
parent ba5b3ffff7
commit 1770efb200
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ CollectionInfo::~CollectionInfo()
// delete the items since the parent collection will delete them. // delete the items since the parent collection will delete them.
if(saveRequest) if(saveRequest)
{ {
std::string file = Utils::combinePath(Configuration::absolutePath, "collections", name, "favorites.txt"); std::string file = Utils::combinePath(Configuration::absolutePath, "collections", name, "playlists/favorites.txt");
Logger::write(Logger::ZONE_INFO, "Collection", "Saving " + file); Logger::write(Logger::ZONE_INFO, "Collection", "Saving " + file);
std::ofstream filestream; std::ofstream filestream;

View File

@ -235,7 +235,7 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info, std::string me
std::map<std::string, Item *> favoritesFilter; std::map<std::string, Item *> favoritesFilter;
std::map<std::string, Item *> excludeFilter; std::map<std::string, Item *> excludeFilter;
std::string includeFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "include.txt"); std::string includeFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "include.txt");
std::string favoritesFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "favorites.txt"); std::string favoritesFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "playlists/favorites.txt");
std::string excludeFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "exclude.txt"); std::string excludeFile = Utils::combinePath(Configuration::absolutePath, "collections", info->name, "exclude.txt");
std::string launcher; std::string launcher;