I noticed that if I organize my files in a specific structure:
/games/Game Name [12345TITLEID0000]/Game Name [12345TITLEID0000][v0].nsz (Base)
/games/Game Name [12345TITLEID0000]/Game Name [12345TITLEID1000][v65536].nsz (Update)
/games/Game Name [12345TITLEID0000]/Game Name (DLC)[12345TITLEID0001][v0].nsz (DLC)
I noticed that if I organize my files in a specific structure:
/games/Game Name [12345TITLEID0000]/Game Name [12345TITLEID0000][v0].nsz
(Base)/games/Game Name [12345TITLEID0000]/Game Name [12345TITLEID1000][v65536].nsz
(Update)/games/Game Name [12345TITLEID0000]/Game Name (DLC)[12345TITLEID0001][v0].nsz
(DLC)Then the Title ID in the folder name makes all files be recognized as duplicates. Perhaps the folder path should be ignored in this comparison: https://github.com/DblK/tinshop/blob/00dd92e709d03f67f60fb2fc6b0d90ab70767ba0/gamescollection/collection.go#L231
Removing the [TITLE_ID] from the Folder fixed the duplication issue.