Tutorial:How to Add Files for Dummies!/The Prolix Addendum: Difference between revisions

fixed links
(Created page with "[//anidb.net Anime DataBase (AniDB)] is a website that provides information about Anime. It keeps track of [//anidb.net/perl-bin/animedb.pl?show=anime&aid=109 show informatio...")
 
(fixed links)
Line 65: Line 65:
In the last box of characters labeled <code>a-z, A-Z, 0-9</code>, highlight 20-30 characters as shown below.
In the last box of characters labeled <code>a-z, A-Z, 0-9</code>, highlight 20-30 characters as shown below.


[[File:grc_pp_20charas_highlight.guide.png|border|i.imgur.com/Z3D68ca.guide.png|]]
[[File:grc_pp_20charas_highlight.guide.png|border|i.imgur.com/Z3D68ca.png|]]


Then copy the selected characters to the clipboard.
Then copy the selected characters to the clipboard.
Line 72: Line 72:
* <code>Ctrl + c</code>
* <code>Ctrl + c</code>


[[File:grc_pp_20characters_copy.guide.png|border|i.imgur.com/3qlV9iu.guide.png]]
[[File:grc_pp_20characters_copy.guide.png|border|i.imgur.com/3qlV9iu.png]]


Change tabs back to AniDB's page.
Change tabs back to AniDB's page.


In the empty field under the <code>UDP API Key</code>, right-click and select <code>Paste</code>. Alternatively: <code>Ctrl + v</code>.<br />
In the empty field under the <code>UDP API Key</code>, right-click and select <code>Paste</code>. Alternatively: <code>Ctrl + v</code>.<br />
[[File:anidb_account_udpAPIKey_paste.guide.png|i.imgur.com/3V61Mo2.guide.png]]
[[File:anidb_account_udpAPIKey_paste.guide.png|i.imgur.com/3V61Mo2.png]]


[[File:anidb_account_udpAPIKey_inserted.guide.png|i.imgur.com/q5yZPHa.guide.png]]
[[File:anidb_account_udpAPIKey_inserted.guide.png|i.imgur.com/q5yZPHa.png]]


Click on the <code>Apply</code> button at the bottom. It should be right above <code>Back</code>.<br />
Click on the <code>Apply</code> button at the bottom. It should be right above <code>Back</code>.<br />
[[File:anidb_account_udpAPIKey_apply.guide.png|i.imgur.com/6761Qg3.guide.png]]<br />
[[File:anidb_account_udpAPIKey_apply.guide.png|i.imgur.com/6761Qg3.png]]<br />
The <code>UDP API Key</code> field should turn into asterisks (*) to show that it has saved it properly.<br />
The <code>UDP API Key</code> field should turn into asterisks (*) to show that it has saved it properly.<br />
[[File:anidb_account_udpAPIKey_asterisks.guide.png|i.imgur.com/l9OzPgu.guide.png]]<br />
[[File:anidb_account_udpAPIKey_asterisks.guide.png|i.imgur.com/l9OzPgu.png]]<br />
The API key should also be saved for use with Avdump2 later on, so lets save it to notepad.
The API key should also be saved for use with Avdump2 later on, so lets save it to notepad.


<code>Windows key</code> or Click on the start menu and type in <code>notepad</code>.
<code>Windows key</code> or Click on the start menu and type in <code>notepad</code>.


[[File:windowskey_notepad.guide.png|i.imgur.com/SVi1A65.guide.png|]]
[[File:windowskey_notepad.guide.png|i.imgur.com/SVi1A65.png|]]


[[File:notepad_apiKey_paste.guide.png|i.imgur.com/juAtU1M.guide.png]]
[[File:notepad_apiKey_paste.guide.png|i.imgur.com/juAtU1M.png]]


Save the file as something descriptive or as <code>anidb_apiKey.txt</code> in your user profile folder (<code>C:\Users\User</code>) or desktop (<code>C:\Users\User\Desktop</code>).
Save the file as something descriptive or as <code>anidb_apiKey.txt</code> in your user profile folder (<code>C:\Users\User</code>) or desktop (<code>C:\Users\User\Desktop</code>).
Line 100: Line 100:
Changes to the API key are updated immediately server-side but old entries are cached for an unspecified amount of time, usually less than 30 minutes. Attempting to use the new key before the old key has been removed from the cache will produce this error in the <code>Avdump2cl.exe</code>:
Changes to the API key are updated immediately server-side but old entries are cached for an unspecified amount of time, usually less than 30 minutes. Attempting to use the new key before the old key has been removed from the cache will produce this error in the <code>Avdump2cl.exe</code>:


[[File:Avdump2cl_apiKey_timeout.guide.png|i.imgur.com/SAZIZt8.guide.png]]
[[File:Avdump2cl_apiKey_timeout.guide.png|i.imgur.com/SAZIZt8.png]]


The Avdump2 GUI will simply not respond when authentication fails. More on this later.
The Avdump2 GUI will simply not respond when authentication fails. More on this later.
Line 157: Line 157:
At the top right next to <code>Search</code> change the search type from <code>all</code> to <code>group</code>.
At the top right next to <code>Search</code> change the search type from <code>all</code> to <code>group</code>.


[[File:anidb_search_group1.guide.png|i.imgur.com/4U31JYW.guide.png]]
[[File:anidb_search_group1.guide.png|i.imgur.com/4U31JYW.png]]


Enter the group name found in the filename and click on <code>Search</code>. In the example below, <code>Doki</code> is used as an example of a group (highlighted for emphasis).
Enter the group name found in the filename and click on <code>Search</code>. In the example below, <code>Doki</code> is used as an example of a group (highlighted for emphasis).
Line 222: Line 222:
* <code>Windows key</code> - Type <code>cmd.exe</code> and press <code>Enter</code>.
* <code>Windows key</code> - Type <code>cmd.exe</code> and press <code>Enter</code>.


[[File:windowskey_cmd.guide.png|i.imgur.com/zV1Hyk3.guide.png]]
[[File:windowskey_cmd.guide.png|i.imgur.com/zV1Hyk3.png]]


[[File:cmd_empty.guide.png|i.imgur.com/A3nbNdc.guide.png]]
[[File:cmd_empty.guide.png|i.imgur.com/A3nbNdc.png]]


Let's change the current path to <code>C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32</code> using <code>cd</code> or <code>pushd</code>.
Let's change the current path to <code>C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32</code> using <code>cd</code> or <code>pushd</code>.
Line 234: Line 234:
Open an explorer window to: <code>C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32</code> and drag and drop the folder icon on the top left of the address bar to the command prompt window.
Open an explorer window to: <code>C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32</code> and drag and drop the folder icon on the top left of the address bar to the command prompt window.


[[File:cmd_drag_folder.guide.png|i.imgur.com/lZGLh8B.guide.png]]
[[File:cmd_drag_folder.guide.png|i.imgur.com/lZGLh8B.png]]


This will populate the command prompt window with the path to the folder automatically, as shown below. This technique can also be used for individual files.
This will populate the command prompt window with the path to the folder automatically, as shown below. This technique can also be used for individual files.


[[File:cmd_drag_folder2.guide.png|i.imgur.com/iAZgyIy.guide.png]]
[[File:cmd_drag_folder2.guide.png|i.imgur.com/iAZgyIy.png]]


With the command prompt window selected, press the <code>Home</code> key or hold the <code>Left Arrow</code> on the keyboard to change the cursor to the position furthest to the left.
With the command prompt window selected, press the <code>Home</code> key or hold the <code>Left Arrow</code> on the keyboard to change the cursor to the position furthest to the left.


[[File:cmd_drag_folder3.guide.png|i.imgur.com/S91EYIk.guide.png]]
[[File:cmd_drag_folder3.guide.png|i.imgur.com/S91EYIk.png]]


Enter <code>cd</code> and a single space.
Enter <code>cd</code> and a single space.


[[File:cmd_drag_folder4.guide.png|i.imgur.com/5rF1tmX.guide.png]]
[[File:cmd_drag_folder4.guide.png|i.imgur.com/5rF1tmX.png]]


Press <code>Enter</code>.
Press <code>Enter</code>.


[[File:cmd_drag_folder5.guide.png|i.imgur.com/OsNtdKK.guide.png]]
[[File:cmd_drag_folder5.guide.png|i.imgur.com/OsNtdKK.png]]


The <code>cd</code> stands for <code>current directory</code> and using it has changed the current directory of the command prompt window to the extracted path of <code>Avdump2CL.exe</code>.
The <code>cd</code> stands for <code>current directory</code> and using it has changed the current directory of the command prompt window to the extracted path of <code>Avdump2CL.exe</code>.
Line 256: Line 256:
It is possible to verify <code>Avdump2CL.exe</code> is in the current directory by listing the directory contents or checking to see if the file itself is present. List the direct contents using <code>dir</code>, or, for Linux, <code>ls</code>.
It is possible to verify <code>Avdump2CL.exe</code> is in the current directory by listing the directory contents or checking to see if the file itself is present. List the direct contents using <code>dir</code>, or, for Linux, <code>ls</code>.


[[File:cmd_drag_folder6.guide.png|i.imgur.com/uLa3xKM.guide.png]]
[[File:cmd_drag_folder6.guide.png|i.imgur.com/uLa3xKM.png]]


Or check for the executable directly by typing the first few characters <code>av</code> and using <code>Tab</code> to cycle through the available options.
Or check for the executable directly by typing the first few characters <code>av</code> and using <code>Tab</code> to cycle through the available options.


[[File:Avdump2cl_help.guide.png|i.imgur.com/jUOqCpk.guide.png]]
[[File:Avdump2cl_help.guide.png|i.imgur.com/jUOqCpk.png]]


Running <code>Avdump2CL.exe</code> without any options will list many available options.
Running <code>Avdump2CL.exe</code> without any options will list many available options.
Line 266: Line 266:
Running <code>Avdump2CL.exe --help</code> will list all of the available options.
Running <code>Avdump2CL.exe --help</code> will list all of the available options.


[[File:Avdump2cl_help2.guide.png|i.imgur.com/fAgurLa.guide.png]]
[[File:Avdump2cl_help2.guide.png|i.imgur.com/fAgurLa.png]]


====Generating ed2k Links Using Avdump2 CLI====
====Generating ed2k Links Using Avdump2 CLI====
Line 283: Line 283:
To check what happens when a file or folder is specified but with no processing options, enter `Avdump2cl.exe', and then a space and then drag a file to the command prompt window.
To check what happens when a file or folder is specified but with no processing options, enter `Avdump2cl.exe', and then a space and then drag a file to the command prompt window.


[[File:Avdump2cl_dragTest1.guide.png|i.imgur.com/5vhdUg4.guide.png]]
[[File:Avdump2cl_dragTest1.guide.png|i.imgur.com/5vhdUg4.png]]


The file name with the full path will be automatically populated in the command prompt window.
The file name with the full path will be automatically populated in the command prompt window.
Line 381: Line 381:
At the very bottom, paste the ed2k link from and click on <code>Next</code>.
At the very bottom, paste the ed2k link from and click on <code>Next</code>.


[[File:anidb_AddFile8.png|i.imgur.com/kSgxaZ9.guide.png]]
[[File:anidb_AddFile8.png|i.imgur.com/kSgxaZ9.png]]


Make sure the episode number is correct. If you happen to know the date the file was first distributed, enter it in <code>dd.mm.yyyy</code> format. When the information looks correct, click on <code>Add Files</code>.
Make sure the episode number is correct. If you happen to know the date the file was first distributed, enter it in <code>dd.mm.yyyy</code> format. When the information looks correct, click on <code>Add Files</code>.


[[File:anidb_AddFile9.guide.png|i.imgur.com/WPtxkqC.guide.png]]
[[File:anidb_AddFile9.guide.png|i.imgur.com/WPtxkqC.png]]


Success!
Success!


[[File:anidb_AddFile10.guide.png|i.imgur.com/MCEXDgz.guide.png]]
[[File:anidb_AddFile10.guide.png|i.imgur.com/MCEXDgz.png]]


To verify the stub-entry exists, go back to the Anime page. In the <code>Group Status</code> Section, click on the expand button for the group.
To verify the stub-entry exists, go back to the Anime page. In the <code>Group Status</code> Section, click on the expand button for the group.


[[File:anidb_AddFile11.guide.png|i.imgur.com/TPvgDzm.guide.png]]
[[File:anidb_AddFile11.guide.png|i.imgur.com/TPvgDzm.png]]


This will populate the <code>Episodes</code> section with file entries for that group. In the image below, episode 1 of Log Horizon has 2 file entries for the selected group. The top entry has already had the meta-information filled in by Avdump2. The bottom entry is the stub that was just created.
This will populate the <code>Episodes</code> section with file entries for that group. In the image below, episode 1 of Log Horizon has 2 file entries for the selected group. The top entry has already had the meta-information filled in by Avdump2. The bottom entry is the stub that was just created.


[[File:anidb_AddFile12.guide.png|i.imgur.com/Wf8zsGx.guide.png]]
[[File:anidb_AddFile12.guide.png|i.imgur.com/Wf8zsGx.png]]


* Notice that the audio track, resolution and subtitle information was filled in by Avdump2 automatically for the top file where as this information is not yet correct for the bottom file.
* Notice that the audio track, resolution and subtitle information was filled in by Avdump2 automatically for the top file where as this information is not yet correct for the bottom file.
Line 415: Line 415:
The auth flag has the following syntax:
The auth flag has the following syntax:


<code>Avdump2cl.exe --Auth:[username]:[api_key] [file/folder]</code>
<code>Avdump2cl.exe --Auth=[username]:[api_key] [file/folder]</code>


<code>username</code> in the above command should be subtituted with your AniDB username. The <code>api_key</code> is the character string that was specified in the AniDB profile in Part A. Notice the colon <code>:</code> in between the <code>username</code> and <code>api_key</code>. If following this tutorial, it should be available at <code>C:\Users\User\anidb_apiKey.txt</code> or <code>C:\Users\User\Desktop\anidb_apiKey.txt</code>. Copy it and right-click paste it into the command prompt:
<code>username</code> in the above command should be subtituted with your AniDB username. The <code>api_key</code> is the character string that was specified in the AniDB profile in Part A. Notice the colon <code>:</code> in between the <code>username</code> and <code>api_key</code>. If following this tutorial, it should be available at <code>C:\Users\User\anidb_apiKey.txt</code> or <code>C:\Users\User\Desktop\anidb_apiKey.txt</code>. Copy it and right-click paste it into the command prompt:


[[File:Avdump2cl_auth1.guide.png|i.imgur.com/GfGPGUW.guide.png]]
[[File:Avdump2cl_auth1.guide.png|i.imgur.com/GfGPGUW.png]]


[[File:Avdump2cl_auth2.guide.png|i.imgur.com/KSSvMjP.guide.png]]
[[File:Avdump2cl_auth2.guide.png|i.imgur.com/KSSvMjP.png]]


Enter a space and then drag and drop the file to add to AniDB into the command prompt window as before:
Enter a space and then drag and drop the file to add to AniDB into the command prompt window as before:


[[File:Avdump2cl_auth3.guide.png|i.imgur.com/LYSmR8t.guide.png]]
[[File:Avdump2cl_auth3.guide.png|i.imgur.com/LYSmR8t.png]]


The command below should be sufficent to submit the meta-data.
The command below should be sufficent to submit the meta-data.


[[File:Avdump2cl_auth4.guide.png|i.imgur.com/c0qq0hp.guide.png]]
[[File:Avdump2cl_auth4.guide.png|i.imgur.com/c0qq0hp.png]]


Press <code>Enter</code>. If it works, the following should appear after processing completes:
Press <code>Enter</code>. If it works, the following should appear after processing completes:


[[File:Avdump2cl_submitVerify.guide.png|i.imgur.com/LIGgXjf.guide.png]]
[[File:Avdump2cl_submitVerify.guide.png|i.imgur.com/LIGgXjf.png]]


The line that says:<br />
The line that says:<br />
Line 444: Line 444:


If you get an error like the following:<br />
If you get an error like the following:<br />
[[File:Avdump2cl_authFail1.guide.png|i.imgur.com/QAqGtbt.guide.png]]
[[File:Avdump2cl_authFail1.guide.png|i.imgur.com/QAqGtbt.png]]


* Double check the API key is correct.
* Double check the API key is correct.
Line 453: Line 453:
If you get an error like the following:
If you get an error like the following:


[[File:Avdump2cl_authFail2.guide.png|i.imgur.com/oN118Ln.guide.png]]
[[File:Avdump2cl_authFail2.guide.png|i.imgur.com/oN118Ln.png]]


* Notice the error is from <code>ACReq.Authentication</code>. This indicates something to do with authentication caused the error.
* Notice the error is from <code>ACReq.Authentication</code>. This indicates something to do with authentication caused the error.
Line 461: Line 461:
Assuming dump submission succeeds, the AniDB page for the file will likely show the following:
Assuming dump submission succeeds, the AniDB page for the file will likely show the following:


[[File:anidb_AddFile12.guide.png|i.imgur.com/Wf8zsGx.guide.png]]
[[File:anidb_AddFile12.guide.png|i.imgur.com/Wf8zsGx.png]]


In other words, while the correct meta-data has been submitted as part of a dump to AniDB, the information for that file has not changed.
In other words, while the correct meta-data has been submitted as part of a dump to AniDB, the information for that file has not changed.
Line 469: Line 469:
For the file above, this is what the information looked like less than 24-hours later:
For the file above, this is what the information looked like less than 24-hours later:


[File:Avdump2cl_submitVerifyComplete.guide.png|i.imgur.com/nwrSeBV.guide.png]
[[File:Avdump2cl_submitVerifyComplete.guide.png|i.imgur.com/nwrSeBV.png]]


==== Automating Avdump2 CLI ====
==== Automating Avdump2 CLI ====
Line 486: Line 486:
Notice that <code>C:\Users\User\Downloads\Log Horizon</code> needs quotation marks <code>&quot; &quot;</code> surrounding it because <code>Log Horizon</code> has a space. As long as there are no spaces, quotation marks do not have to be used. Without quotation marks, <code>Avdump2cl.exe</code> will treat and process all of the files in <code>C:\Users\User\Downloads\Log</code> and also all of the files inside the <code>Horizon</code> folder. Since neither of these folders exist, the commad will fail:
Notice that <code>C:\Users\User\Downloads\Log Horizon</code> needs quotation marks <code>&quot; &quot;</code> surrounding it because <code>Log Horizon</code> has a space. As long as there are no spaces, quotation marks do not have to be used. Without quotation marks, <code>Avdump2cl.exe</code> will treat and process all of the files in <code>C:\Users\User\Downloads\Log</code> and also all of the files inside the <code>Horizon</code> folder. Since neither of these folders exist, the commad will fail:


[[File:Avdump2cl_syntaxFail1.guide.png|i.imgur.com/7wV8R5O.guide.png]]
[[File:Avdump2cl_syntaxFail1.guide.png|i.imgur.com/7wV8R5O.png]]


If using the drag and drop technique instead of copy-paste, quotation marks will automatically be added as appropriate.
If using the drag and drop technique instead of copy-paste, quotation marks will automatically be added as appropriate.
Line 494: Line 494:
An alternative approach is to create a shell script that will invoke <code>Avdump2cl.exe</code> with the correct syntax automatically. If anything bad happens, like authentication or syntax errors, it will be easy to solve because the correct syntax can just be copied from the text file back to a normal command prompt.
An alternative approach is to create a shell script that will invoke <code>Avdump2cl.exe</code> with the correct syntax automatically. If anything bad happens, like authentication or syntax errors, it will be easy to solve because the correct syntax can just be copied from the text file back to a normal command prompt.


Open notepad and copy-paste the following cryptic text into a file called <code>AniDBUpdate.bat</code> or just download it [here].
Open notepad and copy-paste the following cryptic text into a file called <code>AniDBUpdate.bat</code>.


<pre>
<pre>
Line 500: Line 500:
set username=putUsernameHere
set username=putUsernameHere
set api_key=putApiKeyHere
set api_key=putApiKeyHere
set pathToAvdump2=C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32
set pathToAVDump2CL=C:\Users\User\Downloads\avdump-gui-2.3.2-portable\appdata\avdump-gui-2.3.2.win32


set mode=auth
set mode=auth
Line 512: Line 512:
goto usage)
goto usage)


if not exist &quot;%pathToAvdump2%\Avdump2cl.exe&quot; (echo.
if not exist &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; (echo.
echo  &quot;%pathToAvdump2%\Avdump2cl.exe&quot; does not exist
echo  &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; does not exist
goto usage)
goto usage)
if /i &quot;%username%&quot; equ &quot;putUsernameHere&quot; goto usage
if /i &quot;%username%&quot; equ &quot;putUsernameHere&quot; goto usage
if /i &quot;%api_key%&quot; equ &quot;putApiKeyHere&quot; goto usage
if /i &quot;%api_key%&quot; equ &quot;putApiKeyHere&quot; goto usage


if /i &quot;%mode%&quot; equ &quot;exp&quot; &quot;%pathToAvdump2%\Avdump2cl.exe&quot; --Exp=&quot;%~dp1\ed2k-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
if /i &quot;%mode%&quot; equ &quot;exp&quot; &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; --Exp=&quot;%~dp1\ed2k-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
::if /i &quot;%mode%&quot; equ &quot;exp&quot; &quot;%pathToAvdump2%\Avdump2cl.exe&quot; --Exp=&quot;%userprofile%\Desktop\ed2k-Link-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
::if /i &quot;%mode%&quot; equ &quot;exp&quot; &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; --Exp=&quot;%userprofile%\Desktop\ed2k-Link-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
if /i &quot;%mode%&quot; equ &quot;auth&quot; &quot;%pathToAvdump2%\Avdump2cl.exe&quot; --Auth=&quot;%username%:%api_key%&quot; --Exp=&quot;%~dp1\ed2k-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
if /i &quot;%mode%&quot; equ &quot;auth&quot; &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; --Auth=&quot;%username%:%api_key%&quot; --Exp=&quot;%~dp1\ed2k-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
::if /i &quot;%mode%&quot; equ &quot;auth&quot; &quot;%pathToAvdump2%\Avdump2cl.exe&quot; --Auth=&quot;%username%:%api_key%&quot; --Exp=&quot;%userprofile%\Desktop\ed2k-Link-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;
::if /i &quot;%mode%&quot; equ &quot;auth&quot; &quot;%pathToAVDump2CL%\Avdump2cl.exe&quot; --Auth=&quot;%username%:%api_key%&quot; --Exp=&quot;%userprofile%\Desktop\ed2k-Link-%~n1.%random%.txt&quot; &quot;%~1&quot; &quot;%~2&quot; &quot;%~3&quot; &quot;%~4&quot; &quot;%~5&quot; &quot;%~6&quot; &quot;%~7&quot; &quot;%~8&quot; &quot;%~9&quot;


goto end
goto end
Line 543: Line 543:


:end
:end


</pre>
</pre>
[[File:AniDBUpdate_1.guide.png|i.imgur.com/3glAjpw.guide.png]]
[[File:AniDBUpdate_1.guide.png|i.imgur.com/3glAjpw.png]]


The three highlighted items need to be changed before using the script. Update the username and API key appropriately. Make sure there are no trailing whitespaces in either the username or api_key. &quot;Name&quot; will work but &quot;Name &quot; will not. Example:
The three highlighted items need to be changed before using the script. Update the username and API key appropriately. Make sure there are no trailing whitespaces in either the username or api_key. &quot;Name&quot; will work but &quot;Name &quot; will not. Example:


[[File:AniDBUpdate_2.guide.png|i.imgur.com/OhfWiuG.guide.png]]
[[File:AniDBUpdate_2.guide.png|i.imgur.com/OhfWiuG.png]]


For the pathToAvdump2 entry, the path should not include a trailing <code>\</code>.
For the pathToAvdump2 entry, the path should not include a trailing <code>\</code>.
Line 562: Line 563:
1) Hardest: Command prompt method: Navigate to the correct directory and type <code>AniDBUpdate.bat</code>.
1) Hardest: Command prompt method: Navigate to the correct directory and type <code>AniDBUpdate.bat</code>.


[[File:AniDBUpdate_cmd.guide.png|i.imgur.com/3N0Sg5f.guide.png]]
[[File:AniDBUpdate_cmd.guide.png|i.imgur.com/3N0Sg5f.png]]


2) Drag and drop method: Drag and drop a file or folder onto the batch file.
2) Drag and drop method: Drag and drop a file or folder onto the batch file.


[[File:AniDBUpdate_drag1.guide.png|i.imgur.com/eLFgKWf.guide.png]]
[[File:AniDBUpdate_drag1.guide.png|i.imgur.com/eLFgKWf.png]]
<br />
<br />
[[File:AniDBUpdate_drag2.guide.png|i.imgur.com/sxIleWJ.guide.png]]
[[File:AniDBUpdate_drag2.guide.png|i.imgur.com/sxIleWJ.png]]


3) Easiest: Send-to method: Use the right-click <code>Send to</code> context menu.
3) Easiest: Send-to method: Use the right-click <code>Send to</code> context menu.


[[File:AniDBUpdate_drag1.guide.png|i.imgur.com/kuUEJsh.guide.png]]
[[File:AniDBUpdate_sendToExample.guide.png|i.imgur.com/kuUEJsh.png]]


For the send-to method to work, the file, or a shortcut to it, must be placed at:<br />
For the send-to method to work, the file, or a shortcut to it, must be placed at:<br />
Line 582: Line 583:
# <code>Windows key + r</code>
# <code>Windows key + r</code>
# <code>Ctrl + v</code> to Paste the above contents
# <code>Ctrl + v</code> to Paste the above contents
## [[File:AniDBUpdate_sendTo1.guide.png|i.imgur.com/Dw7Ckdc.guide.png]]
## [[File:AniDBUpdate_sendTo1.guide.png|i.imgur.com/Dw7Ckdc.png]]
# Press <code>Enter</code>
# Press <code>Enter</code>
# Right-Click - create a new shortcut
# Right-Click - create a new shortcut
## [[File:AniDBUpdate_sendTo2.guide.png|i.imgur.com/VsyL3TV.guide.png]]
## [[File:AniDBUpdate_sendTo2.guide.png|i.imgur.com/VsyL3TV.png]]
# Move the shortcut from where it was created to <code>\SentTo</code>.
# Move the shortcut from where it was created to <code>\SentTo</code>.
## [[File:AniDBUpdate_sendTo3.guide.png|i.imgur.com/iUQCorO.guide.png]]
## [[File:AniDBUpdate_sendTo3.guide.png|i.imgur.com/iUQCorO.png]]
# Rename the shortcut appropriately.
# Rename the shortcut appropriately.


Line 613: Line 614:
# Specify the username and api-key.
# Specify the username and api-key.
# Use the <code>Files</code> and <code>Folder</code> buttons too add files to process.
# Use the <code>Files</code> and <code>Folder</code> buttons too add files to process.
## [[File:Avdump2gui_1.guide.png|i.imgur.com/3ypUEcP.guide.png]]
## [[File:Avdump2gui_1.guide.png|i.imgur.com/3ypUEcP.png]]
# When complete, click start to see what happens.
# When complete, click start to see what happens.
## If/When nothing happens check for authentication errors using <code>Avdump2CL.exe</code> using the instructions provided above.
## If/When nothing happens check for authentication errors using <code>Avdump2CL.exe</code> using the instructions provided above.
# If it works, nothing will happen for a while, and then eventually ed2k links will appear in the ed2k export window. The dump data should have been submitted to AniDB in the background, although there is no way to check.
# If it works, nothing will happen for a while, and then eventually ed2k links will appear in the ed2k export window. The dump data should have been submitted to AniDB in the background, although there is no way to check.
## [[File:Avdump2gui_2.guide.png|i.imgur.com/r52bp7D.guide.png]]
## [[File:Avdump2gui_2.guide.png|i.imgur.com/r52bp7D.png]]


The ed2k links in the export window can now be submitted to AniDB. Detailed instructions for this are provided above.
The ed2k links in the export window can now be submitted to AniDB. Detailed instructions for this are provided above.
79

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.