This is wrapper for vn-ki/anime-downloader + z411/trackma. The goal? Type adl
, hit enter, choose show, watch show, update episode number with as little input as possible.
- fetch currently watching anime from your account;
- option to change account used by trackma;
- option to update local list;
- select multiple anime to be watched in sequence;
- watch any episode from the anime chosen, default is the next episode;
- easily watch all available episodes after last watched, in order to catch up. Also update list accordingly;
- prompt user for watching another show;
- prompt user to add a score to an anime if the anime in question will be set as completed;
- option to skip all user input - works in combination with the other options as well;
- download instead of watching; everything from above still applies;
- do not display verbose vlc output;
- warn user if episode wasn't found.
- vn-ki/anime-downloader - make sure this works. Git version required for
$adl -y
. Settings foranime-downloader
, such as provider, need to be placed in your configuration file, as instructed in the documentation. - z411/trackma - tested with anilist (you need to set up trackma before using adl). Also adl now needs the following PR merge that fixes issue #9;
- junegunn/fzf - needed for show selection;
- frece - optional -
$adl -f
will show most watched anime at the top of the list. By default frece is not used; - MPV - used to play the anime (better integration with anime-downloader). VLC can also be used:
$adl -p vlc
.
Simply download the script in your ~/bin
folder and make it executable.
mkdir -p "$HOME/bin"
wget https://raw.githubusercontent.com/RaitaroH/adl/master/adl -O "$HOME/bin/adl"
chmod +x "$HOME/bin/adl"
If you are using Arch Linux you can install from the Arch Linux User Repository (AUR) thanks to @Baitinq.
adl
also has a function for updating itself from source. To use it run adl -u
or adl --update
and follow the prompts.
If the show doesn't start for you, the script will inform you of this. If you are positive that the episode number has aired, then most likely the provider you are using is NOT yet up-to-date. If you want to try every provider to see where your show is hosted you can try this bash code to cycle through all of them.
adlwrap() {
declare -a provider=(animepahe animeflix animefreak animeflv anistream gogoanime kissanime kisscartoon twist.moe itsaturday)
for k in $provider; do
printf "\n\033[0;31m%s\n" "PROVIDER: $k"
anime dl "$1" --episodes "$2" --provider "$k" --play mpv
done
}
The function above can be used like so: $ adlwrap "SHOW" "EPISODE"
:
$ adlwrap "Gundam: The Origin" "1"
The providers there can be found with anime dl --help
.
Thanks goes to these wonderful people (emoji key):
Baitinq 🐛 💻 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!