WebAOM: Difference between revisions

32 bytes removed ,  15 December 2005
m
Neaten
m (updated on anidb.net)
m (Neaten)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
'''Author:''' [[User:epoximator|epoximator]]<br>
 
'''OS:''' Java VM<br>
WebAOM is a simple java applet/application that hash files and add them to your [[mylist]] at AniDB. It is made for those who don't want to or cannot install [[AOM|Anidb-O-Matic]]. The name may be inaccurate/misleading since it does not replace AOM in any way. It is based on the [[UDP API Definition|UDP API]] and is therefore limited.
 
All questions, feature requests and bug reports can be [http://www.anidb.net/forum/privmsg.php?mode=post&u=2555 pm'ed] to [[User:epoximator|epoximator]].
 
'''Author:''' [[User:epoximator|epoximator]]
 
'''OS:''' Java VM
 
'''Main Features:'''
'''Main Features:'''
:* ed2k, crc32, md5, sha1, tth hashing<br>
:* ed2k, crc32, md5, sha1, tth hashing
:* file add to [[mylist]]<br>
:* file add to [[mylist]]
:* custom file renaming and moving<br>
:* custom file renaming and moving
:* local / private mysql database support<br>
:* local / private mysql database support
'''Current Version hosted by AniDB:''' (renaming broken)
 
'''Current Version hosted by AniDB:'''
:* WebAOM v1.15a (beta) [http://www.anidb.net/client/webaom.htm Applet] | [http://www.anidb.net/client/webaom.jar JAR] | [http://www.anidb.net/client/webaom.jnlp Webstart]
:* WebAOM v1.15a (beta) [http://www.anidb.net/client/webaom.htm Applet] | [http://www.anidb.net/client/webaom.jar JAR] | [http://www.anidb.net/client/webaom.jnlp Webstart]
'''Latest Version hosted by epoximator:'''
'''Latest Version hosted by epoximator:'''
:* WebAOM v1.15a (beta) [http://www.stud.ntnu.no/~jovetlea/webaom/index.htm Applet] | [http://www.stud.ntnu.no/~jovetlea/webaom/webaom.jar JAR] | [http://www.stud.ntnu.no/~jovetlea/webaom/webaom.jnlp Webstart]
:* WebAOM v1.15a (beta) [http://www.stud.ntnu.no/~jovetlea/webaom/index.htm Applet] | [http://www.stud.ntnu.no/~jovetlea/webaom/webaom.jar JAR] | [http://www.stud.ntnu.no/~jovetlea/webaom/webaom.jnlp Webstart]
'''Old versions:'''
'''Old versions:'''
:* http://www.hostunlim.com/epoximator/hist
:* http://www.hostunlim.com/epoximator/hist
== Introduction ==
WebAOM is a simple java applet/application that hash files and add them to your [[mylist]] at AniDB. It is made for those who don't want to or cannot install [[AOM|Anidb-O-Matic]]. The name may be inaccurate/misleading since it does not replace AOM in any way. It is based on the [[UDP API Definition|UDP API]] and is therefore limited.
All questions, feature requests and bug reports can be [http://www.anidb.net/forum/privmsg.php?mode=post&u=2555 pm'ed] to [[User:epoximator|epoximator]].


== Screenshots ==
== Screenshots ==


[[image:Webaom01.png|thumb|left|Options]]
<gallery>
[[image:Webaom02.png|thumb|none|Log]]
image:Webaom01.png|Options
image:Webaom02.png|Log
</gallery>


== Documentation ==


== Documentation ==
=== Buttons ===
===Buttons===
:* Wiki : Link to this page.
:* Wiki : Link to this page.
:* Files... : Add specific files for hashing. (Only those with extensions specified in "Wanted File Extensions" are added.)
:* Files... : Add specific files for hashing. (Only those with extensions specified in "Wanted File Extensions" are added.)
Line 35: Line 43:
:* Ping AniDB : Check reachability to AniDB. (UDP server that is.)
:* Ping AniDB : Check reachability to AniDB. (UDP server that is.)


===Tabs===
=== Tabs ===
:* Rules: Rule system. See Move/Rename system.
:* Rules: Rule system. See Move/Rename system.
:* Options : All options.
:* Options : All options.
Line 44: Line 52:
:* Debug : Low level communication and exceptions are printed here.
:* Debug : Low level communication and exceptions are printed here.


===Options===
=== Options ===
:* Connection
:* Connection
::*AniDB Host : URL to AniDB can be set here.
::*AniDB Host : URL to AniDB can be set here.
Line 72: Line 80:
::* Replace illegal characters : Replaces illegal characters defined in the table beneath. Also used to change ' ' to '_'.
::* Replace illegal characters : Replaces illegal characters defined in the table beneath. Also used to change ' ' to '_'.
::* Hashes in uppercase : Uppercase hashes in filename. Only possible when own style is selected.
::* Hashes in uppercase : Uppercase hashes in filename. Only possible when own style is selected.
===Job Menu (Popup)===
 
=== Job Menu (Popup) ===
:* Pause : Pause / unpause job.
:* Pause : Pause / unpause job.
:* Show Info : Show info about a file/job. (double click)
:* Show Info : Show info about a file/job. (double click)
Line 87: Line 96:


== Move/rename system ==
== Move/rename system ==
A new feature from 1.09 is moving and renaming of files based on rules. This is implemented to ease administration of your anime files. The system may seem confusing at first, but it is actually pretty simple. Since the system performs virtually no error checking on the input you provide, it is recommended that you understand the system fully before using it.  
A new feature from 1.09 is moving and renaming of files based on rules. This is implemented to ease administration of your anime files. The system may seem confusing at first, but it is actually pretty simple. Since the system performs virtually no error checking on the input you provide, it is recommended that you understand the system fully before using it.  


Notice that the system is under development. Expect radical changes. Feel free to request changes / comment.
Notice that the system is under development. Expect radical changes. Feel free to request changes / comment.


===Scripting===
=== Scripting ===
For renaming and moving files WebAOM needs schemas. A schema i just a string with tags, where each tag corresponds to file/anime data. Ex: "%ann - %enr [%crc]". (See tag chart below.) The point with the rule system is that you can customize these schemas so different types of files can be renamed different ways, and moved to different locations. To build the schemas you have to write two simple scripts; one for renaming and one for moving. Example on rename schema:
For renaming and moving files WebAOM needs schemas. A schema i just a string with tags, where each tag corresponds to file/anime data. Ex: "%ann - %enr [%crc]". (See tag chart below.) The point with the rule system is that you can customize these schemas so different types of files can be renamed different ways, and moved to different locations. To build the schemas you have to write two simple scripts; one for renaming and one for moving. Example on rename schema:


IF A(Naruto) DO FAIL //Do not rename file if it is Naruto
<pre> IF A(Naruto) DO FAIL //Do not rename file if it is Naruto
  DO ADD '%eng (%ann) - %enr - %epn ' //Add the base, same for all files
  DO ADD '%eng (%ann) - %enr - %epn ' //Add the base, same for all files
  IF D(japanese);S(english) DO ADD '(SUB)' //Add (SUB) if the file is subbed in english
  IF D(japanese);S(english) DO ADD '(SUB)' //Add (SUB) if the file is subbed in english
Line 100: Line 110:
  IF G(!unknown) DO ADD '[%grp]' //Add group name if it is not unknown
  IF G(!unknown) DO ADD '[%grp]' //Add group name if it is not unknown
  DO ADD '(%CRC)' //Always add crc
  DO ADD '(%CRC)' //Always add crc
  #this would create the schema "%eng (%ann) - %enr - %epn (SUB)[%grp](%CRC)" for a normal subbed file.
  #this would create the schema "%eng (%ann) - %enr - %epn (SUB)[%grp](%CRC)" for a normal subbed file.</pre>


>'< around parts is not required. Example on move schema:
>'< around parts is not required. Example on move schema:


IF R(DVD,HKDVD) DO ADD 'M:\dvd\'
<pre> IF R(DVD,HKDVD) DO ADD 'M:\dvd\'
  ELSE DO ADD 'N:\tv\'
  ELSE DO ADD 'N:\tv\'
  IF Y(0-1999) DO ADD '199X\%year - %ann [%eps]'
  IF Y(0-1999) DO ADD '199X\%year - %ann [%eps]'
  ELSE DO ADD '%year\%ann [%eps]'
  ELSE DO ADD '%year\%ann [%eps]'
  IF G(!unknown) DO ADD '[%grp]\'
  IF G(!unknown) DO ADD '[%grp]\'
  ELSE DO ADD '\'
  ELSE DO ADD '\'</pre>


Syntax for each line in a script:
Syntax for each line in a script:
Line 121: Line 131:
::* !!! CASE SENSITIVE !!!
::* !!! CASE SENSITIVE !!!


<b>Possible tests</b><br>
'''Possible tests'''
:* A = Anime (text/number) [*/#] Anime Name/Title (Romaji/Kanji/English) or aid.
:* A = Anime (text/number) [*/#] Anime Name/Title (Romaji/Kanji/English) or aid.
:* G = Group (text/number) [unknown, */#] Short name or gid.
:* G = Group (text/number) [unknown, */#] Short name or gid.
Line 135: Line 145:
There is atm no support for wildcards, but lists (A,B,C,D), for strings and numbers, and ranges (0-1999,2001-3000), on numbers, is supported. ',' means OR. '!' means NOT. ';' means AND.
There is atm no support for wildcards, but lists (A,B,C,D), for strings and numbers, and ranges (0-1999,2001-3000), on numbers, is supported. ',' means OR. '!' means NOT. ';' means AND.


===Tags===
=== Tags ===
   %ann Anime Name / Title
   %ann Anime Name / Title
   %kan Jap. Kanji Title
   %kan Jap. Kanji Title
476

edits

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