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

m
no edit summary
mNo edit summary
Line 31: Line 31:
'''Constant expressions'''<br />
'''Constant expressions'''<br />
There are two ways to specify string literals:<br />
There are two ways to specify string literals:<br />
'text' - use '' to insert a ' (eg. 'her''s')<br />
'text' - use '' to insert a ' (e.g. 'her''s')<br />
or<br />
or<br />
"text" - use \" to insert a "  (eg. "a \"quotation\"")<br />
"text" - use \" to insert a "  (e.g. "a \"quotation\"")<br />
<br />
<br />
Number literals are simply written as numbers:<br />
Number literals are simply written as numbers:<br />
Line 76: Line 76:
|?ep2, ?ep3, ?ep4||text||Zero padded episode number, eg ?ep3 = 007
|?ep2, ?ep3, ?ep4||text||Zero padded episode number, eg ?ep3 = 007
|-
|-
|?epc||number||Total number of episodes in the current category (for example: 24 for normal episodes, 7 for specials, 2 for op, etc)
|?epc||number||Total number of episodes in the current category (for example: 24 for normal episodes, 7 for specials, 2 for op, etc.)
|-
|-
|?epp||number||Movie part number ep1 = 1, ep2 = 1, ep3 = 2, ep4 = 1 etc.
|?epp||number||Movie part number ep1 = 1, ep2 = 1, ep3 = 2, ep4 = 1 etc.
Line 222: Line 222:


==File managers==
==File managers==
File managers are used to automatically manage file renaming / removing and adding / updating files in your mylist.
File managers are used to automatically manage file renaming / removing and adding / updating files in your MyList.


'''Source paths'''<br />
'''Source paths'''<br />
Line 238: Line 238:


'''Automatically remove deleted files'''<br />
'''Automatically remove deleted files'''<br />
This will make the file manager remove files it can't find anymore from the known files page. This rule ignores files stored on removable media.
This will make the file manager remove files it can't find any more from the known files page. This rule ignores files stored on removable media.


'''Don't remove files if the volume can't be found'''<br />
'''Don't remove files if the volume can't be found'''<br />
This will prevent the file manager from removing files it can't find when the whole volume is gone, this rule would for example prevent your known files from being cleared if your network cable is unplugged or a hdd is disconnected.
This will prevent the file manager from removing files it can't find when the whole volume is gone, this rule would for example prevent your known files from being cleared if your network cable is unplugged or a HDD is disconnected.


'''Add new files to AniDB'''<br />
'''Add new files to AniDB'''<br />
This will make the file manager automatically add found files to your mylist.
This will make the file manager automatically add found files to your MyList.


'''Automatically update the storage field of mylist entries'''<br />
'''Automatically update the storage field of MyList entries'''<br />
This will make the file manager automatically update the storage field of mylist entries based on the volume it's stored on. This field currently only works for files on a removable storage such as a DVD. The label used will be the label of the removable media, eg. DVD #013.
This will make the file manager automatically update the storage field of MyList entries based on the volume it's stored on. This field currently only works for files on a removable storage such as a DVD. The label used will be the label of the removable media, eg. DVD #013.


'''Automatically mark found files as OnHDD or OnRemovable in mylist'''<br />
'''Automatically mark found files as OnHDD or OnRemovable in MyList'''<br />
This will make the file manager update your mylist to OnHDD if the file was found on a HDD or Network drive, or OnRemovable if the file is on a CD/DVD.
This will make the file manager update your MyList to OnHDD if the file was found on a HDD or Network drive, or OnRemovable if the file is on a CD/DVD.


'''Automatically mark removed files as Deleted in mylist'''<br />
'''Automatically mark removed files as Deleted in MyList'''<br />
This will make the file manager update your mylist to indicate the file has been deleted if removed by the above rule.
This will make the file manager update your MyList to indicate the file has been deleted if removed by the above rule.
1,633

edits

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