Search found 1027 matches

by kim
07 Apr 2020, 01:17
Forum: Feature Requests and Bug Reports
Topic: Request: Custom Matching pattern.
Replies: 4
Views: 714

Re: Request: Custom Matching pattern.

both work out of the box
by kim
06 Apr 2020, 02:56
Forum: Feature Requests and Bug Reports
Topic: How to customize format? 01x01 vs 1x01
Replies: 17
Views: 9099

Re: How to customize format? 01x01 vs 1x01

bonus info

Code: Select all

{ String a = '6.2'; a.padLeft(4,'0') + ' *** ' + a.padRight(4,'0') + ' *** ' + a.center(5, '0') }
06.2 *** 6.20 *** 06.20
by kim
04 Apr 2020, 22:39
Forum: Feature Requests and Bug Reports
Topic: How to customize format? 01x01 vs 1x01
Replies: 17
Views: 9099

Re: How to customize format? 01x01 vs 1x01

Code: Select all

{media.OverallBitRate.toBigDecimal().div(1000000).round(1).pad(4) + ' Mbps'}

Code: Select all

{'6.2'.toBigDecimal().pad(4) + ' Mbps'}

Code: Select all

{mbps.pad(9)}
by kim
04 Apr 2020, 22:08
Forum: Episode / Movie Naming Scheme
Topic: Need to pull YEAR of S01E01 of a series
Replies: 4
Views: 1084

Re: Need to pull YEAR of S01E01 of a series

viewtopic.php?f=8&t=6228&p=43413#p43413

Code: Select all

{episodelist.findAll{it.season == 1}.airdate.year.min()}

Code: Select all

{episodelist.find{it.season == 1 && it.episode == 1}.airdate.year}
by kim
26 Mar 2020, 23:59
Forum: Feature Requests and Bug Reports
Topic: [Linux Mint 19.3] NoClassDefFoundError: javafx/concurrent/Task
Replies: 9
Views: 1326

Re: [Linux Mint 19.3] NoClassDefFoundError: javafx/concurrent/Task

Try installing JDK 13.0.2

btw: i think "JNA Native: 5.2.0" is from old version... did you only copy the jar ?
by kim
25 Mar 2020, 03:42
Forum: Ubuntu & Linux
Topic: how can i discard accents?
Replies: 19
Views: 1891

Re: how can i discard accents?

Something like this:

Code: Select all

-format "SERIES/{n.ascii()}/Temporada{s}/{n.replaceTrailingBrackets().ascii()} - {s+'x'}{e.pad(2)} - {t.removeAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").ascii()"
(I did not test it)
by kim
24 Mar 2020, 22:15
Forum: Feature Requests and Bug Reports
Topic: tvdb matching throws error when trying to match the daily show episodes
Replies: 12
Views: 1140

Re: tvdb matching throws error when trying to match the daily show episodes

why not prename files in F2 mode ?

Code: Select all

{'the.daily.show.02.01.07.dsr.xvid.kyr.proper.avi'.replaceAll(/(.*)(\d{2}).(\d{2}).(\d{2})(.*)/), '$1$3.$2.20$4$5'}

Code: Select all

{fn.replaceAll(/(.*)(\d{2}).(\d{2}).(\d{2})(.*)/), '$1$3.$2.20$4$5'}
output:
the.daily.show.01.02.2007.dsr.xvid.kyr.proper
by kim
24 Mar 2020, 02:36
Forum: Ubuntu & Linux
Topic: how can i discard accents?
Replies: 19
Views: 1891

Re: how can i discard accents?

{'/STORAGE/SERIES2/SERIES/8 Días/Temporada1/8 Días - 1x01 - Pánico.mkv'.transliterate('Latin-ASCII') } output: /STORAGE/SERIES2/SERIES/8 DA-as/Temporada1/8 DA-as - 1x01 - PA¡nico.mkv {'/STORAGE/SERIES2/SERIES/8 Días/Temporada1/8 Días - 1x01 - Pánico.mkv'.ascii() } output: /STORAGE/SERIES2/SER...
by kim
23 Mar 2020, 16:36
Forum: Windows 10
Topic: How can one avoid the update message to be shown on each start of filebot?
Replies: 2
Views: 641

Re: How can one avoid the update message to be shown on each start of filebot?

Code: Select all

-Dapplication.update=skip
viewtopic.php?f=8&t=2093

from ini file:

Code: Select all

# check for application updates
-Dapplication.update=skip
by kim
22 Mar 2020, 18:40
Forum: Scripting and Automation
Topic: Creating of a small script
Replies: 5
Views: 1061

Re: Creating of a small script

when folders are named proper, then maybe you can use:

Fetch Artwork and Nfo for Movies
viewtopic.php?f=4&t=5&p=205#p205

source code:
https://github.com/filebot/scripts/blob ... mdb.groovy
by kim
20 Mar 2020, 20:12
Forum: Scripting and Automation
Topic: Unofficial custom AMC script (intermediate users)
Replies: 24
Views: 16228

Re: Unofficial custom AMC script (intermediate users)

I have no plan on adding download of actors, because KODI does it by default when it has the url like so: <actor> <name>Sylvester Stallone</name> <role>John Rambo</role> <order>0</order> <thumb>https://image.tmdb.org/t/p/original/4E6RSJNsiyhAD8XTq0S3Vwxn62x.jpg</thumb> </actor> you can save (export)...
by kim
20 Mar 2020, 19:28
Forum: Episode / Movie Naming Scheme
Topic: Help w/Pinky & the Brain DVD Order Not Pulling Correctly
Replies: 2
Views: 932

Re: Help w/Pinky & the Brain DVD Order Not Pulling Correctly

you may want to look here:
Easier way to prep double episode file for Filebot?
viewtopic.php?f=10&t=11366
by kim
19 Mar 2020, 18:52
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

How you use format files: filebot -rename -r %MovieFolder% --output %ScapedFolder% --log all --log-file custom.log --action move --conflict skip -non-strict --def ut_label=Movie --def [email protected]"movieFormat.groovy" save as e.g. movieFormat.groovy {ny}{'/' + n}{' ' + minutes + 'mins'}{' [' + mbps ...
by kim
11 Mar 2020, 15:17
Forum: Help and Support
Topic: Movie identified as TV show
Replies: 2
Views: 1940

Re: Movie identified as TV show

You can pre rename it to (Alternative Titles):
"10 by 10"
by kim
08 Mar 2020, 22:24
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

Can you test this out? { def preferredGer = 'DEU' def preferredEng = 'ENG' def useChFilter = false def filter = { [it.codec, it.ch, it.objects, it.lang] } def codecList = [ 'MP3' : 'MP3', 'PCM' : 'PCM', 'AAC LC' : 'AAC', 'AAC LC SBR' : 'AAC', 'AAC LC SBR PS' : 'AAC', 'AC 3' : 'AC3', 'AC 3 Dep' : 'EA...
by kim
08 Mar 2020, 21:17
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

For now it looks like it's best to remove

Code: Select all

{ dString(au.FrameRate) }
the problem (not good to compare to different things )

Code: Select all

{def bitrate = '640000'.toInteger(); def framerate = '93.750'.toDouble().toString(); [bitrate,framerate].max()}
by kim
08 Mar 2020, 02:26
Forum: Help and Support
Topic: {languages} VS {info.spokenLanguages}
Replies: 3
Views: 2923

Re: format started to fail

No "Spoken Languages"... add it ;)
https://www.themoviedb.org/movie/645519 ... mary_facts

yes:

Code: Select all

info.spokenLanguages =~ /(no|da|sv|nb)/
no:

Code: Select all

languages =~ /(no|da|sv|nb)/
by kim
08 Mar 2020, 01:25
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

output if you replace ? any{addToList}{bestPreferredLang}{defaultStream}{bestBitRate}{preferredStream} with audioStreams does it fail ? audioStreams.lang you also try: audioStreams.index audioStreams.default audioStreams.codec audioStreams.combined audioStreams.bitrate audioStreams.objects sample [{...
by kim
07 Mar 2020, 19:02
Forum: Help and Support
Topic: Organize subtitles
Replies: 10
Views: 6419

Re: Organize subtitles

so you only want to rename subs and not video ?

then you can only use or custom format like 'madro17' :
lang subtitle language eng Language
subt subtitle tags .eng.forced String
https://www.filebot.net/naming.html
by kim
07 Mar 2020, 18:20
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

So you use this ? : { def preferredGer = 'DEU' def preferredEng = 'ENG' def useChFilter = false def filter = { [it.codec, it.ch, it.objects, it.lang] } def codecList = [ 'MP3' : 'MP3', 'PCM' : 'PCM', 'AAC LC' : 'AAC', 'AAC LC SBR' : 'AAC', 'AAC LC SBR PS' : 'AAC', 'AC 3' : 'AC3', 'AC 3 Dep' : 'EAC3'...
by kim
07 Mar 2020, 01:42
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 4528

Re: User defined Variables/Bindings in format string

You can only reuse IF within same {}

Code: Select all

{def a = 'b' + 'c'; a + 'd' + a + 'e'}
by kim
06 Mar 2020, 20:34
Forum: Help and Support
Topic: Organize subtitles
Replies: 10
Views: 6419

Re: Organize subtitles

looks correct, but what files, because my code is only for video files not subs
try removing the

Code: Select all

{'.'+lang}
my code sample
eng, swe
by kim
06 Mar 2020, 19:09
Forum: Help and Support
Topic: Organize subtitles
Replies: 10
Views: 6419

Re: Organize subtitles

something like this:

Code: Select all

{
text.findAll{it.language == 'en' | it.language == 'sv' | it.forced == 'Yes'}.languageString3.unique().join(', ')
}
by kim
06 Mar 2020, 18:42
Forum: Help and Support
Topic: Can't Auto Detect Series
Replies: 10
Views: 4013

Re: Can't Auto Detect Series

Sounds like you are using an old (free) version (4.7.9) ?

Code: Select all

java -jar FileBot.jar -version
by kim
06 Mar 2020, 18:19
Forum: Help and Support
Topic: Some questions regarding renaming
Replies: 68
Views: 16387

Re: Some questions regarding renaming

You are missing the first part ? { def preferredLang = 'Eng' def useChFilter = false def filter = { [it.codec, it.ch, it.objects, it.lang] } useChFilter = this line: def chFilter = ( ( ( (ac == 'AAC'||ac == 'MP3') && ch != '2.0') || ( (ac == 'AC3'||ac == 'EAC3'||ac == 'DTS'||ac == 'TrueHD'||ac == 'M...