PeerTube CLI
-
@imc67 said in PeerTube CLI:
I will create an App request with this info.
-
@girish I uploaded (via YT URL) 1 video just to test. Then discovered the, for us blocking issues and since then waiting for the update.
However, I remember that importing a YT playlist by URL didn’t seem to work (nothing happened). So I really prefer a build in CLI to do this.
-
@imc67 said in PeerTube CLI:
@girish this morning they released 2.4.0 adding many features and solving even more bugs of which 2 of them where blocking for us
Friendly reminder
-
Also interested in the cli to be able to relaunch transcoding jobs
example :
sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- --generate-hls -v c249320b-5263-4b2b-b1e8-14d07403079c -
I tried (in the 0.7 version) the following command:
sudo -u root NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v b8b791eb-9e38-4c4f-b797-0347662bb45f
but this error returns:
sudo: npm: command not found
Is the path in the command ok?
-
@nebulon said in PeerTube CLI:
gosu cloudron:cloudron
getting one step closer but still an error:
gosu cloudron:cloudron NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v db21c654-6ca3-470e-b6a0-0f31bbcb3c37 error: exec: "NODE_CONFIG_DIR=/var/www/peertube/config": stat NODE_CONFIG_DIR=/var/www/peertube/config: no such file or directory
-
@nebulon again one step closer, but...
/app/code/server# gosu cloudron:cloudron NODE_ENV=production npm run create-transcoding-job -- -v db21c654-6ca3-470e-b6a0-0f31bbcb3c37 error: exec: "NODE_ENV=production": executable file not found in $PATHwith the current size.