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?
Search found 12 matches
- 17 May 2018, 19:47
- Forum: Help and Support
- Topic: Rename folder if embedded or external subtitle found
- Replies: 13
- Views: 8087
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 07 Nov 2017, 13:27
- Forum: Windows
- Topic: Unwanted spaces after re-install
- Replies: 6
- Views: 4790
- 29 Oct 2017, 20:21
- Forum: Windows
- Topic: Unwanted spaces after re-install
- Replies: 6
- Views: 4790
- 18 Oct 2017, 10:22
- Forum: Windows
- Topic: Unwanted spaces after re-install
- Replies: 6
- Views: 4790
- 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 ...
- 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!
Great app and great support! I just bought a license =)
Cheers!
- 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 ...