AMC storeReport=y misses off file extension from report file

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
Ryster
Posts: 14
Joined: 07 Oct 2014, 21:41

AMC storeReport=y misses off file extension from report file

Post 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
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

Fixed. Please try with dev:amc and confirm that it's working now.
:idea: Please read the FAQ and How to Request Help.
User avatar
Ryster
Posts: 14
Joined: 07 Oct 2014, 21:41

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

Post 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?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

Yep, the fn script repository is "stable" so it'll only be synced with dev once a week or two.
:idea: Please read the FAQ and How to Request Help.
Post Reply