546
edits
mNo edit summary |
Epoximator (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
:* file add to [[mylist]]<br> | :* file add to [[mylist]]<br> | ||
:* custom file renaming and moving<br> | :* custom file renaming and moving<br> | ||
:* local / private mysql database support<br> | |||
'''Current Version hosted by AniDB:''' | '''Current Version hosted by AniDB:''' | ||
:* WebAOM v1.08 (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.08 (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] | ||
'''Current Version hosted by epoximator:''' | '''Current Version hosted by epoximator:''' | ||
:* WebAOM v1. | :* WebAOM v1.14 (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:''' | |||
:* http://www.hostunlim.com/epoximator/hist | |||
== Introduction == | == 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 [http://www.anidb.net/client/udp-api.html UDP-API] and is therefore limited. | 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 [http://www.anidb.net/client/udp-api.html UDP-API] and is therefore limited. | ||
Line 27: | Line 29: | ||
:* 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.) | ||
:* Folders... : Add folder(s) with all including files for hashing. | :* Folders... : Add folder(s) with all including files for hashing. | ||
:* Toggle | :* Toggle fileIO : Start/stop hashing and moving thread. | ||
:* Toggle | :* Toggle netIO : Start/stop communication thread. | ||
:* Save Log : Save the Log to disk (in HTML format). | :* Save Log : Save the Log to disk (in HTML format). | ||
:* Save Options: Save options to "%home/.webaom". | :* Save Options: Save options to "%home/.webaom". | ||
Line 60: | Line 62: | ||
::* Hash Dirs : Default directories to hash. Checked every time Hasher starts. Directories are separated with ";". | ::* Hash Dirs : Default directories to hash. Checked every time Hasher starts. Directories are separated with ";". | ||
::* Browser Path : Set path to internet browser manually here. For Linux users. | ::* Browser Path : Set path to internet browser manually here. For Linux users. | ||
::* My Database : | ::* My Database : JDBC url to local / private database. | ||
::* Renaming : Combobox for selecting renaming mode. | ::* Renaming : Combobox for selecting renaming mode. | ||
::* [http://en.wikipedia.org/wiki/Hash_function Hash functions] : [http://en.wikipedia.org/wiki/Ed2k_(hash) ED2K] [http://en.wikipedia.org/wiki/CRC32 CRC32] [http://en.wikipedia.org/wiki/MD5 MD5] [http://en.wikipedia.org/wiki/SHA1 SHA1] [http://en.wikipedia.org/wiki/Tiger-Tree_Hash TTH] | ::* [http://en.wikipedia.org/wiki/Hash_function Hash functions] : [http://en.wikipedia.org/wiki/Ed2k_(hash) ED2K] [http://en.wikipedia.org/wiki/CRC32 CRC32] [http://en.wikipedia.org/wiki/MD5 MD5] [http://en.wikipedia.org/wiki/SHA1 SHA1] [http://en.wikipedia.org/wiki/Tiger-Tree_Hash TTH] | ||
:* Wanted File Extensions : Default are avi, ogm, mkv. | :* Wanted File Extensions : Default are avi, ogm, mkv, mp4. | ||
:* Rename Options (removed in 1.09) | :* Rename Options (removed in 1.09) | ||
::* Combobox for custom renaming. (More schemes can be added on request.) | ::* Combobox for custom renaming. (More schemes can be added on request.) | ||
Line 71: | Line 73: | ||
::* 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. | |||
:* Show Info : Show info about a file/job. (double click) | :* Show Info : Show info about a file/job. (double click) | ||
:* Watch Now : Watch with default media player. Windows only. (alt + double click) | :* Watch Now : Watch with default media player. Windows only. (alt + double click) | ||
:* Explore Folder : Open parent folder with Explorer. Windows only. | :* Explore Folder : Open parent folder with Explorer. Windows only. | ||
:* Rehash : Use this if you want rehash and include other hash types. (Must be selected in 'Other' options.) | |||
:* Identify : Re-identify the file. Can be used on 'Unknown' files to check if they are added to anidb. | |||
:* Add to mylist : Add job manually if you forgot to check 'Add files to mylist'. | |||
:* Apply Rules : If the rules are changed after a job is finished, they can be applied again manually. | :* Apply Rules : If the rules are changed after a job is finished, they can be applied again manually. | ||
:* | :* Set Finished : If you don't want to bother with a troublesome file, just set it as finished. | ||
:* Remove | :* Restore Name : Rename file to its original name. | ||
:* Set Folder : Move file to a specific folder. Can also be used to find files when 'File not found'. | |||
:* Remove from DB : Remove job from local database. Will be readded if used twice. | |||
== Move/rename system == | == Move/rename system == | ||
A new feature | 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. | ||
Line 94: | Line 102: | ||
#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. | ||
>'< around parts is not required. Example on move schema: | |||
IF R(DVD,HKDVD) DO ADD 'M:\dvd\' | IF R(DVD,HKDVD) DO ADD 'M:\dvd\' | ||
Line 104: | Line 112: | ||
Syntax for each line in a script: | Syntax for each line in a script: | ||
:* [IF {test}/ELSE] DO ADD {part}/SET {part}/FAIL/FINISH | :* [[ELSE] IF {test}/ELSE] DO ADD {part}/SET {part}/FAIL/FINISH [{last part}]/RETURN {complete schema} | ||
::* ADD means += | ::* ADD means += | ||
::* SET means = | ::* SET means = | ||
::* FAIL means return null; | ::* FAIL means return null; | ||
::* FINISH means return result; (Not needed as last line.) | ::* FINISH means return result; Also possible to add last part. (Not needed as last line.) | ||
::* RETURN means return complete schema (for exceptions). | |||
::* DO is always required. | ::* DO is always required. | ||
::* !!! CASE SENSITIVE !!! | ::* !!! CASE SENSITIVE !!! | ||
<b>Possible tests</b><br> | <b>Possible tests</b><br> | ||
:* A = Anime (text/number) [*/#] Anime Name/Title ( | :* 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. | ||
:* Q = Quality (text) [unknown, very high, high, med, low, very low, corrupted, eyecancer] | :* Q = Quality (text) [unknown, very high, high, med, low, very low, corrupted, eyecancer] | ||
Line 119: | Line 128: | ||
:* T = Type (text) [unknown, TV, OVA, Movie, Other, web] | :* T = Type (text) [unknown, TV, OVA, Movie, Other, web] | ||
:* Y = Year (number) [#] | :* Y = Year (number) [#] | ||
:* D = Dub | :* D = Dub language (text) (Note: 'dual (jap/[lang2])' is replaced with 'jap&[lang2]') | ||
:* S = Sub | :* S = Sub language (text) | ||
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. | :* P = file Path (starts with). | ||
:* E = file Extension. | |||
:* N = geNre (one of). | |||
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=== | ||
Line 152: | Line 164: | ||
%gid Group ID | %gid Group ID | ||
</pre> | </pre> | ||
== Local database == | |||
From 1.14 mysql db is supported. | |||
How to: | |||
:* Download and install mysql (http://dev.mysql.com/downloads/mysql/5.0.html). Be sure to select unicode support. | |||
:* Download Connector/J (http://dev.mysql.com/downloads/connector/j/3.1.html) and extract the jar file to '{java path}/jre{version}/lib/ext'. | |||
:* Download and extract webaom db def (http://www.hostunlim.com/epoximator/webaom-sql.rar). | |||
:* Create db: | |||
::* mysql -u{usr} -p{psw} | |||
::* create database {webaom}; exit; | |||
::* mysql -u{usr} -p{psw} {webaom} < webaom.sql | |||
:* Start WebAOM and write the jdbc url into 'My Database' text field: "jdbc:mysql://{host}/{webaom}[?user={usr}][&password={psw}] | |||
::* {host} is the url or ip to the host. (localhost/127.0.0.1) | |||
::* {webaom} is the name of the database. Can be whatever you like. | |||
::* {usr} is the username. Optional. 'root' is assumed. | |||
::* {psw} is the password. Optional. No password is assumed. | |||
:* Press enter (in text field). | |||
::* This must be done every time you start WebAOM. Should be done before adding any files. | |||
::* All jobs in db that are not finished will be loaded at this point. | |||
::* If you want to load info on finished files you must use the Add file/folder buttons. | |||
== Changelog == | == Changelog == | ||
<pre> | <pre> | ||
1.14 30.10.2005 | |||
-Cleanup. A lot of internal changes (in job handling / html parsing / data structures). | |||
-Added support for private/local mysql database. | |||
-Added support for path 'P', extension 'E' and genre 'N' in tests. Former 'E' (english title) is now included in 'A'. | |||
-Added support for ELSE IF and RETURN in scripts. | |||
-Added coloring, sorting, aid and gid columns, in job table. | |||
-Added new file info frame, html style. | |||
-Added Pause, Restore name, Rehash, Identify, Add to mylist, Set Finished, Set Folder to job popup menu. | |||
-Changes in debug window. | |||
1.13 26.09.2005 | 1.13 26.09.2005 | ||
-Change in Rule system. Scripting. Textfield instead of table. | -Change in Rule system. Scripting. Textfield instead of table. |
edits