Search found 18 matches

by ca81
12 Sep 2020, 01:13
Forum: Help and Support
Topic: Identify files with no subtitles
Replies: 3
Views: 222

Re: Identify files with no subtitles

So we use any to catch that error and print something else instead: { any{ text.take(2).collect{ a -> allOf { any{ a.LanguageString3 }{ 'XSX' }.upper() } { a.Format.removeAll('-') } .join('-') }.join(', ') }{ 'No Subtitles' } } Thanks!!!, this works perfectly :) If you use text on a file that does ...
by ca81
11 Sep 2020, 17:59
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

{...} doesn't quite work the way you think it does: https://www.filebot.net/forums/viewtopic.php?t=1895 Here's how I'd write it: { episode.info.rating > 0 ? episode.info.rating : omdb.rating } Thanks @rednoah, will use your code snippet. I went through the thread https://www.filebot.net/forums/view...
by ca81
11 Sep 2020, 14:50
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

@kim/rednoah - Thanks a ton for your help & guidance. I have modified my code snippet to: {(episode.info.rating==0.0) ? {omdb.rating} : {episode.info.rating}} and my understanding is that this is giving me the episode ratings from TheTVDB in case any exist and if none exist then it gives me the omdb...
by ca81
11 Sep 2020, 04:36
Forum: Help and Support
Topic: Identify files with no subtitles
Replies: 3
Views: 222

Identify files with no subtitles

Hi, Going through various posts in the forum and some Q&A, I have put together the below code: ({text.size() >=1 ? {text.take(2).collect { a -> allOf { any{a.Language_String3.upper()} {'XSX'} } { a.Format.replace('-':'') } }*.joining('-').join(', ') }: 'No Subs'}) My intention from this piece of cod...
by ca81
10 Sep 2020, 19:47
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

You better start here: Automated Media Center aka AMC default AMC script is ONLINE (cant change) my version need to be local path thanks!!, will check this out. No PM, if you don't know something, then others properly need same info = forum (all info should be in the forum, just search) valid point...
by ca81
10 Sep 2020, 19:31
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

You are using GUI -> Episode Mode -> TheTVDB ? then data from TVDB Yes, I am using the GUI -->Episode mode-->The TVDB. Thanks for pointing out the simple logic that is using The TVDB then results will be from there only :lol: this show IS the episode rating, but i think i remember some things break...
by ca81
10 Sep 2020, 19:22
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

Looks like "{episode.info.rating}" is only "working" on TVDB... BUT I think this will always return "0.0" aka no support or not working on TVDB now ? episode id {episode.info.id} btw: I have made a custom AMC script that does support episodes (rating and more) https://www.filebot.net/forums/viewtop...
by ca81
10 Sep 2020, 19:04
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Re: Help with IDs and Ratings please...

Below is the bits of code that I am using: {id}, {tmdbid}, {imdbid}, {omdbid}, {info.certification.replace('-':'')}-{episode.info.rating}, {rating}, The above code gives the below output for the TV series 'The Night Manager': https://imgur.com/CV6Wvl5 After the 'certification' i.e. TV14, I am gettin...
by ca81
10 Sep 2020, 18:27
Forum: Help and Support
Topic: Help with IDs and Ratings please...
Replies: 15
Views: 535

Help with IDs and Ratings please...

Hi, My current goal is to get individual episode ratings and movie ratings from IMDB for my media files. @rednoah has mentioned previously that episode ratings are not supported https://www.filebot.net/forums/viewtopic.php?t=3080 Playing around with FileBot GUI (ver4.9.1), I recently got it to displ...
by ca81
09 Sep 2020, 08:27
Forum: Help and Support
Topic: Filebot crashes or hangs randomly
Replies: 4
Views: 209

Re: Filebot crashes or hangs randomly

Open CMD . Type filebot . Hit ENTER . Please Google "how to run commands on windows" for details. Thanks for the confirmation. I was doing the above but the only thing the cmd window showed each time was 'x' files renamed after the files are renamed. Somehow, I was under the impression that the cmd...
by ca81
09 Sep 2020, 06:03
Forum: Help and Support
Topic: Filebot crashes or hangs randomly
Replies: 4
Views: 209

Re: Filebot crashes or hangs randomly

Thanks for the suggestions.

Amazingly somehow I haven't had Filebot crash on me since this thread....but just in case it does start crashing again. Can you please guide me on how can I "Try launching the GUI via the command-line so that you can see the console output when it crashes" ??

thanks,
~kg
by ca81
05 Sep 2020, 21:01
Forum: Help and Support
Topic: Filebot crashes or hangs randomly
Replies: 4
Views: 209

Filebot crashes or hangs randomly

Hi, Below is the info for my FileBot installation. FileBot 4.9.1 (r7372) JNA Native: 6.1.0 MediaInfo: 19.09 7-Zip-JBinding: 9.20 Chromaprint: 1.4.3 Extended Attributes: OK Unicode Filesystem: OK Script Bundle: 2020-08-14 (r671) Groovy: 3.0.3 JRE: OpenJDK Runtime Environment 14 JVM: 64-bit OpenJDK 64...
by ca81
02 Sep 2020, 04:19
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 11747

Re: Trouble with audio channels

e.g. { audio.take(2).collect{ a -> allOf { a.Language_String3.upper() } { a.Channels.replace(2:'2.0', 6:'5.1', 8:'7.1') } { a.Format } }*.joining('-', '(', ')').join(' + ') } this is super awesome!!! many thanks, ~kg ps: Until this I did not realize join() and joining() were different...another sma...
by ca81
01 Sep 2020, 18:33
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 11747

Re: Trouble with audio channels

Many thanks @rednoah / @kim !!! One small question to make this code ideal for me... { audio.take(2).collect{ a -> allOf { a.Language_String3.upper() } { a.Channels.replace(2:'2.0', 6:'5.1', 8:'7.1') } { a.Format } }.join(' + ') } The output I get for my test file is [JPN, 2.0, Opus] + [ENG, 2.0, Op...
by ca81
01 Sep 2020, 03:45
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 11747

Re: Trouble with audio channels

Thanks @rednoah / @kim for your kind suggestions. After posting my code snippet yesterday, I have made some changes to the code as I realized that I need to get the information for only the 1st & 2nd Audio streams (only if 2nd audio stream is present) and not for any additional audio streams. Update...
by ca81
30 Aug 2020, 21:16
Forum: Help and Support
Topic: Trouble with audio channels
Replies: 47
Views: 11747

Re: Trouble with audio channels

Hi, I have a file with multiple audio tracks and each track is of a different language, has a different codec and different number of channels. I am a noob at Groovy and after going through multiple forum posts, I am using the code {"$channels-$ac"}-{audioLanguages.ISO3B*.upper().joining('-')} The 1...
by ca81
15 Dec 2019, 00:09
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 70
Views: 269565

Re: How about sharing our format expressions?

Thanks rednoah for the quick response!!!

this seems to work as intended :D
rednoah wrote: 14 Dec 2019, 21:32 2.

Code: Select all

{any{source}{'NA'}}

Code: Select all

NA
but this returns nothing :(
rednoah wrote: 14 Dec 2019, 21:32 1.

Code: Select all

{audioLanguages.ISO2.joining('-', '(', ')')}

Code: Select all

(en-ja)
by ca81
14 Dec 2019, 20:53
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 70
Views: 269565

Re: How about sharing our format expressions?

Hi, Have been using Filebot for sometime now and finally went ahead and got a subscription. Kudos to rednoah for an amazing product!!! I am using the following piece of code for renaming the TV series that I have: {n.replace(':','.').replace('?','!').replace('*','@')} - {s00e00} - {t.replace(':','.'...