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

Add support for Peertube quality #19

Open
g4570n opened this issue Dec 19, 2020 · 1 comment
Open

Add support for Peertube quality #19

g4570n opened this issue Dec 19, 2020 · 1 comment

Comments

@g4570n
Copy link

g4570n commented Dec 19, 2020

When I play a video hosted on a Peertube site and press Ctrl + f, I don't get the quality selection options like with Youtube, it would be great if I could add support for Peertube.

mpv https://video.hardlimit.com/videos/watch/972c1a2d-0f25-4348-b4ed-41950f5d23e7

[youtube_quality] 
[youtube_quality] stack traceback:
[youtube_quality] 	/home/g4570n/.config/mpv/scripts/youtube-quality.lua:241: in function </home/g4570n/.config/mpv/scripts/youtube-quality.lua:241>
[youtube_quality] 	[C]: in function 'sort'
[youtube_quality] 	/home/g4570n/.config/mpv/scripts/youtube-quality.lua:241: in function 'download_formats'
[youtube_quality] 	/home/g4570n/.config/mpv/scripts/youtube-quality.lua:88: in function 'fn'
[youtube_quality] 	mp.defaults:202: in function 'fn'
[youtube_quality] 	mp.defaults:60: in function 'handler'
[youtube_quality] 	mp.defaults:339: in function 'handler'
[youtube_quality] 	mp.defaults:448: in function 'call_event_handlers'
[youtube_quality] 	mp.defaults:485: in function 'dispatch_events'
[youtube_quality] 	mp.defaults:441: in function <mp.defaults:440>
[youtube_quality] 	[C]: in ?
[youtube_quality] 	[C]: in ?
[youtube_quality] Lua error: /home/g4570n/.config/mpv/scripts/youtube-quality.lua:241: attempt to compare two nil values
@keeganjk
Copy link

keeganjk commented Feb 17, 2022

It also seems not to work on all Invidous instances -- it seems to work on https://yewtu.be but not https://iteroni.com. Expanded support would be appreciated.

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

2 participants