WebAOM: Difference between revisions

18 bytes added ,  25 April 2009
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


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.
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 post in the [[http://anidb.net/perl-bin/animedb.pl?show=threads&id=17 AniDB Forum > Other Clients]] forum.
All questions, feature requests and bug reports can be post in the [[http://anidb.net/perl-bin/animedb.pl?show=threads&id=17 AniDB Forum > Other Clients]] forum.
Line 15: Line 15:


'''Start WebAOM as applet or application'''
'''Start WebAOM as applet or application'''
: It might be more easy and convenient to start it as an applet, but i personally prefer the application. Use the jnlp link if you want to be sure to have the latest version of the application. You might want to try Ame if you have trouble with java or don't want to install it. It covers the basic features of WebAOM, but is only for MS Windows and more buggy.
: It might be more easy and convenient to start it as an applet, but I personally prefer the application. Use the jnlp link if you want to be sure to have the latest version of the application. You might want to try Ame if you have trouble with Java or don't want to install it. It covers the basic features of WebAOM, but is only for MS Windows and more buggy.


'''Configure automatic renaming/moving''' (optional)
'''Configure automatic renaming/moving''' (optional)
Line 28: Line 28:
: You will see the files you selected in the ''Job'' tab.
: You will see the files you selected in the ''Job'' tab.


'''Log on to the anidb UDP API service'''
'''Log on to the AniDB UDP API service'''
: By clicking ''Login'' and providing your username and password. Encryption is optional and not really recommended. You'll need to set the API password in your profile options if you still want to use it.
: By clicking ''Login'' and providing your username and password. Encryption is optional and not really recommended. You'll need to set the API password in your profile options if you still want to use it.


Line 35: Line 35:
:* Hash it.
:* Hash it.
:* Use the hash sum to fetch meta data from AniDB.
:* Use the hash sum to fetch meta data from AniDB.
:* Add it to your mylist.
:* Add it to your MyList.
:* Use the meta data to move and rename it.
:* Use the meta data to move and rename it.


Line 73: Line 73:
**Timeout (sec) : Timeout on receiving reply from AniDB.
**Timeout (sec) : Timeout on receiving reply from AniDB.
* File Options
* File Options
** Add files to mylist.
** Add files to MyList.
** [[Filestates]]
** [[Filestates]]
** [[Mylist:source]]
** [[Mylist:source]]
Line 82: Line 82:
** Hash Dirs : Default directories to hash. Checked every time the hasher thread starts. Directories are separated with ";". It's not recommended to edit this string when the Hasher is running.
** Hash Dirs : Default directories to hash. Checked every time the hasher thread starts. Directories are separated with ";". It's not recommended to edit this string when the Hasher is running.
** 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 : JDBC url to local / private database. See [[WebAOM#Local_database|Local Database]].
** My Database : JDBC URL to local / private database. See [[WebAOM#Local_database|Local Database]].
** Log File : Set path to log file (html). Press enter to enable.
** Log File : Set path to log file (html). Press enter to enable.
** Store password : Allow WebAOM to store your password (and API Pass) on disk. It will not be stored in cleartext.
** Store password : Allow WebAOM to store your password (and API Pass) on disk. It will not be stored in cleartext.
** Load db on startup : Connect and load the database on startup.
** Load DB on startup : Connect and load the database on startup.
** Auto log : Start logging to disk automatically.
** Auto log : Start logging to disk automatically.
** [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]
Line 96: Line 96:


=== Job Menu (Popup) ===
=== Job Menu (Popup) ===
The popup menu will appear when right clicking a job (or several). It will spawn a worker thread when needed. It's not possible to spawn several such worker threads, but it's possible to abort a running thread by pressing ESC.
The pop-up menu will appear when right clicking a job (or several). It will spawn a worker thread when needed. It's not possible to spawn several such worker threads, but it's possible to abort a running thread by pressing ESC.
* 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 103: Line 103:
* Rehash : Use this if you want rehash and include other hash types. (Must be selected in 'Other' options.)
* 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.
* Identify : Re-identify the file. Can be used on 'Unknown' files to check if they are added to anidb.
* Add to mylist : Add file manually if you forgot to check 'Add files to mylist'.
* Add to MyList : Add file manually if you forgot to check 'Add files to MyList'.
* Remove from mylist : Remove file from mylist.
* Remove from MyList : Remove file from 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.
* Set Finished : If you don't want to bother with a troublesome file, just set it as finished.
Line 114: Line 114:
* Parse with avinfo : Extract metadata (codec, bitrate, etc.) from the file. The dll from [[Avdump]] is required. Put it somewhere it will be found, like <tt>C:\Windows</tt>.
* Parse with avinfo : Extract metadata (codec, bitrate, etc.) from the file. The dll from [[Avdump]] is required. Put it somewhere it will be found, like <tt>C:\Windows</tt>.
* Set fid (force) : Set the fid forcefully. For self edited and corrupted files. Not recommended.
* Set fid (force) : Set the fid forcefully. For self edited and corrupted files. Not recommended.
* Remove from DB : Remove job from local database. This will _not_ remove the file from your mylist. The job will be readded if used twice.
* Remove from DB : Remove job from local database. This will _not_ remove the file from your MyList. The job will be re-added if used twice.


=== Key mappings ===
=== Key mappings ===
Line 129: Line 129:
|-
|-
|M
|M
|Open related mylist page in browser.
|Open related MyList page in browser.
|-
|-
|N
|N
|Open related mylist page (detailed) in browser.
|Open related MyList page (detailed) in browser.
|-
|-
|G
|G
Line 350: Line 350:
|%cen || Censored string
|%cen || Censored string
|-
|-
|%dub || Dub language (tracks seperated with ')
|%dub || Dub language (tracks separated with ')
|-
|-
|%sub || Sub language (tracks seperated with ')
|%sub || Sub language (tracks separated with ')
|-
|-
|%vid || Video codec (tracks seperated with ')
|%vid || Video codec (tracks separated with ')
|-
|-
|%aud || Audio codec (tracks seperated with ')
|%aud || Audio codec (tracks separated with ')
|-
|-
|%qua || Quality
|%qua || Quality
Line 394: Line 394:
** mysql -u{usr} -p{psw}
** mysql -u{usr} -p{psw}
** create database {webaom}; exit;
** create database {webaom}; exit;
* Start WebAOM and write the jdbc url into the 'My Database' field: "jdbc:{mysql|postgre}://{host}[:port]/{webaom}[?user={usr}][&password={psw}]
* Start WebAOM and write the jdbc URL into the 'My Database' field: "jdbc:{mysql|postgre}://{host}[:port]/{webaom}[?user={usr}][&password={psw}]
** {host} is the url or ip to the host. (localhost/127.0.0.1)
** {host} is the url or ip to the host. (localhost/127.0.0.1)
** {webaom} is the name of the database. Can be what ever you like.
** {webaom} is the name of the database. Can be what ever you like.
Line 401: Line 401:
* Press enter (in text field).
* Press enter (in text field).
** This must be done every time you start WebAOM. Should be done before adding any files.
** 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.
** 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. (It's also possible to load all the jobs by adding ! in front of the jdbc url.)
** If you want to load info on finished files you must use the Add file/folder buttons. (It's also possible to load all the jobs by adding ! in front of the jdbc URL.)


== Changelog ==
== Changelog ==
Line 410: Line 410:
*Added 'ASSUME [SPECIAL] {int}' rule. For padding epno when total is unknown (always true for specials).
*Added 'ASSUME [SPECIAL] {int}' rule. For padding epno when total is unknown (always true for specials).
*Fixed () issue in tests, for example "IF E(^(Complete Movie|Part \d of \d|OVA)$) DO ADD '%epn '"
*Fixed () issue in tests, for example "IF E(^(Complete Movie|Part \d of \d|OVA)$) DO ADD '%epn '"
*Added english episode name to 'E' test.
*Added English episode name to 'E' test.
*Fixed 'storage field loaded as source field on startup.' (Mylist Options)
*Fixed 'storage field loaded as source field on startup.' (MyList Options)
*Fixed 'I' test (defined) for 'ver', meaning true if greater than 1.
*Fixed 'I' test (defined) for 'ver', meaning true if greater than 1.
*Changed 'I' test "syntax"; I(%eng) -> I(eng).
*Changed 'I' test "syntax"; I(%eng) -> I(eng).
Line 436: Line 436:
*Fixed bug in !mystats (thx to GuntherDW).
*Fixed bug in !mystats (thx to GuntherDW).
*Added more tool tips and changed some text to make WebAOM more understandable.
*Added more tool tips and changed some text to make WebAOM more understandable.
*Added 'Cancel' button to the 'The options has changed' dialog.
*Added 'Cancel' button to the 'The options has changed' dialogue.
*Fixed Rules->Rename/Moving-radio-buttons bug (thx to Kei-kun).
*Fixed Rules->Rename/Moving-radio-buttons bug (thx to Kei-kun).
*Fixed joint eps bug; java.lang.NumberFormatException.
*Fixed joint eps bug; java.lang.NumberFormatException.
*Added drop and ctrl-v support to 'Jobs' table.
*Added drop and ctrl-v support to 'Jobs' table.
*Change: db update; etb.number width, for joint eps.
*Change: DB update; etb.number width, for joint eps.
*Added selectable columns in 'Job' view. (Right click table header.)
*Added selectable columns in 'Job' view. (Right click table header.)
*Change: Job-filter-combo-box -> check boxes. (suggested by weedy)
*Change: Job-filter-combo-box -> check boxes. (suggested by weedy)
*Change: Keep-alive is now enabled also when nat is not detected (every 30 min).
*Change: Keep-alive is now enabled also when nat is not detected (every 30 min).
*Fixed bug in keep-alive code.
*Fixed bug in keep-alive code.
*Fixed minor ui update bug in 'Alt'.
*Fixed minor UI update bug in 'Alt'.
*Fixed sorting bug in 'Jobs' when changing filter.
*Fixed sorting bug in 'Jobs' when changing filter.
*Added new job colors; red -> corrupted, gray -> missing (not found).
*Added new job colours; red -> corrupted, grey -> missing (not found).
*Changed options file encoding to utf8.
*Changed options file encoding to utf8.
*Only Java 1.5 support from now.
*Only Java 1.5 support from now.
Line 454: Line 454:
*Improved support for large font sizes.
*Improved support for large font sizes.
**Fixed table row height.
**Fixed table row height.
**Fixed font in popup menu.
**Fixed font in pop-up menu.
**To change the 'Log' font; press DELETE, edit header, press ok.
**To change the 'Log' font; press DELETE, edit header, press ok.
**To customize the file info page; extract 'file.htm' from the jar, edit, save as '.webaom.htm' in your home folder.
**To customize the file info page; extract 'file.htm' from the jar, edit, save as '.webaom.htm' in your home folder.
Line 467: Line 467:
*Added 'Path regexp' to options file.
*Added 'Path regexp' to options file.
*Changed keep-alive timer to 3 min.
*Changed keep-alive timer to 3 min.
*Fixed NullPointerEx on 'Add to mylist' when file is unknown, thx to egg.
*Fixed NullPointerEx on 'Add to MyList' when file is unknown, thx to egg.
*Added more debug output for 'Alt' view.
*Added more debug output for 'Alt' view.
*Added 'Load db on startup' and 'Auto log' options.
*Added 'Load db on startup' and 'Auto log' options.
*Hidden feature: F9 resets application.
*Hidden feature: F9 resets application.
*Updated 'Alt' view. V3: path exlude, improved %, added M(issing) col, secondary sort
*Updated 'Alt' view. V3: path exclude, improved %, added M(issing) col, secondary sort
*Added password (and apipass) storage option.
*Added password (and apipass) storage option.
*Added 'Alt' key mappings to 'Jobs' too.
*Added 'Alt' key mappings to 'Jobs' too.
*Code cleanup.
*Code cleanup.
*Added 'Remove from mylist' to job menu.
*Added 'Remove from MyList' to job menu.
*Added a bunch of key mappings to 'Alt'; afgmwe, left, right, and enter.
*Added a bunch of key mappings to 'Alt'; afgmwe, left, right, and enter.
*Added key mapping q to 'File Info' window (close).
*Added key mapping q to 'File Info' window (close).
Line 490: Line 490:
*Fixed "Data too long for column 'audio' at row 1".
*Fixed "Data too long for column 'audio' at row 1".
*Fixed (hopefully) out of mem error when adding large folders.
*Fixed (hopefully) out of mem error when adding large folders.
*Change: Login Dialog doesn't show up at startup anymore.
*Change: Login Dialogue doesn't show up at startup any more.
*Minor changes in gui.
*Minor changes in GUI.


1.16 13.01.2006
1.16 13.01.2006
*Added support for udp server v3. Removed support for v2.
*Added support for UDP server v3. Removed support for v2.
*Removed all http access and html parsing.
*Removed all http access and html parsing.
*Added simple Chii emulator. (!uptime,!stats,!top,!mystats,!anime,!group,!randomanime,!mylist,!state)
*Added simple Chii emulator. (!uptime,!stats,!top,!mystats,!anime,!group,!randomanime,!mylist,!state)
Line 502: Line 502:
*Added key command DEL in html log which deletes the log.
*Added key command DEL in html log which deletes the log.
*Removed 'Save Log' button.
*Removed 'Save Log' button.
*Added first version of an alternative job/file view (mylist tree view).
*Added first version of an alternative job/file view (MyList tree view).
*Added support for postgre database.
*Added support for postgre database.
*Updated the database definition and included it in jar.
*Updated the database definition and included it in jar.
*Added support for import and export of data. (An anidb mylist export template will be added asap.)
*Added support for import and export of data. (An AniDB MyList export template will be added asap.)
*Added 'Edit Folder Path' to job menu.
*Added 'Edit Folder Path' to job menu.
*Fixed: infinite loop when 'Waiting/Add' and 'Add to mylist' unchecked thx to egg.
*Fixed: infinite loop when 'Waiting/Add' and 'Add to MyList' unchecked thx to egg.
*Change: switching between 'Renaming' and 'Moving' @ 'Rules' does now 'Apply'.
*Change: switching between 'Renaming' and 'Moving' @ 'Rules' does now 'Apply'.


Line 523: Line 523:
*Added test 'I' (Is defined). Checks whether a tag is defined or not. (E.g. I(%eng).)
*Added test 'I' (Is defined). Checks whether a tag is defined or not. (E.g. I(%eng).)
*Fixed job table bug when sorting is used.
*Fixed job table bug when sorting is used.
*Added save dialog on shutdown.
*Added save dialogue on shutdown.
*Added 'log to file' option.
*Added 'log to file' option.
*Added support for //-comments in rules.
*Added support for //-comments in rules.
*Removed 'offline mode' check box. And some other changes in the gui.
*Removed 'off-line mode' check box. And some other changes in the GUI.
*Added support for gzip (parser was broken).
*Added support for gzip (parser was broken).
*Fixed some bugs thx to egg and neginegi.
*Fixed some bugs thx to egg and neginegi.
Line 533: Line 533:
*Cleanup. A lot of internal changes (in job handling / html parsing / data structures).
*Cleanup. A lot of internal changes (in job handling / html parsing / data structures).
*Added support for private/local mysql database.
*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 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 support for ELSE IF and RETURN in scripts.
*Added coloring, sorting, aid and gid columns, in job table.
*Added coloring, sorting, aid and gid columns, in job table.
*Added new file info frame, html style.
*Added new file info frame, html style.
*Added Pause, Restore name, Rehash, Identify, Add to mylist, Set Finished, Set Folder to job popup menu.
*Added Pause, Restore name, Rehash, Identify, Add to MyList, Set Finished, Set Folder to job popup menu.
*Changes in debug window.
*Changes in debug window.
   
   
Line 546: Line 546:
   
   
1.12 24.09.2005
1.12 24.09.2005
*Added extra '0' padding in epnr when an anime serie got more than 99 episodes.
*Added extra '0' padding in epnr when an anime series got more than 99 episodes.
Will only work when total num of eps is known.
Will only work when total num of eps is known.
*Added support for dub language (D) and sub language (L) in tests.
*Added support for dub language (D) and sub language (L) in tests.
Line 587: Line 587:
*Updated the second progress bar.
*Updated the second progress bar.
*Changed comm. thread sleeping routine.
*Changed comm. thread sleeping routine.
*Changed file info dialog to a text dialog.
*Changed file info dialogue to a text dialogue.
*Added Tiger Tree Hash.
*Added Tiger Tree Hash.
*Added possibility to choose each hash type.
*Added possibility to choose each hash type.
Line 594: Line 594:
   
   
1.06 29.05.2005
1.06 29.05.2005
*Changed the way files are hashed and added to mylist. This is now done concurrent.
*Changed the way files are hashed and added to MyList. This is now done concurrent.
*Changes in the status and logging system.  
*Changes in the status and logging system.  
*Fixed some minor bugs.  
*Fixed some minor bugs.  
1,633

edits

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