mylemans / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Can not update video meta data #483

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I can not update video meta using .net code.  Please find below code:

 VideosResource.ListRequest videoResourceList = youtubeService.Videos.List("snippet,status");
                     videoResourceList.Id = videoId;
                     videoResourceList.MaxResults = 1;
                     var searchListResponseNew = await videoResourceList.ExecuteAsync();

                     if (searchListResponseNew.Items[0] != null)
                     {
                         Video video = searchListResponseNew.Items[0];
                         video.Status.PrivacyStatus = "unlisted";
                         Video updatedVideo = await youtubeService.Videos.Update(video, "snippet,status").ExecuteAsync();
                     }

What version of the product are you using? latest API 18
What is your operating system? Windows 7
What is your IDE?
What is the .NET framework version? 4.5 

Please provide any additional information below.

Original issue reported on code.google.com by hsnadv...@hsn.net on 4 Aug 2014 at 3:56