AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
76 stars 6 forks source link

Adding an AA with more than one album or a large number of songs #25

Closed Penkethboy closed 2 years ago

Penkethboy commented 4 years ago

Describe the bug See this post for details https://emby.media/community/index.php?/topic/84816-new-plugin-custom-scripting-emby-scripterx/?p=884576

To Reproduce Steps to reproduce the behavior: e.g. Add the folder for the AA and its associated album folders in one go

One event for AA Folder - correct

13 events for MusicAlbum - incorrect - only 8 albums added - so 5 duplicate events

167 events for Songs - incorrect - only 105 songs added - so 62 duplicate events

so a total of 181 events instead of 114

Expected behavior correct number of events by item type