Search found 9 matches

by Xiphan
03 Mar 2022, 19:00
Forum: Feature Requests and Bug Reports
Topic: Problem with sortName
Replies: 1
Views: 1171

Problem with sortName

I like using sortName to move 'The' to the end of the Movie or TV series name but I have noticed that if the media name has a default year in the title because it's a common title the 'the' gets moved behind the year instead of before the year. For example: Using TheTVDB as a source The Outer Limits...
by Xiphan
14 Mar 2021, 00:50
Forum: Windows
Topic: Expression to deal with multiple episodes in a single file
Replies: 4
Views: 4412

Expression to deal with multiple episodes in a single file

After looking through the forum for ways to deal with multiple episodes in a single file I came up with the following expression: {episode.regular ? {' '+s.pad(2)+'x'+episodes.collect{[it.episode]*.pad(2).join('x') }.join('-')} : ' 00x'+special.pad(2)} Which seems to do exactly what I want if there ...
by Xiphan
27 Feb 2021, 13:33
Forum: Episode / Movie Naming Scheme
Topic: TVDB lists Season 6 episode 1 of 'House MD' as 1 long episode
Replies: 6
Views: 6433

Re: TVDB lists Season 6 episode 1 of 'House MD' as 1 long episode

I'm having trouble with this exact same episode. TheTVDB's DVD order correctly lists 22 episodes for this season, while the aired order lists only 21. I'm not sure why FileBot is unable to correctly match these episodes when using DVD order? :? Is the correct way to change to DVD order from this men...
by Xiphan
25 Feb 2021, 20:37
Forum: Feature Requests and Bug Reports
Topic: Character removal bug in 4.9.3
Replies: 5
Views: 4215

Re: Character removal bug in 4.9.3

{t} yields .exe as expected: {t} After removing illegal characters the result is exe which is expected too (file names must not start with . because that denotes hidden files) but perhaps isn't exactly what you want in this particular use case: {t.removeIllegalCharacters()} Okay, so it was t.remove...
by Xiphan
25 Feb 2021, 06:08
Forum: Feature Requests and Bug Reports
Topic: Character removal bug in 4.9.3
Replies: 5
Views: 4215

Re: Character removal bug in 4.9.3

What is your custom format? S:/{n.sortName('$2, $1').replaceAll(/[:|]/, " - ")}/{episode.special ? 'Specials' : 'Season '+s}/{ext =~ /(?i)idx|sub|srt/ ? '/Subs/' : ''}/{n.colon(" - ")}{episode.regular ? {' '+s.pad(2)+'x'+episodes.collect{[it.episode]*.pad(2).join('x') }.join('-'...
by Xiphan
23 Feb 2021, 18:23
Forum: Feature Requests and Bug Reports
Topic: Character removal bug in 4.9.3
Replies: 5
Views: 4215

Character removal bug in 4.9.3

I just noticed a rather unique bug that was introduced in 4.9.3 that did not exist in 4.9.2. I'm not sure if this is intentional behaviour or a new safety feature but I just used the latest version to test a change to my format expression on the show Person of Interest . The reason I say unique is b...
by Xiphan
14 Feb 2021, 03:12
Forum: Help and Support
Topic: Two character subtitle format
Replies: 3
Views: 3553

Re: Two character subtitle format

rednoah wrote: 14 Feb 2021, 02:30 Use lang.ISO2:

Code: Select all

{'.'+lang.ISO2}
Awesome, this worked. Thank you. :D
by Xiphan
13 Feb 2021, 14:54
Forum: Help and Support
Topic: Two character subtitle format
Replies: 3
Views: 3553

Two character subtitle format

Code: Select all

{n} ({y}){' CD'+pi}{'.'+lang}
How do I change the +lang expression to create a 2 character language code instead of 3 characters? For example I want my format to output something like moviename.en.srt instead of moviename.eng.srt.
by Xiphan
01 Jun 2020, 16:46
Forum: Episode / Movie Naming Scheme
Topic: Need help with my custom movie format
Replies: 1
Views: 1522

Need help with my custom movie format

Firstly I just wanna say thanks for this amazing app, it really is a lifesaver when it comes to sorting out media. Speaking of which this is what I have come up with for sorting out my movies: //media/Movies/{n0 = n.sortName().charAt(0); n0.isDigit() ? '#' : n0}/{n.sortName('$2, $1').replaceAll(/[:|...