FabiUnne/youtube-upload

Ability to modify the title/description of a video

Closed this issue · 14 comments

= Versions

youtube-upload:
python:
python-gdata:

= Describe the steps (including the command you run) that will reproduce
the problem?
Hello

i would like to be able to modify a video previously uploaded, to change the 
description or the title.
Can you add this function ?

thanks a lot

Original issue reported on code.google.com by mad...@gmail.com on 22 Jan 2013 at 12:13

Sorry, the script focus in upload, it has no edit functionality. Patches 
welcome though.

Original comment by tokland on 22 Jan 2013 at 8:04

  • Changed state: WontFix
i will take a look later

Original comment by mad...@gmail.com on 22 Jan 2013 at 8:27

here is the patch.
Only able to change the description
might have made mistake, i'm totally new to python

Original comment by mad...@gmail.com on 24 Jan 2013 at 4:33

Attachments:

Sorry but this patch makes no sense, you'll need to learn some Python before ;-)

Original comment by tokland on 24 Jan 2013 at 7:11

can you add a quiet mode too ?

Original comment by mad...@gmail.com on 24 Jan 2013 at 7:12

no sense ?? it works oO

Original comment by mad...@gmail.com on 24 Jan 2013 at 7:12

It does not work for me.

File "youtube_upload.py", line 219
    def update_description(self, entry, description):

Note that delete_video_from_playlist was split by your new function.

Also, when creating patches create a full one (-r) from the parent directory of 
the project. Take also care of indentation, no tabs, only spaces.

Original comment by tokland on 24 Jan 2013 at 7:16

hmmmm i have applied the patch to the versoin 1.7.1, not the svn one... i don't 
have delete_video_from_playlist

Original comment by mad...@gmail.com on 24 Jan 2013 at 9:07

0.7.1

Original comment by mad...@gmail.com on 24 Jan 2013 at 9:33

Ok, that makes sense. Patches always against trunk version. Check it out with 
subversion and then send the output of "svn diff". Thanks

Original comment by tokland on 24 Jan 2013 at 9:47

Original comment by mad...@gmail.com on 24 Jan 2013 at 10:03

Attachments:

Applied in r182, and refactored in r183 (also title is editable). Ideally it 
should be able to update everthing, but it requires some work to do the update 
properly, probably reusing _create_video_entry.

For now, title and description are updateable. Note also that the URL is a 
positional argument now, not the value of the option.

Original comment by tokland on 25 Jan 2013 at 5:57

  • Changed state: Fixed
thanks

Original comment by mad...@gmail.com on 25 Jan 2013 at 6:40

Original comment by tokland on 13 May 2014 at 2:55