Skip to content

Commit

Permalink
fix moviefiles in collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Winterbird committed Sep 4, 2023
1 parent 551b84b commit 6b78a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adbb/jellyfin.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def create_anime_collection(
if not files:
continue
if 'Movies' in root:
for f in files:
for f in [x for x in files if x.rsplit('.', 1)[-1].lower() in adbb.utils.SUPPORTED_FILETYPES]:
my_path = os.path.join(root, f)
if my_path in added_paths:
continue
Expand Down

0 comments on commit 6b78a10

Please sign in to comment.