-
Upload video to Youtube from command line
Hi,
i’m setting up a workflow like square box’s tutorial.
https://www.squarebox.com/uploading-to-youtube/Everything works fine!
My command looks like this: /opt/local/bin/google youtube post $i –summary ${NT} –title ${U26} –category ${U31} –access ${U28} –tags ${U27}But we’re managing multiple Youtube channels for our costumers.
My question is: Can i execute a command and login into different youtube channels using different worker actions?
i’ve tried many things like putting —user and —password in front of the service in my case Youtube.like this:
/opt/local/bin/google —owner (owner) —password (my password) youtube post $i –summary ${NT} –title ${U26} –category ${U31} –access ${U28} –tags ${U27}/opt/local/bin/google —user (user) —password (my password) youtube post $i –summary ${NT} –title ${U26} –category ${U31} –access ${U28} –tags ${U27}
/opt/local/bin/google —user:password youtube post $i –summary ${NT} –title ${U26} –category ${U31} –access ${U28} –tags ${U27}
/opt/local/bin/google —owner (owner) youtube post $i –summary ${NT} –title ${U26} –category ${U31} –access ${U28} –tags ${U27}
With the latest command it wil open my browser and i’ve to login, the worker gives this notification:
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlementsWhen i login i’ve to give googlecl permission. But nothing happens afterwards.
Is there a way to make it work?Thanks for suggestions,
Jos Brouwer