trizen / youtube-viewer

Lightweight YouTube client for Linux
https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html
Artistic License 2.0
1.2k stars 87 forks source link

The "prefer_webm" setting is ignored for some videos #27

Closed ipha closed 11 years ago

ipha commented 11 years ago

With prefer_webm set to 0, some videos will download as webm unless a resolution is specified.

For example:

youtube-viewer -d "http://www.youtube.com/watch?v=BXWaFriFXLE" will download a 1080p webm file, while youtube-viewer -1 -d "http://www.youtube.com/watch?v=BXWaFriFXLE" will download a 1080p mp4 file.

trizen commented 11 years ago

Fixed. Thank you.

https://github.com/trizen/youtube-viewer/commit/3a4c2d5c2d64df872b8703bdd457de61d11d85fb