Convert custom formats for AMC
Posted: 31 May 2022, 00:54
I'm currently renaming somewhat manually using scripts in Windows and looking to move to more automated functionality with AMC.
Any thoughts on how to translate this to AMC would be appreciated!
My current folder structure for the watch folder is as follows:
/watch/TV Shows/alf-s01e01.mkv
results in
/output/TV Shows/Alf/Series 1/Alf - S01E01
and
/watch/British TV/Drama/sanditon-s01e01.mkv
results in
/output/British TV/Drama/Sanditon/Series 1/Sanditon - S01E01.mkv
My current setup renames using the following command lines:
Any thoughts on how to translate this to AMC would be appreciated!
My current folder structure for the watch folder is as follows:
- British TV
Comedy,Documentary, etc
- TV Shows
- Australian TV
Comedy,Documentary, etc
- Movies
/watch/TV Shows/alf-s01e01.mkv
results in
/output/TV Shows/Alf/Series 1/Alf - S01E01
and
/watch/British TV/Drama/sanditon-s01e01.mkv
results in
/output/British TV/Drama/Sanditon/Series 1/Sanditon - S01E01.mkv
My current setup renames using the following command lines:
Code: Select all
filebot --db TheTVDB -extract -rename -r -non-strict "\input\British TV" --format "\output\British TV\{folder.path.match(/Arts and Culture|Comedy|Documentary|Drama|Game Show|Horror|Kids|Motoring|Music|Mystery|Planes and Trains|Property|Radio|Reality|Sci-Fi|Soaps|Special Events|Talkshow|Travel/)}\{n.replaceAll(':|\\?',' -').replaceAll('(?i)\\s-\\s\\(uk\\)|(?i)\\s\\(uk\\)')}\Series {s}\{n.replaceAll(':|\\?',' -').replaceAll('(?i)\\s-\\s\\(uk\\)|(?i)\\s\\(uk\\)')} - {S00E00}"
Code: Select all
filebot --db TheTVDB -extract -rename -r -non-strict "\input\TV Shows" --format "\output\TV Shows\{n.replaceAll(':',' -')}\Series {s}\{n.replaceAll(':',' -')} - {S00E00}"
Code: Select all
filebot --db TheTVDB -extract -rename -r -non-strict "\input\Australian TV" --format "\output\Australian TV\{folder.path.match(/Arts and Culture|Comedy|Documentary|Drama|Game Show|Horror|Kids|Motoring|Music|Mystery|Planes and Trains|Property|Radio|Reality|Sci-Fi|Soaps|Special Events|Talkshow|Travel/)}\{n.replaceAll(':|\\?',' -').replaceAll('(?i)\\s-\\s\\(uk\\)|(?i)\\s\\(uk\\)')}\Series {s}\{n.replaceAll(':|\\?',' -').replaceAll('(?i)\\s-\\s\\(uk\\)|(?i)\\s\\(uk\\)')} - {S00E00}"
Code: Select all
filebot --db TheMovieDB -extract -rename -r -non-strict "\input\Movies" --output "\output\Movies\"