mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-16 19:58:53 +01:00
Moved favorites to playlists folder
This commit is contained in:
parent
ba5b3ffff7
commit
1770efb200
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user