Skip ISO.BIN.EDAT wrapper so DLC shows as a single library item
This commit is contained in:
@@ -3354,6 +3354,8 @@ def _nps_library_items(nps_dir, overrides, dates):
|
||||
for edat in sorted(dlc_dir.rglob("*")):
|
||||
if not edat.is_file() or edat.suffix.lower() != ".edat":
|
||||
continue
|
||||
if edat.name.upper() == "ISO.BIN.EDAT":
|
||||
continue # package wrapper, not DLC content
|
||||
name = _sidecar_name(edat.parent) or edat.stem
|
||||
out.append(_nps_extra_item(edat, "dlc", name))
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user