Search found 2 matches
- 26 May 2015, 08:22
- Forum: Scripting and Automation
- Topic: Pass Source as a parameter
- Replies: 3
- Views: 2848
Re: Pass Source as a parameter
Thanks, that helped a lot, now I can specify/override source using a def statement on the commandline. This is about what the format statement looks like now: {n.ascii().space('.')}.{episode.special ? 's00e'+special.pad(2) : s00e00}.{t.ascii().space('.')}.{defines.source ? defines.source : source ...
- 24 May 2015, 09:41
- Forum: Scripting and Automation
- Topic: Pass Source as a parameter
- Replies: 3
- Views: 2848
Pass Source as a parameter
Hello, I am writing a bit of automation to rename files. I was wondering if it is possible to define source as a parameter (using --def) or defining another parameter and checking on that inside the script. FileBot deals fine with files containing a source in the filename (BD, HDTV, etc) but I'd ...