Skip to content

Commit

Permalink
update:修改exts符合新AlistPath.suffix属性
Browse files Browse the repository at this point in the history
  • Loading branch information
Akimio521 committed Jul 26, 2024
1 parent fd0f78f commit 967faac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/extensions/exts.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from typing import Final

VIDEO_EXTS: Final = frozenset(("mp4", "mkv", "flv", "avi", "wmv", "ts", "rmvb", "webm"))
EXTENDED_VIDEO_EXTS: Final = VIDEO_EXTS.union(("strm",))
VIDEO_EXTS: Final = frozenset((".mp4", ".mkv", ".flv", ".avi", ".wmv", ".ts", ".rmvb", ".webm"))
EXTENDED_VIDEO_EXTS: Final = VIDEO_EXTS.union((".strm",))

SUBTITLE_EXTS: Final = frozenset(("ass", "srt", "ssa", "sub"))
SUBTITLE_EXTS: Final = frozenset((".ass", ".srt", ".ssa", ".sub"))

IMAGE_EXTS: Final = frozenset(("png", "jpg"))
IMAGE_EXTS: Final = frozenset((".png", ".jpg"))

NFO_EXTS: Final = frozenset(("nfo",))
NFO_EXTS: Final = frozenset((".nfo",))

0 comments on commit 967faac

Please sign in to comment.