GNOME Bugzilla – Bug 522120
Support Youtube video upload
Last modified: 2008-06-07 08:01:17 UTC
See * http://arstechnica.com/news.ars/post/20080312-youtubes-new-apis-unleash-video-advertising-revenue.html * http://googledataapis.blogspot.com/2008/03/latest-youtube-api-release-with-upload.html
API: http://code.google.com/apis/youtube/developers_guide_protocol.html#Direct_uploading
Working on this now...
Created attachment 112090 [details] [review] Add YouTube sink support to Conduit This is a basic first attempt. It supports uploading, but I haven't implemented replacing of videos, partly because you can't --- the YouTube API only allows changing the metadata of a video (such as description, keywords, etc.), but not changing the video itself. Should I just implement the _replace_video function as something which would update the video's metadata? I've also changed the way the YouTube plugin is configured to allow for logging in, and it now only has one filter configuration option, which encompasses the old user filter option. Filtering when using the plugin as a source keys off the username option. For this patch to work, you'll need the latest SVN GData library, which has YouTube support.
(In reply to comment #3) > Created an attachment (id=112090) [edit] > Add YouTube sink support to Conduit > > This is a basic first attempt. It supports uploading, but I haven't implemented > replacing of videos, partly because you can't --- the YouTube API only allows > changing the metadata of a video (such as description, keywords, etc.), but not > changing the video itself. Should I just implement the _replace_video function > as something which would update the video's metadata? Yeah, that makes sense. > I've also changed the way the YouTube plugin is configured to allow for logging > in, and it now only has one filter configuration option, which encompasses the > old user filter option. Filtering when using the plugin as a source keys off > the username option. The config GUI actually looks very good. Better than out other ones :-). > > For this patch to work, you'll need the latest SVN GData library, which has > YouTube support. I merged your changes, imported gdata from SVN and pushed this to a BZR branch at bzr branch http://www.johnstowers.co.nz/bzr/conduit-youtube/ I will probbably merge this into SVN tonight, it will get more testing that way. Unless you are comfortable working with BZR, then I can just merge in your changes when you feel its complete.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.