-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
How can I pass video ID as an argument? #13
Comments
Do you mean passing the YouTube URL directly to This can be done by modifying the mpv => {
arg => "--really-quiet *URL*",
audio => "",
cmd => "mpv",
fs => "--fullscreen",
novideo => "--no-video",
srt => "--sub-file=*SUB*",
}, Additionally, there is also the |
Thank you. |
A small hack to no longer pass the
And now in the configuration of mpv => {
arg => "--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*\\&v=*ID*",
audio => "--audio-file=*AUDIO*",
cmd => "mpv",
fs => "--fullscreen",
novideo => "--no-video",
srt => "--sub-file=*SUB*",
}, |
The first method worked for me with |
The fix works, but now everything plays at max resolution instead of 720p which I use. |
Try this workaround instead, which allows pipe-viewer to select the resolution. Otherwise, add in
|
Does not appear to be working here for me with pipe-viewer, but works with mpv by itself. |
I write mpv addon to use sponsorblock with local database and I need to get video IDs. But I didn't found that option in code. So can I pass video ID as an argument?
The text was updated successfully, but these errors were encountered: