Search found 12 matches

by fvb
17 May 2018, 19:47
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

That was sweeet! =)

When dropping a folder with movies both having, and not having Swedish subtitles, all the movies get "SWESUB" suffix. Is this a normal behavior?
by fvb
09 May 2018, 13:07
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

Does this part work for picking up external subtitles? model.any{ id == it.id && it.lang =~ /swe/ } Note that the external subtitle must be part of the file set that has been loaded into FileBot. If you just drop in the video file and not the subtitle file then {model} won't include the ...
by fvb
09 May 2018, 10:59
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

@rednoah, everything seems so easy when you explain =) I'm a bit ashamed though.. I still must do something wrong, because I can't get this code to pick up any of the external subtitles: { textLanguages =~ /swe/ || model.any{ id == it.id && it.lang =~ /swe/ } ? '.SWESUB' : textLanguages =~ /eng ...
by fvb
08 May 2018, 19:16
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

Thanks @rednoah for logical reasoning. Test results for the different strings: {model.any{ id == it.id && it.lang =~ /swe/ } ? '.SWESUB' : { id == it.id && it.lang =~ /eng/ } ? '.ENGSUB' : null} File with no embedded sub: ENGSUB File with embedded eng sub: ENGSUB File with embedded swe sub: ENGSUB ...
by fvb
06 May 2018, 18:37
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

OK, it did some testing myself but without luck. This code adds ".ENGSUB" even if there aren't an English sub (but writes out ".SWESUB" if there's both an English and a Swedish sub so that part works). { any {model.any{ id == it.id && it.lang =~ /swe/ } ? '.SWESUB' : { id == it.id && it.lang =~ /eng ...
by fvb
02 May 2018, 07:25
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

I'd like to take this one step further and add "ENGSUB" if there's an embedded or external English subtitle available. If there are both Swedish and English subtitles available, preferably only SWESUB should be written. I have this working format tag now for SWESUB looking for embedded or external ...
by fvb
07 Nov 2017, 13:27
Forum: Windows
Topic: Unwanted spaces after re-install
Replies: 6
Views: 4790

Re: Unwanted spaces after re-install

rednoah wrote: 18 Oct 2017, 11:30 Fixed. The next release will restore the old behavior, so that the following two naming expressions can be considered equivalent
Works like a charm. Thanks!
by fvb
29 Oct 2017, 20:21
Forum: Windows
Topic: Unwanted spaces after re-install
Replies: 6
Views: 4790

Re: Unwanted spaces after re-install

rednoah wrote: 18 Oct 2017, 11:30 Fixed. The next release will restore the old behavior, so that the following two naming expressions can be considered equivalent:
Sweet! :D
by fvb
18 Oct 2017, 10:22
Forum: Windows
Topic: Unwanted spaces after re-install
Replies: 6
Views: 4790

Re: Unwanted spaces after re-install

I back-traced this and found that it was introduced in 4.7.9 (4.7.8 works OK).
rednoah wrote: 12 Oct 2017, 21:17 I see. This was never specified one way or another. I guess some internal change at some point caused different behaviour.
by fvb
12 Oct 2017, 20:22
Forum: Windows
Topic: Unwanted spaces after re-install
Replies: 6
Views: 4790

Unwanted spaces after re-install

I use Filebot now and then and managed to write some useful syntax some time ago. After a re-install of Win 10 and FileBot from Appstore (4.7.13) it seems as my previous syntax now gives me unwanted spaces when renaming. In the "Episode Format" window my expressions are like: {'S'+s.pad(2)} {'.'+y ...
by fvb
30 Mar 2017, 18:45
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Re: Rename folder if embedded or external subtitle found

Thanks!

Great app and great support! I just bought a license =)

Cheers!
by fvb
28 Mar 2017, 10:43
Forum: Help and Support
Topic: Rename folder if embedded or external subtitle found
Replies: 13
Views: 8087

Rename folder if embedded or external subtitle found

I'm sorry for a real newbie question. I've searched the forum and tried in the GUI for two days now without success :( I'd like to add 'SWESUB' to the movie's folder name if there is an embedded Swedish subtitle in the movie file or/and and external .srt file in the same folder as the movie file. I ...