| Summary: | Support mpv's yt-dl-format as a command line switch | ||
|---|---|---|---|
| Product: | [Applications] Haruna | Reporter: | Bart Ribbers <bribbers> |
| Component: | generic | Assignee: | george fb <georgefb899> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.7.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/haruna/commit/cbfe262c945df5714f13569472029c500a5b6bc0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Bart Ribbers
2021-09-30 10:09:12 UTC
Settings > Playback I realize I can do that, and I already mentioned that.
> and you have to configure what quality you want via the application-wide settings rather than for this particular instance.
However, that'll change it _for always_ rather than just for this particular time I launch Haruna. Basically I want this command line switch to be an override which gets wiped after I quit the application.
Git commit cbfe262c945df5714f13569472029c500a5b6bc0 by George Florea Bănuș. Committed on 27/10/2022 at 22:46. Pushed by georgefb into branch 'master'. add command line option to override the ytdl format selection setting this option is in turn overwritten if the GUI setting is changed M +16 -7 src/application.cpp M +1 -0 src/application.h M +10 -0 src/global.cpp M +6 -0 src/global.h M +8 -1 src/mpv/mpvitem.cpp https://invent.kde.org/multimedia/haruna/commit/cbfe262c945df5714f13569472029c500a5b6bc0 You can now do ``` haruna --ytdl-format-selection="bestvideo[height<=160]+bestaudio/best" "https://www.youtube.com/watch?v=3pDpYur3Nwc" ``` or use the shorter version `--ytdlfs`. |