Skip to content

Commit

Permalink
fix: remove duplicate file extension because wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy committed Nov 20, 2024
1 parent 9331b3d commit f39a684
Showing 1 changed file with 25 additions and 37 deletions.
62 changes: 25 additions & 37 deletions comet/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,55 +180,43 @@ def is_video(title: str):
return title.endswith(
tuple(
[
".mkv",
".mp4",
".avi",
".mov",
".flv",
".wmv",
".webm",
".mpg",
".mpeg",
".m4v",
".3gp",
".mpeg",
".mpg",
".3g2",
".ogv",
".ogg",
".drc",
".gif",
".gifv",
".mng",
".3gp",
".avi",
".flv",
".mov",
".qt",
".wmv",
".yuv",
".rm",
".rmvb",
".asf",
".amv",
".asf",
".drc",
".f4a",
".f4b",
".f4p",
".f4v",
".gif",
".gifv",
".m2v",
".m4p",
".m4v",
".mpg",
".mkv",
".mng",
".mp2",
".mpeg",
".mp4",
".mpe",
".mpv",
".mpg",
".mpeg",
".m2v",
".m4v",
".svi",
".3gp",
".3g2",
".mxf",
".roq",
".nsv",
".flv",
".f4v",
".f4p",
".f4a",
".f4b",
".ogg",
".ogv",
".qt",
".rm",
".rmvb",
".roq",
".svi",
".webm",
".yuv",
]
)
)
Expand Down

0 comments on commit f39a684

Please sign in to comment.