This project is read-only.

Youtube qualities

Jan 17, 2013 at 10:02 PM


Whenever you're getting the download link for a video for a quality higher than the videos max quality, then it returns the max quality.
For example if you try to get the 1080p quality of a video with maximum 480p, then you'll get the 480p link.

Is there a way, so that it doesn't return anything if not found with the specified quality?
Thanks for this great piece of library.  

Jan 20, 2013 at 7:13 PM
Edited Jan 20, 2013 at 7:13 PM

I added a new method overload with a min quality. If you request the same min quality as max quality, the method will behave as requested...

        public static HttpResponse GetVideoUri(string youTubeId, YouTubeQuality minQuality, YouTubeQuality maxQuality,
            Action<YouTubeUri, Exception> completed)

Please test the code and if everything works correct, the change will be available in the next NuGet package update.

Jan 26, 2013 at 2:45 PM


I'm using the GetVideoUriAsync, which does not have the last argument in it. 
How would the method for GetVideoUriAsync look?



Jan 28, 2013 at 3:05 PM

It's not yet available as NuGet package - only as download on this page (see Source Code). Please test it and if everything works as expected, I'll create a NuGet update...

Feb 5, 2013 at 12:21 AM
The feature is now available in the newest NuGet version!