Hi,
I was wondering if there would be a way to modify the missing episode script included with filebot to return the airing date of the episode when it provides the list, or a null value when the date isn't listed yet.
I had a look at the script code on github, but I haven't used groovy much, so I'm not sure where to start in modifying it. In particular, my first hurdle is that the code seems to my amateur eyes to just export a list of the unmatched episodes from comparison set, so it feels like I would have to add a second step of pulling the dates after determining the episode is missing and returning that as part of the output.
Any help is very appreciated!
Modifying Missing Episode Script to return airing dates
-
- Posts: 8
- Joined: 05 Feb 2023, 01:46
Re: Modifying Missing Episode Script to return airing dates
Good idea! We can add support for the --format option in the miss.groovy script:
https://github.com/filebot/scripts/comm ... 48f9f07887
e.g.
(NOTE: -script dev:miss refers to the latest script revision from GitHub)
FileBot r9612 is required though since we had to add new internal APIs.
https://github.com/filebot/scripts/comm ... 48f9f07887
e.g.
Code: Select all
filebot -script dev:miss --format "{d} | {episode}"

-
- Posts: 8
- Joined: 05 Feb 2023, 01:46
Re: Modifying Missing Episode Script to return airing dates
Thank you for responding so quickly!
When I try to run the code above in powershell, I get the following error.
Can you help me fix this?
When I try to run the code above in powershell, I get the following error.
Code: Select all
No signature of method: net.filebot.format.ExpressionFormat.apply() is applicable for argument types: (net.filebot.web.Episode) values: [Futurama - 8x01 - The Impossible Stream]
Possible solutions: any(), any(groovy.lang.Closure), every(), every(groovy.lang.Closure), tap(groovy.lang.Closure), split(groovy.lang.Closure) [Futurama - 8x01 - The Impossible Stream]
Re: Modifying Missing Episode Script to return airing dates
i.e. latest build from yesterday: viewtopic.php?t=1609
-
- Posts: 8
- Joined: 05 Feb 2023, 01:46
Re: Modifying Missing Episode Script to return airing dates
I'll just cop to having missed that line and assuming it was part of your signature
Thank you very much, working great now

Thank you very much, working great now

Re: Modifying Missing Episode Script to return airing dates
No worries. It happens. That's actually a reasonable reason. I'll make sure to add a color highlight next time.CybeleAttis wrote: ↑05 Feb 2023, 10:59 I'll just cop to having missed that line and assuming it was part of your signature![]()
