A tool for adding anime to your anidb list.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 年前
2 年前
2 年前
2 年前
2 年前
2 年前
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Caniadd will add files to an AniDB list.
  2. None of the already existing clients did exactly what I wanted, so here I am.
  3. Caniadd is still in developement, but is is already usable.
  4. That is, it implements logging in, encryption, ed2k hashing and adding files, basic ratelimit, keepalive, and file caching.
  5. 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.
  6. That will be the peak *comfy* animu list management experience.
  7. # Install
  8. You'll need to download the developement package for sqlite3.
  9. Caniadd also needs pthreads, but that's probably already there.
  10. ```bash
  11. git clone --recurse-submodules https://git.lain.church/x3/caniadd
  12. cd caniadd
  13. make
  14. ./caniadd -h
  15. ```
  16. ## Things to do:
  17. - NAT handling
  18. - Multi thread hashing
  19. - Read/write timeout in net
  20. - Decode escaping from server
  21. - Use a config file
  22. - Add newline escape to server
  23. - Add myliststats cmd as --stats arg
  24. - Add support for compression
  25. - Implement session saving between different invocations, and session destroying
  26. - Automatically remove found anime from wishlist
  27. - Make deleting from mylist possible, with
  28. - Name regexes,
  29. - If file is not found at a scan
  30. - Buffer up mylistadd api cmds when waiting for ratelimit
  31. - Handle C-c gracefully at any time
  32. - Rework cmd line args
  33. - Should be multiple 'menus' like `caniadd add [paths...]`, `caniadd uptime`, `caniadd watched`...
  34. - After some time passes between now and cache moddate and it's not watched, then query and update it
  35. - Update cache entry is modify is used
  36. - Pretty hashing with color and progress bars and the other fancy stuff
  37. - Keep track of files not in AniDB. Maybe with a NULL lid?
  38. - Write -h page, and maybe a man page too