HerrKnarz / Playnite-Extensions

Collection of useful Playnite extensions. See Readme for details!
MIT License
14 stars 2 forks source link

[Enhancement][Metadata Utilities] Make bulk merging faster #101

Closed HerrKnarz closed 5 months ago

HerrKnarz commented 5 months ago

The merging after metadata or library updates is much slower than merging items in the Metadata Editor, when done for many games. The reason is, that the Metadata Editor has its own merge function (there's no already saved merge rule after all) while the one after metadata updates uses my "DoForAll" function on the merge rules, which simply goes through all games and calls the merge function for them. I should be able to speed that up significantly by adding the option to pass the list of games in DoForAll directly to the merge action instead of going through them in a loop. That could also possibly speed up stuff in Link Utilities, where I use the same logic.