Closed galloway closed 2 years ago
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.
nohup vlc --http-referrer=https://sbplay2.com "" > /dev/null 2>&1 &
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 .
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.