Search found 27 matches

by ca81
22 Sep 2021, 07:18
Forum: Help and Support
Topic: Identify if file has DTS or TureHD audio stream
Replies: 5
Views: 6898

Re: Identify if file has DTS or TureHD audio stream

Many Thanks @ rednoah. I was able to get the format that I wanted with some modifications to your code snippets above. My code: ({ any{ audio.take(3).collect /* to get info for 1st, 2nd & 3rd audio streams only */ { a ->allOf { any{ a.LanguageString3 }{ 'XAX' }.upper() } /* to get the language of th...
by ca81
22 Sep 2021, 04:09
Forum: Help and Support
Topic: Identify if file has DTS or TureHD audio stream
Replies: 5
Views: 6898

Re: Identify if file has DTS or TureHD audio stream

I'd start by looking at the MediaInfo table: https://www.filebot.net/forums/viewtopic.php?t=4285 FileBot can identify DTS / TrueHD audio streams if you can identify them based on one MediaInfo property or another, and then add some if-then-else checks for that in your custom format to add the exact...
by ca81
21 Sep 2021, 18:38
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Re: Possible to remove non-english subtitles from MKV's ??

{ text.collect{[ 'ID': it.StreamKindID, 'Count': it.StreamCount, 'Language': it.LanguageString,'Default': it.Default]} } Tried this code snippet and finally able to understand it too :) This code snippet provides the track number for EACH subtitle track along the total number of subtitle tracks. Pl...
by ca81
21 Sep 2021, 17:43
Forum: Help and Support
Topic: Identify if file has DTS or TureHD audio stream
Replies: 5
Views: 6898

Identify if file has DTS or TureHD audio stream

Hello, Among a ton of files, I have a few files that have DTS or TrueHD audio streams and wanted to check if FileBot can easily rename/identify Option 1: files that have a DTS or TrueHD audio stream of the 'eng' language Option 2: files that have any audio stream (of the 'eng' language) other than o...
by ca81
21 Sep 2021, 17:31
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Re: Possible to remove non-english subtitles from MKV's ??

You can use filebot -find -exec to find the files you want to rewrite, and then generate rewrite commands: https://www.filebot.net/forums/viewtopic.php?t=12622 e.g. filebot -find . --filter '/en/ in text.Language' -exec echo '{ text.find{ it.Language == /en/ }.ID }' '{ f }' Apologies but unable to ...
by ca81
21 Sep 2021, 17:30
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Re: Possible to remove non-english subtitles from MKV's ??

kim wrote: 10 Sep 2021, 01:17
Thanks!!. This seems like it will solve the purpose. Will try and report back.
by ca81
09 Sep 2021, 18:37
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Re: Possible to remove non-english subtitles from MKV's ??

On a 2nd thought.
Would FileBot be able to identify if a *.mkv file has English subtitles and if yes then provide the track number for the English subtitle along with the total number of subtitiles?
by ca81
09 Sep 2021, 18:35
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Re: Possible to remove non-english subtitles from MKV's ??

Thanks for quick your response.
Will try to figure out 3rd party tools for the purpose.
by ca81
09 Sep 2021, 15:12
Forum: Help and Support
Topic: Possible to remove non-english subtitles from MKV's ??
Replies: 9
Views: 9506

Possible to remove non-english subtitles from MKV's ??

Hi, I have been using FileBot for a while to rename TV episodes and Movie files and it's an awesome piece of software :) I am not aware of all the functionality that FileBot offers so in case this is a dumb question please ignore. Want to check if it is possible for FileBot to remove all non-english...
by ca81
12 Sep 2020, 01:13
Forum: Help and Support
Topic: Identify files with no subtitles
Replies: 3
Views: 1477

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: 4311

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: 4311

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: 1477

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: 4311

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: 4311

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: 4311

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: 4311

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: 4311

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: 1673

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: 1673

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: 1673

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: 22163

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: 22163

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: 22163

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: 22163

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...