fix youtube url

This commit is contained in:
Luke Pulverenti 2013-07-27 18:41:58 -04:00
parent 8ea6f76506
commit f550bfd4a4

View File

@ -801,7 +801,7 @@ namespace MediaBrowser.Providers.Movies
{
movie.RemoteTrailers = movieData.trailers.youtube.Select(i => new MediaUrl
{
Url = string.Format("http://www.youtube.com/watch?{0}", i.source),
Url = string.Format("http://www.youtube.com/watch?v={0}", i.source),
IsDirectLink = false,
Name = i.name,
VideoSize = string.Equals("hd", i.size, StringComparison.OrdinalIgnoreCase) ? VideoSize.HighDefinition : VideoSize.StandardDefinition