After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522120 - Support Youtube video upload
Support Youtube video upload
Status: RESOLVED FIXED
Product: conduit
Classification: Other
Component: dataproviders
unspecified
Other Linux
: Normal normal
: ---
Assigned To: conduit-maint@gnome.bugs
conduit-maint@gnome.bugs
Depends on:
Blocks: 522210
 
 
Reported: 2008-03-12 22:58 UTC by John Stowers
Modified: 2008-06-07 08:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add YouTube sink support to Conduit (40.04 KB, patch)
2008-06-03 22:05 UTC, Philip Withnall
needs-work Details | Review

Comment 2 John Stowers 2008-05-05 12:19:32 UTC
Working on this now...
Comment 3 Philip Withnall 2008-06-03 22:05:22 UTC
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.
Comment 4 John Stowers 2008-06-04 05:28:24 UTC
(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.
Comment 5 John Stowers 2008-06-07 08:01:17 UTC
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.