Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow: compare file size ratio #865

Closed
Kedryn opened this issue Sep 28, 2023 · 4 comments
Closed

Flow: compare file size ratio #865

Kedryn opened this issue Sep 28, 2023 · 4 comments

Comments

@Kedryn
Copy link

Kedryn commented Sep 28, 2023

Can the new plugin be modified with 3 exits (ok, bigger, smaller) instead of only 2 (ok, or outside range)?
So we can try transcoding with different parameters if it's bigger, and skip if it's lower (usually damaged)?

@HaveAGitGat
Copy link
Owner

If you're looking to see if a file is bigger, smaller or same then you need to use the Compare File Size flow plugin.

@Kedryn
Copy link
Author

Kedryn commented Sep 29, 2023

Yep, but i was thinking about "bigger than a %" and "smaller than a %" like the Tdarr_Plugin_a9he_New_file_size_check

@HaveAGitGat
Copy link
Owner

Added a new version of the plugin here which has 3 outputs:
HaveAGitGat/Tdarr_Plugins#486

So you'll need to add the new version in the sidebar
image

@smailpouri
Copy link

I'm unsure where the "Check File Size Ratio" plugin should be placed in the flow. Should it be placed before or after the transcode process, or perhaps somewhere else? I'm just not clear on when this plugin should check the file.

Here's my current flow for reference:

> Input File 
> H264?
   > [ Y ] > Check Resolution > Handbrake Transcode > Replace Original File
   > [ N ] > Check Resolution > Check Overall Bitrate > Handbrake Transcode by Resolution Choice > Replace Original File

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants