Youtube Upload

Is there a script, or kodi addon that can be usedto upload videos from your pi to youtube? If I have a large hd video, it sure saves on energy costs to use a PI then a desktop.

https://www.google.co.uk/search?q=upload%20to%20youtube%20from%20linux%20command%20line

I’ve tried installing and running youtube-upload on my PI2. Dependency errors.

Perhaps if you shared the exact errors (and commands you ran to try to install it) someone might be able to help you…

root@osmc:~# youtube-upload
Traceback (most recent call last):
File “/usr/local/bin/youtube-upload”, line 9, in
from youtube_upload import main
File “/usr/local/lib/python2.7/dist-packages/youtube_upload/main.py”, line 24, in
import apiclient.errors
ImportError: No module named apiclient.error

Are you following this
https://code.google.com/p/youtube-upload/wiki/Readme

sudo apt-get update
sudo apt-get install python2.7
sudo apt-get install python-gdata
wget https://code.google.com/p/youtube-upload/downloads/detail?name=youtube-upload-0.7.3.tgz&can=2&q=
tar xvzf youtube-upload-0.7.3.tgz
cd youtube-upload-0.7.3
sudo python setup.py install

osmc@osmc:~/Download/youtube-upload-0.7.3$ youtube-upload
Usage: youtube-upload [OPTIONS] VIDEO_PATH …

Upload videos to youtube.

[VideoArgumentMissing] Specify a video file to upload

Awesome. That did the trick. Thanks!

See what happens when you follow the steps laid out in the guide.

1 Like