mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* allow passing in format expression via --def
This commit is contained in:
parent
8592525cfb
commit
b7feb548ce
@ -20,9 +20,9 @@ def gmail = tryQuietly{ gmail.split(':', 2) }
|
||||
|
||||
// series/anime/movie format expressions
|
||||
def format = [
|
||||
tvs: '''TV Shows/{n}/{episode.special ? "Special" : "Season "+s}/{n} - {episode.special ? "S00E"+special.pad(2) : s00e00} - {t}''',
|
||||
anime: '''Anime/{n}/{n} - {sxe} - {t}''',
|
||||
mov: '''Movies/{n} ({y})/{n} ({y}){" CD$pi"}{".$lang"}'''
|
||||
tvs: tryQuietly{ seriesFormat } ?: '''TV Shows/{n}/{episode.special ? "Special" : "Season "+s}/{n} - {episode.special ? "S00E"+special.pad(2) : s00e00} - {t}''',
|
||||
anime: tryQuietly{ animeFormat } ?: '''Anime/{n}/{n} - {sxe} - {t}''',
|
||||
mov: tryQuietly{ movieFormat } ?: '''Movies/{n} ({y})/{n} ({y}){" CD$pi"}{".$lang"}'''
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user