RE: LDInspector
2020-03-09, 7:15 (This post was last modified: 2020-03-09, 7:15 by Stefan Frenz. Edit Reason: removed empty lines )
2020-03-09, 7:15 (This post was last modified: 2020-03-09, 7:15 by Stefan Frenz. Edit Reason: removed empty lines )
(2020-02-09, 14:43)Orion Pobursky Wrote: there will be some crazy edge caseWhile looking at my code, again I thought about the filename check currently implemented in LDInspector. At the moment, the check searches for numbers at the filename beginning ("10246" of "10246 - Detectives Office.mpd"). But researching for sets containing not only digits, I found those crazy edge cases like set C001 (Star Wars Clock) or set EL136 (Dino Attack Minifigure).
What is the preferred way for LDInspector to check given filenames?
- Accept only numbers as set identifier: treat "C001 - Star Wars Clock.mpd" as "error" (current implementation).
- Hint/warn about possible wrong set identifier: treat "C001 - ..." as "ok", but hint/warn about possibly wrong set identifier (my favorite).
- Accept anything with space-dash-space as valid set identifier. This would treat "Star - Wars Clock.mpd" as "ok" accidentally (having "Star" as set identifier and "Wars Clock" as set name).
Thanks for sharing your votes.