From 1770efb2000a40366f0831f2d9791916d8cb930c Mon Sep 17 00:00:00 2001 From: emb <> Date: Wed, 21 Oct 2015 20:39:36 -0500 Subject: [PATCH] Moved favorites to playlists folder --- RetroFE/Source/Collection/CollectionInfo.cpp | 2 +- RetroFE/Source/Collection/CollectionInfoBuilder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RetroFE/Source/Collection/CollectionInfo.cpp b/RetroFE/Source/Collection/CollectionInfo.cpp index caea3b6..083054d 100644 --- a/RetroFE/Source/Collection/CollectionInfo.cpp +++ b/RetroFE/Source/Collection/CollectionInfo.cpp @@ -44,7 +44,7 @@ CollectionInfo::~CollectionInfo() // delete the items since the parent collection will delete them. 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); std::ofstream filestream; diff --git a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp index 39d97ec..79be5c1 100644 --- a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp +++ b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp @@ -235,7 +235,7 @@ bool CollectionInfoBuilder::ImportDirectory(CollectionInfo *info, std::string me std::map favoritesFilter; std::map excludeFilter; 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 launcher;