[libgdata] youtube: Remove processingDetails part from single video query URI



commit e49a9d92120da3a77817c77577859be53c7cd081
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Apr 30 21:32:55 2015 +0100

    youtube: Remove processingDetails part from single video query URI
    
    We can only query the processingDetails if we are the video owner, which
    basically means we can only (reliably) do it in the upload code, after
    uploading the video. Attempting to retrieve the processingDetails for
    any other video (we don’t own) results in an access denied error
    response from the server.

 gdata/services/youtube/gdata-youtube-video.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-video.c b/gdata/services/youtube/gdata-youtube-video.c
index 204c6a0..6ce6677 100644
--- a/gdata/services/youtube/gdata-youtube-video.c
+++ b/gdata/services/youtube/gdata-youtube-video.c
@@ -1468,8 +1468,7 @@ get_entry_uri (const gchar *id)
        return _gdata_service_build_uri ("https://www.googleapis.com/youtube/v3/videos";
                                         "?part=contentDetails,id,"
                                               "recordingDetails,snippet,"
-                                              "status,statistics,"
-                                              "processingDetails"
+                                              "status,statistics"
                                         "&id=%s", id);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]