mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
53 lines
3.1 KiB
Properties
53 lines
3.1 KiB
Properties
help.url = http://www.filebot.net/naming.html
|
|
|
|
episode.syntax: <html><b>{</b> <b>}</b> \u2026 expression, <b>n</b> \u2026 name, <b>s</b> \u2026 season, <b>e</b> \u2026 episode, <b>t</b> \u2026 title</html>
|
|
movie.syntax: <html><b>{</b> <b>}</b> \u2026 expression, <b>n</b> \u2026 name, <b>y</b> \u2026 year</html>
|
|
music.syntax: <html><b>{</b> <b>}</b> \u2026 expression, <b>n</b> \u2026 album artist, <b>t</b> \u2026 title, <b>album</b> \u2026 album, <b>pi</b> \u2026 track</html>
|
|
file.syntax: <html><b>{</b> <b>}</b> \u2026 expression, <b>n</b> \u2026 name</html>
|
|
|
|
episode.sample: {"@type":"net.filebot.web.Episode","seriesName":"Firefly","season":1,"episode":1,"title":"Serenity","absolute":1,"special":null,"airdate":{"year":2002,"month":12,"day":20},"seriesInfo":{"database":"TheTVDB","order":"DVD","language":"en","id":78874,"name":"Firefly","aliasNames":["Firefly","Serenity","\u0421\u0432\u0435\u0442\u043B\u044F\u0447\u043E\u043A","\u05E4\u05D9\u05D9\u05E8\u05E4\u05DC\u05D9","\uD30C\uC774\uC5B4\uD50C\uB77C\uC774"],"actors":["Nathan Fillion","Alan Tudyk","Morena Baccarin","Gina Torres","Adam Baldwin","Jewel Staite","Summer Glau","Sean Maher","Ron Glass"],"certification":"TV-14","startDate":{"year":2002,"month":9,"day":20},"genres":["Drama","Science-Fiction"],"network":"FOX","rating":9.5,"ratingCount":434,"runtime":60,"status":"Ended"}}
|
|
movie.sample: {"@type":"net.filebot.web.MoviePart","partIndex":1,"partCount":2,"year":2009,"imdbId":499549,"tmdbId":19995,"language":"en","name":"Avatar","aliasNames":[]}
|
|
music.sample: {"@type":"net.filebot.web.AudioTrack","artist":"Leona Lewis","title":"I See You","album":"Avatar","albumArtist":"James Horner","trackTitle":null,"albumReleaseDate":{"year":2009,"month":12,"day":11},"mediumIndex":1,"mediumCount":1,"trackIndex":14,"trackCount":14}
|
|
|
|
# S00E00
|
|
episode.example[0]: {n} - {s00e00} - {t}
|
|
# 1x01
|
|
episode.example[1]: {n} - {sxe} - {t}
|
|
# airdate
|
|
episode.example[2]: {n} [{airdate}] {t}
|
|
# uglyfy name
|
|
episode.example[3]: {n.space('.').lower()}.{s}{e.pad(2)}
|
|
# organize folder structure
|
|
episode.example[4]: {n}/{'Season '+s}/{n} - {s00e00} - {t}
|
|
|
|
# simple name/year
|
|
movie.example[0]: {n} ({y}){' CD'+pi}{'.'+lang}
|
|
# name/year and media info
|
|
movie.example[1]: {n} ({y}, {director}) {vf} {af}
|
|
# name/year and ratings
|
|
movie.example[2]: {n} {[y, certification, rating]}
|
|
# normalized scene name
|
|
movie.example[3]: {n.space('.')}.{y}{'.'+source}.{vc}
|
|
# organize folder structure
|
|
movie.example[4]: {n} ({y})/{n} ({y}){' CD'+pi}
|
|
|
|
# simple artist - title
|
|
music.example[0]: {artist} - {t}
|
|
# simple artist - album - title
|
|
music.example[1]: {[y]} {artist} - {t}
|
|
# artist - title [crc32]
|
|
music.example[2]: {n} - {t} {[audio.SamplingRateString]}
|
|
# artist - title [2ch, 128000]
|
|
music.example[3]: {pi.pad(2)} {n} - {t} {[af, audio.BitRate]}
|
|
# organize folder structure
|
|
music.example[4]: {n}/{album+'/'}{pi.pad(2)+'. '} {t}
|
|
|
|
# simple filename without extension
|
|
file.example[0]: {i.pad(3)} - {fn}
|
|
# simple filename regex-replace
|
|
file.example[1]: {n.replaceAll(/\\d+/, '')}
|
|
# simple filename regex-replace
|
|
file.example[2]: {n.replaceAll(/\\p{Punct}+/, ' ')}
|
|
# simple filter
|
|
file.example[3]: {n.after('-')}
|