Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

xyzz/pyanidb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyAniDB
=========

PyAniDB is a client for AniDB's UDP API. (http://anidb.net/)

Installation
============

For manual installation; run:

  ./setup.py build
  sudo ./setup.py install

Usage
=====

usage: anidb.py [options]

options:
  -h, --help            show this help message and exit
  -u USERNAME, --username=USERNAME
                        AniDB username.
  -p PASSWORD, --password=PASSWORD
                        AniDB password.
  -r, --recursive       Recurse into directories.
  -s SUFFIX, --suffix=SUFFIX
                        File suffix for recursive matching.
  -i, --identify        Identify files.
  -a, --add             Add files to mylist.
  -n, --rename          Rename files.
  -f FORMAT, --format=FORMAT
                        Filename format.

Example:

$ anidb.py -ar the\ third/
  Logged in as user zyp.
  Hashed: ed2k://|file|the third/[Ayu]_The_Third_-_Aoi_Hitomi_no_Shoujo_-_01_[02F71A89].avi|241101858|a282df72fe8bbb6a241c740566e46f91|
  Added file: the third/[Ayu]_The_Third_-_Aoi_Hitomi_no_Shoujo_-_01_[02F71A89].avi
  Hashed: ed2k://|file|the third/[Ayu]_The_Third_-_Aoi_Hitomi_no_Shoujo_-_02_[DDFB905E].avi|242085640|5c857e5dc73c88108f50f7566aeaa977|
  Added file: the third/[Ayu]_The_Third_-_Aoi_Hitomi_no_Shoujo_-_02_[DDFB905E].avi
  All operations finished.