mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-09-18 05:02:22 +02:00
Added * support for playlist game names to import entire collections.
This commit is contained in:
@@ -466,7 +466,7 @@ void CollectionInfoBuilder::addPlaylists(CollectionInfo *info)
|
|||||||
|
|
||||||
for(std::vector<Item *>::iterator it = info->items.begin(); it != info->items.end(); it++)
|
for(std::vector<Item *>::iterator it = info->items.begin(); it != info->items.end(); it++)
|
||||||
{
|
{
|
||||||
if ( (*it)->name == itemName && (*it)->collectionInfo->name == collectionName)
|
if ( ((*it)->name == itemName || itemName == "*") && (*it)->collectionInfo->name == collectionName )
|
||||||
{
|
{
|
||||||
info->playlists[basename]->push_back((*it));
|
info->playlists[basename]->push_back((*it));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user