AniDB O'Matic - Documentation: Automatic file renaming: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{todo}}
{{todo}}
{{TOCright}}
{{TOCright}}
AniDB O'Matic has an automatic file renaming function; when you add new files it takes information from the file and AniDB to create a filename according to your pattern. The file renaming function is fully wide-string compatible.
AniDB O'Matic has an automatic file renaming function; when you add new files it takes information from the file and AniDB to create a filename according to your pattern. The file renaming function is fully wide-string compatible.


Line 6: Line 7:
The guide shows how to enable automatic file renaming and how to make it rename files the way you like it.
The guide shows how to enable automatic file renaming and how to make it rename files the way you like it.


===Enable automatic file renaming===
==Enable automatic file renaming==
Open the Options Box.<br>
Open the Options Box.<br>
This is done from the menu by selecting Settings – Options
This is done from the menu by selecting Settings – Options
Line 19: Line 20:
Select Default in the top window (marked with a red circle).<br>
Select Default in the top window (marked with a red circle).<br>
Some of the options will now be opened so you can select them.<br>
Some of the options will now be opened so you can select them.<br>
Select the two options marked with a red circle:<br>
Select the two options marked with a red circle:
* Auto rename files
* Auto rename files
* Add new files to MyList
* Add new files to MyList


Now close the Options box and try adding a new file to see that renaming works.
Now close the Options box and try adding a new file to see that renaming works.


The next step will be to change the rename pattern to your personal liking. You would probably want to add a special pattern for movies.  
The next step will be to change the rename pattern to your personal liking. You would probably want to add a special pattern for movies.  


===Change rename Pattern===
==Change rename Pattern==
Open the Options Box.
Open the Options Box.


Line 41: Line 41:




<b>Current predefined tags and macros:</b>
===Current predefined tags and macros===
<pre>    Supported tags:
    Supported tags:
       %a          Anime name
       %a          Anime name
       %acat      Anime category
       %acat      Anime category
Line 60: Line 60:


     Supported macros:
     Supported macros:
       %lower%text%/lower%      Converts text lowercase
       %lower%text%/lower%      Converts text lower case
       %upper%text%/upper%      Converts text uppercase
       %upper%text%/upper%      Converts text upper case
       %upfirst%text%/upfirst%  Make only first character in text uppercase
       %upfirst%text%/upfirst%  Make only first character in text upper case
       %upwords%text%/upwords%  Make first character in each word in text uppercase</pre>
       %upwords%text%/upwords%  Make first character in each word in text upper case
 


<b>Examples:</b>


===Examples===
Custom tag 1: %LG = [%lg]<br>
Custom tag 1: %LG = [%lg]<br>
This tag will show the long name version of whatever group released the target file, for example: [AnimeONE]
This tag will show the long name version of whatever group released the target file, for example: [AnimeONE]


Custom tag 2: %CRC = {%lower%%crc32%/lower%}<br>
Custom tag 2: %CRC = {%lower%%crc32%/lower%}<br>
This tag will show the crc32 for the target file in lowercase, for example: {a8f237b2}
This tag will show the crc32 for the target file in lower case, for example: {a8f237b2}


Pattern: %a - %ep - %e %LG%CRC<br>
Pattern: %a - %ep - %e %LG%CRC<br>
This pattern will show the anime name, padded episode number with version, episode name and the content of the two custom tags %LG and %CRC, for example:<br>
This pattern will show the anime name, padded episode number with version, episode name and the content of the two custom tags %LG and %CRC, for example:<br>
Da Capo - 05v2 - Because I`m a Maid... [Rice-Box]{aa10c42a}.avi
Da Capo - 05v2 - Because I'm a Maid... [Rice-Box]{aa10c42a}.avi


Custom tag 3: %P=%epart<br>  
Custom tag 3: %P=%epart<br>  
Line 83: Line 82:
The tag is used to avoid two spaces in front of the group name when a movie only consists of one file, because then the part tag “%epart” will be skipped. As stated earlier the complete tag is skipped if a tag inside it returns zero.
The tag is used to avoid two spaces in front of the group name when a movie only consists of one file, because then the part tag “%epart” will be skipped. As stated earlier the complete tag is skipped if a tag inside it returns zero.


 
===Additional options===
<b>Additional options:</b>
 
Replace space with: This will replace any space characters within the filename to the specified character(s).<br>
Replace space with: This will replace any space characters within the filename to the specified character(s).<br>
Anime title language: This will use the anime title in the specified language if available, otherwise it'll use the default as usual.
Anime title language: This will use the anime title in the specified language if available, otherwise it'll use the default as usual.
If you need more tags and/or macros post a [http://www.anidb.net/forum/viewforum.php?f=16 feature request].


When you have created your own patterns then you need to go back to the file manager panel and select them.
When you have created your own patterns then you need to go back to the file manager panel and select them.


===Select custom made patterns for automatic file renaming===
==Select custom made patterns for automatic file renaming==
 
[[Image:Aom-OptionFilemanagerPanel2.PNG]]
[[Image:Aom-OptionFilemanagerPanel2.PNG]]


1,633

edits

Navigation menu

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