A tool for adding anime to your anidb list.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
x3 605f47f761
Add api_cmd_encrypt and use in api_init_encrypt
hace 2 años
src Add api_cmd_encrypt and use in api_init_encrypt hace 2 años
subm init hace 2 años
.gitignore init hace 2 años
.gitmodules init hace 2 años
Makefile init hace 2 años
README.md Add api_cmd_encrypt and use in api_init_encrypt hace 2 años

README.md

Caniadd will add files to an AniDB list.

None of the already existing clients did exactly what I wanted, so here I am. Caniadd is still in developement, but is is already usable. That is, it implements logging in, encryption, ed2k hashing and adding files, basic ratelimit, keepalive, and file caching.

In the future I want to write an mpv plugin that will use the cached database from caniadd to automatically mark an episode watched on AniDB. That will be the peak comfy animu list management experience.

Install

You'll need to download the developement package for sqlite3. Caniadd also needs pthreads, but that's probably already there.

git clone --recurse-submodules https://git.lain.church/x3/caniadd
cd caniadd
make
./caniadd -h

Things to do:

  • NAT handling
  • Multi thread hashing
  • Read/write timeout in net
  • Decode escaping from server
  • Use a config file
  • Add newline escape to server
  • Better field parsing, remove the horrors at code 310
  • Add myliststats cmd as --stats arg
  • Add support for compression
  • Implement session saving between different invocations, and session destroying
  • Automatically remove found anime from wishlist
  • Make deleting from mylist possible, with
    • Name regexes,
    • If file is not found at a scan
  • Buffer up mylistadd api cmds when waiting for ratelimit
  • Handle C-c gracefully at any time
  • Write -h page, and maybe a man page too