Page 1 of 1

AMC storeReport=y misses off file extension from report file

Posted: 11 Dec 2016, 21:48
by Ryster
Hopefully this is a nice easy one. I run the following command line on my Windows box:

Code: Select all

"c:\program files\filebot\filebot.exe" -script fn:amc --output "//odin2/tv" --action move -non-strict "//odin2/downloads/Automatic-TV-Processing" --log-file c:/filebot/amc-tv.log --conflict auto --def excludeList=c:/filebot/amc-tv.txt storeReport=y clean=y unsorted=y seriesFormat="{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’?]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}"
This works perfectly, apart from... the report generated by the storeReport=y flag gets created without a file extension. The file is actually an HTML file, but if I just try to double click it and choose open with and pick my browser, it looks all wrong. If I rename it to add .html to the end, then double click it, it looks fine.

How do I get the AMC script, or Filebot (whichever is handing this part) to actually give the file an html extension?

Image

Re: AMC storeReport=y misses off file extension from report file

Posted: 14 Dec 2016, 16:22
by rednoah
Fixed. Please try with dev:amc and confirm that it's working now.

Re: AMC storeReport=y misses off file extension from report file

Posted: 16 Dec 2016, 22:52
by Ryster
So, to be clear, instead of this in my command line:

-script fn:amc

I should have this:

-script dev:amc

Not an expert on this stuff :)

Edit: Took a punt and assumed the above was correct. It now works perfectly, thanks alot. Will I have switch back to fn:amc at some point once you move this change over to live?

Re: AMC storeReport=y misses off file extension from report file

Posted: 17 Dec 2016, 01:59
by rednoah
Yep, the fn script repository is "stable" so it'll only be synced with dev once a week or two.