feat(mpv): add typing for mpv title option

This commit is contained in:
Benex254
2024-08-05 09:47:03 +03:00
parent 43cc1f6cb3
commit a5901d3bf0

View File

@@ -2,7 +2,7 @@ import shutil
import subprocess
def mpv(link, title="anime", *custom_args):
def mpv(link, title: None | str = "anime", *custom_args):
MPV = shutil.which("mpv")
if not MPV:
args = [