ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

VLC tries to load all files from directory if $video_url is null

Open galloway opened this issue 4 years ago • 2 comments

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.

galloway avatar Jan 14 '22 03:01 galloway

I've created a simple PR #335 to check for this and error out instead.

galloway avatar Jan 14 '22 04:01 galloway

I just realized this is actually a duplicate of #323 .

galloway avatar Jan 14 '22 04:01 galloway