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

Allow fallback expressions for codecs, quality to /api/json #579

Open
codeHusky opened this issue Jun 19, 2024 · 1 comment
Open

Allow fallback expressions for codecs, quality to /api/json #579

codeHusky opened this issue Jun 19, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@codeHusky
Copy link

describe the feature you'd like to see
It would be great if there was a way to specify fallback quality selections or codecs for downloads, or at least some sort of order of preference. Something I'm currently trying to do is pull down the highest resolution video I can get up to a limit.

Something along the lines of "vQuality": "<=480" or "vQuality":["480","360","144","worst"] would be nice. Alternatively, something like "best[<=480]" would be great for this particular situation as well.

A similar fallback array system for vCodec and aFormat would be ideal too. I'm doing some weird stuff with ffmpeg and it'd be ideal to have a little more control over things in the request directly rather than just getting an ambiguous 400 error

Maybe providing the valid qualities, formats, etc in the error could be useful for the UI?

describe alternatives you've considered
#571 is the only real alternative to this, but IMO it's a bit less elegant and requires more requests than this

@codeHusky codeHusky added the feature request New feature or request label Jun 19, 2024
@lostdusty
Copy link

good one!

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

No branches or pull requests

2 participants