Giter VIP home page Giter VIP logo

adl's Introduction

adl

All Contributors

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.

Features

  • 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;
  • use local media instead of streaming. Requires identical folder name to anilist anime title, ex: Fruits Basket: 2nd Season should be a folder in animedir variable, otherwise adl will not find the anime folder. Considering random episode numbering, fzf is used for episode selecting.
  • do not display verbose vlc output;
  • warn user if episode wasn't found.

Requirements

  • vn-ki/anime-downloader - make sure this works. Git version required for $adl -y. Settings for anime-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.

Installation

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.

Updating

adl also has a function for updating itself from source. To use it run adl -u or adl --update and follow the prompts.

Issues

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.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Baitinq
Baitinq

๐Ÿ› ๐Ÿ’ป ๐Ÿค”

This project follows the all-contributors specification. Contributions of any kind welcome!

adl's People

Contributors

allcontributors[bot] avatar baitinq avatar raitaroh avatar vednoc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.