dangtrinhnt / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Add unlisted option to Youtube uploads #508

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What service (Calendar, Docs, Picasa) should be enhanced?

Youtube

What is the enhancement?

Support for --access=unlisted

Here is example (dirty) code to do that:

googlecl/youtube/service.py:122:
video_entry = gdata.youtube.YouTubeVideoEntry(media=my_media_group, 
extension_elements=[atom.ExtensionElement('accessControl',namespace=gdata.media.
YOUTUBE_NAMESPACE,attributes={'action':'list','permission':'denied'})])

Original issue reported on code.google.com by tom...@gmail.com on 7 Jan 2013 at 9:47

GoogleCodeExporter commented 9 years ago
Thanks for providing sample code!  That makes our job much easier.  Added in 
r635.

Original comment by jh...@google.com on 8 Jan 2013 at 2:03