I have a manual process that I'd like to automate:
1. I manually review the Season (e.g."Season 02") to ensure that all episodes are there, cross-referncing this to TVRage.com, for example;
2. When I'm happy that all episodes are there, I rename the folder to identify it is complete (e.g. "Season 02 (Complete)";
3. I repeat step 1 & 2 for the series. For example, "Dilbert" with all it's season subfolders becomes "Dilbert (Complete)"
I look forward to the guru's on this forum lending a hand. Thanks in advance.
Determining completion of a Season or Series
Re: Determining completion of a Season or Series
You'll have to figure this out yourself I guess. Here's some ideas that came to mind.
Basic script to find missing episodes:
http://www.filebot.net/forums/viewtopic ... =869#p5518
Advanced Format that'll cross-check your file/episode mappings vs full episodelist data and sort files into Season N or Season N (Complete) folders accordingly:
(this will only work if you rename all episodes of the season at once)
Basic script to find missing episodes:
http://www.filebot.net/forums/viewtopic ... =869#p5518
Advanced Format that'll cross-check your file/episode mappings vs full episodelist data and sort files into Season N or Season N (Complete) folders accordingly:
Code: Select all
{n}/Season {s.pad(2)}{model.values().containsAll(episodelist.findAll{it.season == s}) ? ' (COMPLETE)' : ''}/{n} {sxe} {t}
Re: Determining completion of a Season or Series
Thanks very much rednoah. I'll give that a go.
Cheers.
Cheers.
Re: Determining completion of a Season or Series
I gave the code a go.
It's probably pretty clear by the screenshot attached, that I'm lacking knowledge on the groovy coding side of things.
Did I need to simply create a .groovy file with the code supplied, or is there more to it?
Thanks for your patience.
It's probably pretty clear by the screenshot attached, that I'm lacking knowledge on the groovy coding side of things.
Did I need to simply create a .groovy file with the code supplied, or is there more to it?
Thanks for your patience.
Re: Determining completion of a Season or Series
The code I pasted is a format expression. If you do filebot -rename it's what you'd pass as --format.
Here's how it looks if you set this format in the GUI:
https://twitter.com/filebot_renamer/sta ... 69/photo/1
FileBot format expressions and groovy scripting is all based on Groovy, but it's two different things entirely really.
Here's how it looks if you set this format in the GUI:
https://twitter.com/filebot_renamer/sta ... 69/photo/1
FileBot format expressions and groovy scripting is all based on Groovy, but it's two different things entirely really.