pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.34k stars 530 forks source link

Adding the option to get the direct link in plain text #1377

Closed sudo-userv2 closed 3 days ago

sudo-userv2 commented 4 days ago

Adding the option to get the direct link would allow the user to play the video on any video player they wish, or use the download manager they like + it is really convenient for sharing

It seems very easy to implement and I see no reason to not do that, of course it is not high priority but having it would be cool

CoolnsX commented 3 days ago
ANI_CLI_PLAYER=debug ani-cli <your_anime>
sudo-userv2 commented 3 days ago

Can't we add it as a flag and i also noticed that it doesnt work with a range, since the window get cleared as soon as the link get printed

Derisis13 commented 3 days ago

Please elaborate why having range selection and raw url output would be an improvement If you want URLs, you're either making a wrapper script, in which case I'd recommend doing the range selection on your own, outside of ani-cli, and if you want to use a player we directly not support, check the environment variables in the manpage.

Having debug mode (as we often refer to raw link output) as a flag is a feature we don't wish to implement. It's too nieche and it'd confuse more than help.