Difference between revisions of "Avdump/Autocreqing"

From AniDB
Jump to navigation Jump to search
Line 27: Line 27:
 
#Right-click avdump.exe, select ''Create Shortcut'
 
#Right-click avdump.exe, select ''Create Shortcut'
 
#Right-click the shortcut, add <tt>-o -ac:{your username}:{your api key}</tt> to the ''Shortcut - Target'' line
 
#Right-click the shortcut, add <tt>-o -ac:{your username}:{your api key}</tt> to the ''Shortcut - Target'' line
#:Example: <tt>"C:\program files\avdump\avdump.exe" -o -ac:myname:ilovecookies</tt>
+
#:Example: <tt>"C:\program files\avdump\avdump.exe" -ac:myname:ilovecookies</tt>
 
#Move shortcut to the SentTo folder.
 
#Move shortcut to the SentTo folder.
 
#:Example, under XP: "C:\Documents and Settings\{Username}\SendTo"
 
#:Example, under XP: "C:\Documents and Settings\{Username}\SendTo"

Revision as of 20:06, 9 May 2011

Auto-creqing is the preferred way to creq files. Not all metadata for files can be creqed this way, though. See How to get started with creqing#Files for more information.

This article explains how to set up Avdump for auto-creqing. If you need further assistance, please visit us at irc://irc.synirc.net/anidb.

Note You have to set a API key in your profile before auto-creqing with Avdump.
Note If you use a firewall you will have to open a port for Avdump first. You can force Avdump to use a fixed port with the option -port
Note It is possible to run more than one instance of Avdump at once, but not more than ten will work OK. At the moment only 10 sessions per IP are allowed by the server, meaning the eleventh instance will terminate the first. Also, if you suffer under NAT, running more than one instance will make it worse.

Windows

CLI

  1. Download Avdump.
  2. Decompress Avdump in some folder wherever you want.
  3. Open a command window (cmd.exe).
  4. Change directory to where Avdump is located.
  5. Execute avdump.exe -ac:{your username}:{your api key} {full path to a file or a folder}

GUI

A simple GUI for Avdump2 is available for CLI skeptics. The GUI package includes the most recent version of Avdump2 as well.

Screenshot of the AVDump2 GUI

Usage

  1. Download the GUI here (portable).
  2. Set your AniDB user name and API password in the options menu.
    1. API password is set on your user settings page: http://anidb.net/perl-bin/animedb.pl?show=profile
    2. Under the "Account" tab, create a UDP API key; it can be anything you want. It is used for Avdump2 to connect to AniDB.
  3. Save the options.
  4. Select what you want to scan from the main menu; files or folders.
  5. Select the stuff you want to scan (... Button) (you can select multiple files at once).
  6. Click Start.

For further Assistance join IRC:anidb and bug Der Idiot.

Send to

  1. Download Avdump and decompress it in some folder wherever you want.
    Example: "C:\Program Files\avdump\"
  2. Right-click avdump.exe, select Create Shortcut'
  3. Right-click the shortcut, add -o -ac:{your username}:{your api key} to the Shortcut - Target line
    Example: "C:\program files\avdump\avdump.exe" -ac:myname:ilovecookies
  4. Move shortcut to the SentTo folder.
    Example, under XP: "C:\Documents and Settings\{Username}\SendTo"
    Example, under Vista: "C:\Users\{Username}\AppData\Roaming\Microsoft\Windows\SendTo"
    {Username} is your Windows username
  5. Right-click any media-file/folder, go to Send To, choose avdump

Linux/FreeBSD

it runs via wine <add more stuff>

Example:

wine ~/.wine/drive_c/windows/system32/avdump.exe -port54321 -ac:your_AniDB_username:your_API_key "c:\anime_file_name.mkv"

For this to work:

  • avdump.exe should be extracted to the path ~/.wine/drive_c/windows/system32/
  • replace 54321 with the UDP port you opened in your firewall
  • replace your_AniDB_username with the user name you login to AniDB with
  • replace your_API_key with the code you set in your profile
  • replace c:\anime_file_name.mkv with the full Windows path and file name of the anime file
  • The anime file must be on one of the DOS devices you have configured in Wine!

Processing DVD's

For processing DVD's it's best to set a small blocksize. It will improve the performance.

Use -bsize:256:1 (The default is 2048)