huangzonghao / googlecl

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

Category check #510

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

if you upload a video to Youtube and choose a wrong category, or write the 
category's name wrong (case sensitive), the tool uploads the whole video before 
it returns the wrong category error. 

I uploaded 3.7GB just to see the error. It's annoying...

This was the command: "google youtube post --category tech /some/vi/de/o"

What steps will reproduce the problem?
1. Upload Video with wrong category e.g. "tech" instead of "Tech"
2. See the video being uploaded
3. See the category check return an error message *AFTER* the video was 
uploaded.

What is the expected output? What do you see instead?

Get the category error *before* the video is uploaded.

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

Package: googlecl
Version: 0.9.13-1.1
Package: python-gdata
Version: 2.0.17-1

Ubuntu 12.10.

KR,

G.

Original issue reported on code.google.com by psyc...@gmail.com on 23 Feb 2013 at 7:51

GoogleCodeExporter commented 8 years ago
Good suggestion, thanks!

Original comment by jh...@google.com on 26 Feb 2013 at 1:54

GoogleCodeExporter commented 8 years ago
I was bitten by this bug on a 2.5GB video that took something like 10-18 hours 
to upload.  Also, I am able to upload videos longer than 15minutes but this is 
something to check before the upload starts, not after, as is youtube format 
compatability.

The sad thing is youtube doesn't even require this field as I have uploaded 
with openshot without it.

Original comment by mark.whi...@gmail.com on 23 Aug 2013 at 8:06