ani-cli
ani-cli copied to clipboard
VLC tries to load all files from directory if $video_url is null
When trying to play an episode through ani-cli and the $video_url is empty, the command that launches the player loads all files in the working directory:
nohup vlc --http-referrer=https://sbplay2.com > /dev/null 2>&1 &
~~Please note that running the above command directly from the terminal does not seem to have the same effect on my system.~~
EDIT:
nohup vlc --http-referrer=https://sbplay2.com "" > /dev/null 2>&1 &
instead recreates the issue.
I've created a simple PR #335 to check for this and error out instead.
I just realized this is actually a duplicate of #323 .