Ignore .nodvdnav files instead of .dvdnav

This commit is contained in:
Julian Mutter 2023-03-16 09:09:45 +01:00
parent b0c510dbe3
commit cc37488ebb

View File

@ -171,7 +171,7 @@ def list_ripped_dvds(dvd_type):
dvd_titles = filter(lambda title: not title.endswith(".err.log"), dvd_titles)
dvd_titles = filter(lambda title: not title.endswith(".log"), dvd_titles)
dvd_titles = filter(lambda title: not title.endswith(".titles"), dvd_titles)
dvd_titles = filter(lambda title: not title.endswith(".dvdnav"), dvd_titles)
dvd_titles = filter(lambda title: not title.endswith(".nodvdnav"), dvd_titles)
return map(
lambda dvd_title: Dvd(dvd_type, os.path.join(path, dvd_title)), dvd_titles
)