Skip to content

minitube: new package - #8118

Closed
nckx wants to merge 1 commit into
NixOS:masterfrom
nckx:add-minitube
Closed

nckx wants to merge 1 commit into
NixOS:masterfrom
nckx:add-minitube

Conversation

@nckx

@nckx nckx commented Jun 1, 2015

Copy link
Copy Markdown
Member

Minitube is a pretty wrapper around (Phonon/)VLC for watching YouTube videos without having to deal with the human junkyard that is youtube.com.

Unfortunately, it doesn't work:

gnutls tls client error: cannot load trusted Certificate Authorities: An unimplemented or disabled feature has been requested.
gnutls tls session error: Certificate verification failure (0x0042)
gnutls tls session error:  * Certificate not verified
gnutls tls session error:  * Signer not found
core tls session error: TLS client session handshake error
http access error: cannot establish HTTP/TLS session
core input error: open of `https://r2---sn-cxab5jvh-cg06.googlevideo.com/<hilarious_cat_video>' failed
core input error: Your input can't be opened
core input error: VLC is unable to open the MRL 'https://r2---sn-cxab5jvh-cg06.googlevideo.com/<hilarious_cat_video>'. Check the log for details.
gnutls tls client error: cannot load trusted Certificate Authorities: An unimplemented or disabled feature has been requested.
Phonon error: "No active input"  Phonon::NormalError  

Any kind souls with knowledge?

@nckx nckx added 0.kind: question Requests for a specific question to be answered new-package labels Jun 1, 2015
@vcunat

vcunat commented Jun 1, 2015

Copy link
Copy Markdown
Member

Actually, VLC can also just open youtube URLs, which I do sometimes (also due to performance reasons), and it claims the cert isn't trustworthy. It can be clicked to ignore the problem, but it's annoying nevertheless.

@nckx

nckx commented Jun 1, 2015

Copy link
Copy Markdown
Member Author

Indeed, when I tried pasting the offending URL into VLC proper I could manually trust the cert. From then on, that particular video also plays fine in Minitube*.

Then I open the next video, and it fails all over again...

* So it must be something stateful I can hack around. I just don't know where to start.

@vcunat

vcunat commented Jun 1, 2015

Copy link
Copy Markdown
Member

I believe some package in the stack isn't directed to our cert location, $SSL_CERT_FILE (I think).

@vcunat

vcunat commented Jun 1, 2015

Copy link
Copy Markdown
Member

I'd think gnutls is the place to patch.

@vcunat

vcunat commented Jun 1, 2015

Copy link
Copy Markdown
Member

I'll try a solution and file a PR changing our gnutls (to discuss possible alternative solutions).

@nckx

nckx commented Jun 1, 2015

Copy link
Copy Markdown
Member Author

Awesome! Looking forward to it.

vcunat added a commit to vcunat/nixpkgs that referenced this pull request Jun 1, 2015
This is a fast fix; it might be best to use $SSL_CERT_FILE.
Tested on vlc with youtube https URLs.
Discussed also on NixOS#8118.
@vcunat

vcunat commented Jun 1, 2015

Copy link
Copy Markdown
Member

Done #8121. It's rather a mass rebuild, unfortunately.

@vcunat vcunat changed the title TLS handshake error with YouTube certificate in Phonon/VLC/gnutls minitube: new package Jun 9, 2015
@vcunat vcunat removed the 0.kind: question Requests for a specific question to be answered label Jun 9, 2015
vcunat added a commit that referenced this pull request Jun 9, 2015
This is a fast fix; it might be best to use $SSL_CERT_FILE.
Tested on vlc with youtube https URLs.
Discussed also on #8118. Feel free to discuss further improvements on #8247.
nckx added a commit that referenced this pull request Jun 9, 2015
@vcunat

vcunat commented Jun 9, 2015

Copy link
Copy Markdown
Member

Pushed to staging, as reasonable usage depends on 651e83a.

@vcunat vcunat closed this Jun 9, 2015
@nckx

nckx commented Jun 9, 2015

Copy link
Copy Markdown
Member Author

Thank you!

@nckx
nckx deleted the add-minitube branch June 9, 2015 18:20
@vcunat

vcunat commented Jun 9, 2015

Copy link
Copy Markdown
Member

Thanks for a nice package :-) though I slightly miss the configurability of vlc.

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

Successfully merging this pull request may close these issues.

2 participants