vishnukraj / youtube-upload

Automatically exported from code.google.com/p/youtube-upload
0 stars 1 forks source link

Problem uploading #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Versions

youtube-upload:0.7.2
python:2.7.3
python-gdata:latest availble on debian.

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

Error:
Usage: youtube-upload [OPTIONS] VIDEO_PATH ...

    Upload videos to youtube.

[VideoArgumentMissing] Specify a video file to upload
upload.sh: line 4: --title=Playing Teleglitch 02: Now with commentary!: command 
not found
upload.sh: line 5: --category=Games: command not found

The script I ran to get this:
#!/bin/bash

youtube-upload --email=[removed] --password=[removed]
  --title="Playing Teleglitch 02: Now with commentary!" --description="Started over. \nRevolutonary features is MY VOICE!"
  --category="Games" --keywords="Teleglitch,Indie,Games" "/mnt/downloads/Youtube/Playing Teleglitch 02.wmv"

Of course username and password have been checked multiple times. I've also 
already uploaded a video via the web ui on youtube.

Original issue reported on code.google.com by lundberg...@gmail.com on 23 May 2013 at 9:09

GoogleCodeExporter commented 9 years ago
It looks like you forgot the "\" required to split commands in different lines.

Original comment by tokland on 23 May 2013 at 9:49

GoogleCodeExporter commented 9 years ago
Yes, that was the problem.

I did copy the script from the FAQ so it should probably include those \ in 
that code.

Thank you.

Original comment by lundberg...@gmail.com on 24 May 2013 at 5:49

GoogleCodeExporter commented 9 years ago
> I did copy the script from the FAQ so it should probably include those \ in 
that code.

Indeed, edited. Thanks.

Original comment by tokland on 24 May 2013 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 13 May 2014 at 8:32