-
Notifications
You must be signed in to change notification settings - Fork 30
Description
This is an odd one I haven't encountered before.
If I have a folder or a video file with the word "sampler" in it the software will not import it. Silently just skips it.
Which is strangle because I've got movies that have that in the folder and filename that have NFO files that were created using AMM in the past. One such example had an NFO file dated from 2023-08-31, fwiw.
I just tried this with 1.1.0 and 1.20 and both show the same behavior. Is there a setting somewhere at would affect this? I dug around in the dialog boxes and saw nothing obvious in the settings.
Steps to repeat:
Create folder wherever you've got AMM configured to Update from. Name it including the word "sampler".
Create a video file in that folder, also with "sampler" as part of the video filename
Try importing: fails.
Rename folder to remove 'sampler', still fails.
Rename video file to remove 'sample' SUCCESS.
Step back, rename folder to include 'sampler' again: FAILS.
Something is telling it to silently skip anything with sampler the folder or video file name?
I ran a text search on the AMM folder and found entries mentioning it being skipped:
2025-08-20 11:37:08.0219,EmberAPI.Scanner,EmberAPI.Scanner.IsValidDir,9,INFO,"[Sanner] [IsValidDir] [NotValidDirContains] Path ""D:\temp\test\test folder sampler"" has been skipped (path contains ""sample"")",
I used hxd to view the EmberAPI.dll binary and do see unicode references to 'sample' near NotValidDirContains. I altered the DLL and changed it from using 'sample' to 'sbmple' and that allowed the folders to be scanned. At hex F27D2, after using a unicode search for 'sample'. I'm guessing it'd be in a different location if the DLL changed.
Looks like this is hard-coded?
Is there a setting that might override this?
If I edit out sampler from BOTH the folder AND the video file it'll import.