Search found 6 matches

by darchap
18 Mar 2019, 17:34
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Re: Sort movies by its video bitrate

Working like a charm, i had to modify the line but now works. Thank you @rednoah

Code: Select all

(video[0].bitrate.toInteger() / 1e6d).round(1)
by darchap
15 Mar 2019, 06:59
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Re: Sort movies by its video bitrate

Thank you so much, will try that an report my results
by darchap
15 Mar 2019, 05:53
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Re: Sort movies by its video bitrate

I want to sort my movies into folders, by video bitrate only , not video+audio bitrate(this is what i get with (bitrate / 1e6d).round(1)) So, as i said a few post ago, this command works, but sort my movies by its video+audio bitrate, and i only want video bitrate {vf =~ /2160p|4K|4k|UHD/ ? "4K ...
by darchap
14 Mar 2019, 20:07
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Re: Sort movies by its video bitrate

Heres a real example of the problem: https://i.imgur.com/TBm1DhX.png That movie is in "1080p" folder, BUT as you can read in the title says 5.0mbps (provided by the big code i posted, not this one (bitrate / 1e6d).round(1)). So actually it should be in m1080p folder, but as sorted by this expression ...
by darchap
14 Mar 2019, 19:25
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Re: Sort movies by its video bitrate

1. Not sure what you mean. Here's how you can get the bitrate from the first video stream, converted from String to Integer so you can do numerical comparisons: def b = video[0].bitrate as int 2. Any Groovy code can be used as format expression, and whatever value your Groovy code yields, that's ...
by darchap
14 Mar 2019, 12:45
Forum: Scripting and Automation
Topic: Sort movies by its video bitrate
Replies: 8
Views: 5699

Sort movies by its video bitrate

Hello im trying to sort my movies by its video bitrate. Right now im able to sort by its video+audio bitrate but i only want video bitrate. with this code im able to sort them into different folders with entire bitrate: {vf =~ /2160p|4K|4k|UHD/ ? "4K" : fn =~ /3D|3d|3dhsbs|H-SBS|3dhou|H-OU/ ? "3D ...