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

video doesn't open on mac

Open justchokingaround opened this issue 4 years ago • 5 comments

Metadata (please complete the following information) Version: [1.5.5] OS: [Mac OS Big Sur] Shell: [zsh] Anime: [all anime] (if applicable)

Describe the bug mpv and iina both don't open any video after episode selection

Steps To Reproduce

  1. Run ani-cli narutoor ani-cli -i naruto
  2. Select episode 1

Expected behavior Videos opens up

Screenshots (if applicable) image

Additional context

justchokingaround avatar Jan 28 '22 16:01 justchokingaround

It worked for me if you just open the vlc player in the background first and then run ani-cli.

NOX2912 avatar Jan 28 '22 22:01 NOX2912

It worked for me if you just open the vlc player in the background first and then run ani-cli.

It may work but that is not a good UX

71zenith avatar Jan 29 '22 08:01 71zenith

It worked for me if you just open the vlc player in the background first and then run ani-cli.

you dont even need to have vlc in the background, it opens anyway

GamaG27 avatar Jan 29 '22 09:01 GamaG27

I had the same issue, also running same specs (macOS big sur, ani-cli v. 1.5.5, shell: zsh) I'm thinking it might be something with zsh (v.5.8) or xargs (v. 1.7) Reason: For me, I'm using iina, so I managed to work around it by deleting first few characters of line 438 of the ani-cli script: echo "$player_arguments" | xargs "$player_fn" --referrer="$dpage_link" "$video_url" --title="ani-cli: $anime_id ep $episode" > /dev/ null 2>&1 to "$player_fn" --referrer="$dpage_link" "$video_url" --title="ani-cli: $anime_id ep $episode" > /dev/null 2>&1

Not sure if this helps, but thought it might narrow the issue down. Also, yeah rip options, but I don't really use them so...

raywang999 avatar Jan 30 '22 05:01 raywang999

Not sure if this helps, but thought it might narrow the issue down. Also, yeah rip options, but I don't really use them so...

Thank you for informing, I will try to get rid of xargs as soon as possible

71zenith avatar Jan 30 '22 05:01 71zenith