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

[Qestion] URL Parameter for default DASH Quality #359

Open
MintMain21 opened this issue Mar 4, 2023 · 4 comments
Open

[Qestion] URL Parameter for default DASH Quality #359

MintMain21 opened this issue Mar 4, 2023 · 4 comments
Labels
question Further information is requested

Comments

@MintMain21
Copy link
Contributor

Is your enhancement request related to a problem? Please describe.
There's a preference on the preference page for a default video quality when using DASH. As far as I know there's no URL parameter to enforce this preference, which means the options is locked behind browser cookies. Using a URL Parameter to enforce DASH (quality=dash) defaults to "auto" always.

Describe the solution you'd like
Either a dedicated URL Parameter for enforcing DASH quality (dash=480 for example) or more detailed options for the default video quality parameter (current options are only small, medium, 720hd, and DASH).

Describe alternatives you've considered
"medium" is supposed to enforce 480, which is an ideal video quality, but I find DASH to be a more efficient means to enforce this than "medium".

Additional context
Something similar to what YT-DLP does, where you can enforce a minimum and maximum quality would be nice (dash=480> to enforce no lower than 480 for example)

@MintMain21 MintMain21 added the enhancement New feature or request label Mar 4, 2023
@SamantazFox
Copy link
Member

Sorry, the documentation is quite lacking on that part. There is an URL parameter for the "DASH quality" drop-down. It's quality_dash.

For reference, they can all be found in this source file:
https://github.com/iv-org/invidious/blob/0995e0447c2b54d80b55231830b847d41c19b404/src/invidious/videos/video_preferences.cr#L30-L48

@SamantazFox SamantazFox added question Further information is requested and removed enhancement New feature or request labels Mar 4, 2023
@SamantazFox SamantazFox changed the title URL Parameter for default DASH Quality [Enhancement] [Qestion] URL Parameter for default DASH Quality Mar 4, 2023
@MintMain21
Copy link
Contributor Author

MintMain21 commented Mar 4, 2023

Thanks for the heads up! Time to add this to the documentation.

Just tried &quality_dash=480 and it works like a dream.

@unixfox
Copy link
Member

unixfox commented Mar 4, 2023

Time to add this to the documentation.

Feel free to submit a PR 😃: https://github.com/iv-org/documentation

@unixfox unixfox transferred this issue from iv-org/invidious Mar 4, 2023
@MintMain21
Copy link
Contributor Author

Done. #360

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

No branches or pull requests

3 participants