mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-02 07:50:04 -08:00
feat(mpv): add typing for mpv title option
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user