Search found 5 matches

by Kelsig
03 Oct 2022, 16:12
Forum: Scripting and Automation
Topic: {vbr} not working in CLI but working in GUI
Replies: 4
Views: 328

Re: {vbr} not working in CLI but working in GUI

So I realized some file's mediainfo doesn't have video stream bitrate for whatever reason, and I have added overall bitrate fallback logic, but is there a way to alternatively derive video stream bitrate when not specified in mediainfo?
by Kelsig
02 Oct 2022, 15:32
Forum: Scripting and Automation
Topic: {vbr} not working in CLI but working in GUI
Replies: 4
Views: 328

Re: {vbr} not working in CLI but working in GUI

vbr is not a String type object, so String.replace() won't work. :arrow: You can do String.replace() but you need to convert the vbr object to a String value first: vbr.toString().replace(' Mbps', 'mbps') EDIT: Newer revisions add AutoScaleInteger.replace(a, b) that simply does toString().replace(a...
by Kelsig
02 Oct 2022, 14:04
Forum: Scripting and Automation
Topic: {vbr} not working in CLI but working in GUI
Replies: 4
Views: 328

{vbr} not working in CLI but working in GUI

CLI sys-info: https://snipboard.io/5LvkAr.jpg So I reorganized my file naming scheme to specify approximate video quality in title using the following script { if (((vbr > 30e6) && (hd==/UHD/)) || ((vbr > 10e6) && (hd==/HD/))) 'Movies Remux' else {vc =~ /HEVC|265/ ? 'Movies H.265' : 'Movies H.264'} ...
by Kelsig
19 Jul 2022, 22:40
Forum: Scripting and Automation
Topic: How to --file-filter archives
Replies: 3
Views: 627

Re: How to --file-filter archives

0. What does the log say when you process .r00 files? Please read How to Request Help . 1. You don't need to ignore archive files, because filebot -rename --db TheMovieDB will only process video / subtitle files (and Companion Files ; not sure if relevant in this case) so .r00 and friends will not ...
by Kelsig
19 Jul 2022, 18:52
Forum: Scripting and Automation
Topic: How to --file-filter archives
Replies: 3
Views: 627

How to --file-filter archives

Hey, currently, for movies, I have qbittorrent launch this script on torrent completion: filebot -rename -r "$path" --db TheMovieDB -non-strict --file-filter "none{ ext =~ /jpg|png/ }{ fn.match(/sample|trailer/) }{ f =~ /Extras|Featurettes/ }" --format '/mnt/c/bin/movie_preset_withsubs.groovy' --con...