Search found 131 matches

by stephen147
29 Apr 2019, 10:46
Forum: Scripting and Automation
Topic: Illegal usage: output folder must exist and must be a directory
Replies: 5
Views: 2960

Re: Illegal usage: output folder must exist and must be a directory

Fixed that issue for anyone else wanting to pass args too. set "EXCLIST=amc_excludelist.groovy" set "FOLDER_LOG=_AMC Log Files" set "FOLDER_PROCESS=_To Process" set "FOLDER_ROOT=Z:/Movies & TV/_Newly DL'd" set "GROOVY_ANIME=Anime Format.groovy" s...
by stephen147
15 Apr 2019, 22:17
Forum: Scripting and Automation
Topic: Moving folders nested inside Movie folders with scripts
Replies: 6
Views: 3474

Re: Moving folders nested inside Movie folders with scripts

In Kodi I use a plugin for that which parses various websites for that info. It's not offically supported by Kodi devs though found here:https://forum.kodi.tv/showthread.php?tid=173799 This site: https://www.televisiontunes.com And Plex has it's own database also which is picked by staff: https://su...
by stephen147
15 Apr 2019, 22:01
Forum: Scripting and Automation
Topic: Moving folders nested inside Movie folders with scripts
Replies: 6
Views: 3474

Re: Moving folders nested inside Movie folders with scripts

Sorry, support for this use case is not planned. The amc script can already generate most of the extras, so there's no pressing need to be able to recognize and correctly import existing ones. Okay, no problem. It's just the Themes are something that I've accumulated myself and I thought the script...
by stephen147
15 Apr 2019, 16:45
Forum: Scripting and Automation
Topic: Moving folders nested inside Movie folders with scripts
Replies: 6
Views: 3474

Re: Moving folders nested inside Movie folders with scripts

Thanks. Would it be possible to have a switch such as: --def movefolderextras=y So it handles cases like this? Do any of the other extras get moved? No they get left behind or deleted. It's probably easiest to use the history script to get all the old paths / new paths, and then have your own script...
by stephen147
15 Apr 2019, 14:32
Forum: Scripting and Automation
Topic: Moving folders nested inside Movie folders with scripts
Replies: 6
Views: 3474

Moving folders nested inside Movie folders with scripts

I have a Theme folder located in a Movie folder. The folder tree is like so: ├───Movie Name │ │ clearart.png │ │ disc.png │ │ fanart.jpg │ │ folder.jpg │ │ imdb.url │ │ Movie Name.mkv │ │ logo.png │ │ movie.nfo │ │ poster.jpg │ │ tmdb.url │ │ │ ├───extrafanart │ │ fanart1.jpg │ │ fanart2.jpg │ │ │ └...
by stephen147
15 Apr 2019, 12:33
Forum: Scripting and Automation
Topic: Illegal usage: output folder must exist and must be a directory
Replies: 5
Views: 2960

Re: Illegal usage: output folder must exist and must be a directory

Is there any way to pass a folder argument in the bat file to the lines such as:

Code: Select all

set TODO_FOLDER="_TO DO"
--action move --conflict auto -non-strict "Z:/Movies & TV/%%TODO_FOLDER%%/%%TODO_FOLDER%%" ^
It throws an error:

Code: Select all

Cannot read @file
by stephen147
08 Mar 2019, 15:54
Forum: Scripting and Automation
Topic: Illegal usage: output folder must exist and must be a directory
Replies: 5
Views: 2960

Re: Illegal usage: output folder must exist and must be a directory

Great, thank you. Now one thing left to update the Kodi database. Here's what I've got, for anyone as stoopid as me!! :roll: In the folder: Z:\Movies & TV\_TO DO\_TO DO there is: Filebot Scraper.bat Movie Format.groovy Anime Format.groovy TV Format.groovy + All the unsorted movies Z:/Movies &...
by stephen147
07 Mar 2019, 21:26
Forum: Scripting and Automation
Topic: Illegal usage: output folder must exist and must be a directory
Replies: 5
Views: 2960

Illegal usage: output folder must exist and must be a directory

I've got a .bat file (saved here: Z:\Movies & TV\_TO DO ) with the following: filebot -script fn:amc --output /output --def movieFormat=@"Z:/Movies & TV/_TO DO/MovieFormat.txt" --action duplicate --conflict auto -non-strict "Z:/Movies & TV/_TO DO/_NOT DONE" --log-file...
by stephen147
19 Jun 2018, 23:41
Forum: Windows
Topic: Filebot not running after creators update
Replies: 2
Views: 2457

Re: Filebot not running after creators update

Had the same problem.

Uninstall (through apps and features in windows) then Reinstall in Store.
by stephen147
24 Sep 2017, 02:48
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Thanks. I'll try it as soon as I get my PC back up. PSU has just died. Thinking now of building a Threadripper 1950x build so it could be a week or more before that happens.

My intention was to just write 'TrueHD+Atmos' if it existed and that's it but I'll test your code when I can. :)
by stephen147
23 Sep 2017, 11:54
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Not sure what this example is: (I've tried to get this implemented). Have you a simple working example of the same with bindings. {def tmp2 = ' ' tmp1 { a- > tmp2 = a } tmp2 (same) } { tmp2 (diff./new) } Also, the full code outputs exactly what I need that I put HERE with a small edit from rednoahs ...
by stephen147
22 Sep 2017, 12:11
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Many thanks for your effort. It worked perfectly. { audio.collect { s -> allOf {any {s.'CodecID/Hint'} {s.'Codec'.contains('DTS-HD') ? s.'Codec': null} {s.'Format'} } {s.'Format_Profile'}*.replaceAll('/ MA|/ Core|/ ES Matrix|/ TrueHD')*.replaceAll('AC-3', 'AC3').join('.') }.flatten()*.trim().join(',...
by stephen147
21 Sep 2017, 13:53
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Ah I see now. How would one go about that?
by stephen147
21 Sep 2017, 12:55
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Thank you. You'll be sure that I'll be donating again in the future. You deserve it.

Still having the same problem with binding:

Code: Select all

{audio.FormatProfile}
I've uninstalled the old one and reinstalled the win store app twice with no luck.

I can upload the first 6 seconds of that file if that's OK.
by stephen147
20 Sep 2017, 21:25
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Cool. PM sent earlier.
by stephen147
20 Sep 2017, 10:56
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Ok, I'll probably get that then. I have donated before alright.

It says donor under my Nickname. How do I get the promo?

Will the 20$ be a one-off payment for future releases?
by stephen147
19 Sep 2017, 19:58
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Here's the screenshot of an example.

John wick- Chapter 2 (2017) which has 7 audio streams but still the problem occurs.

https://i.imgur.com/o1tLfAR.jpg
by stephen147
19 Sep 2017, 14:17
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Re: Get format profiles of all audio streams.

Thanks again, for the one-liner.

Maybe a daily build has fixed the issue?

But with current stable build:

This works:

Code: Select all

{audio.codecid}
But this doesn't:

Code: Select all

{audio.FormatProfile}
by stephen147
18 Sep 2017, 23:32
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 8942

Get format profiles of all audio streams.

{ def GetFPSafe = {if(self.audio[it].FormatProfile != null) audio[it].FormatProfile else "NoFormatProfile"}; def sTotalString = ""; //Check all audio streams, show info sTotalString = "There are " + audio.size + " audio streams, with Codec_Formats: "; for (iC...
by stephen147
18 Sep 2017, 22:35
Forum: Help and Support
Topic: Get the default audio even if it is not [0] and check all streams
Replies: 4
Views: 5425

Re: Get the default audio even if it is not [0] and check all streams

Hi, thanks for your work. I'm getting an error on all files. Binding "FormatProfile": undefined Changing it and worked: (Changed FormatProfile >> Format_Commercial ) { def GetFPSafe = {if(self.audio[it].Format_Commercial != null) audio[it].Format_Commercial else "NoFormatProfile"...
by stephen147
13 Apr 2017, 12:39
Forum: Episode / Movie Naming Scheme
Topic: trimleft() trimright() functions
Replies: 6
Views: 7125

Re: trimleft() trimright() functions

Can Filebot recognise.

.eng
.es


etc.

{lang} is coming up undefined
by stephen147
13 Apr 2017, 00:47
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 588711

Re: Presets

I'll need to revisit this again when I've time.

It was the only way for me to use them bindings successfully to rename movie and sub files was to have the override extension enabled and then rewrite it back again using {"."+ext}.
by stephen147
12 Apr 2017, 23:36
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 588711

Re: Presets

Could that option not be enabled by default so the user can't tamper with it or warning if checkbox is ticked? It's the only way to rename subtitles and movies together in same rename by using this: {n.replace(':','-').replaceAll(/[\/:*?"<>|]/,' - ')} ({y}) {any{fn.match(/(?i)25th.+?anniv/)}{''...
by stephen147
11 Apr 2017, 18:57
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 588711

Re: Presets

Could you add the ability to overwrite or keep file extension in the presets.

I overwrite my movies while keep extensions on TV programs.