Youtube qualities

Jan 17, 2013 at 9:02 PM

Hi,

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.  

Coordinator
Jan 20, 2013 at 6:13 PM
Edited Jan 20, 2013 at 6: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 1:45 PM

Hi,

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

 

Thanks 

Coordinator
Jan 28, 2013 at 2: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...

Coordinator
Feb 4, 2013 at 11:21 PM
The feature is now available in the newest NuGet version!