Page 1 of 1

way to directly download only cli of encode server

Posted: Wed Sep 08, 2021 1:47 pm
by glancemedia
Hi.
Im trying to create a script, that when run, will download lates encode server binaries (ubuntu 20.04), but only CLI. (script will be run on server start)
Server that im using does not have any GUI, so I cant use AppImage version of encode server, nor default linux packages, as those all have X dependency :(
So i have 2 questions:
1. how to directly download a package skipping that donation page? I try to use wget, but i always save only that donation page instead of package
2. where to get package with only encode server cli?
Thanks

Re: way to directly download only cli of encode server

Posted: Sat Sep 11, 2021 7:18 am
by carl
Hi there - it's on the to-do list to make Ubuntu CLI-only packages but it's not finished yet. There are some rules on the website for which clients get to skip the donation page, and I can add an entry there once the CLI packages are ready.

Re: way to directly download only cli of encode server

Posted: Sat Sep 11, 2021 9:14 pm
by carl
The latest alpha now has CLI-only packages for Ubuntu and Debian - perhaps you'd like to give them a try. They should be downloadable without the donation nag page appearing.

Re: way to directly download only cli of encode server

Posted: Thu Dec 23, 2021 11:29 pm
by glancemedia
Hi, sorry for late reply.
I've tested it, and it's working.
BUT, i have to put version number into download link, so for now, I'm unable to get latest version automatically. (maybe cause alpha??)

If anyone is interested, here is small auto update script. For now it contains version part (bold), which can be removed after CLI-only packages are finalized.

update-dcpomatic.sh:

Code: Select all

#!/bin/sh

wget --content-disposition "https://dcpomatic.com/dl.php?id=ubuntu-20.04-64-cli[b]&version=2.15.180[/b]"
sudo apt install ./dcpomatic-cli*.deb
rm ./dcpomatic-cli*.deb

Re: way to directly download only cli of encode server

Posted: Thu Dec 23, 2021 11:46 pm
by carl
I guess it could accept just

Code: Select all

version=2.14
to get the latest 2.14.x version? Would that make sense?

Re: way to directly download only cli of encode server

Posted: Wed Jan 05, 2022 11:22 am
by glancemedia
carl wrote: Thu Dec 23, 2021 11:46 pm I guess it could accept just

Code: Select all

version=2.14
to get the latest 2.14.x version? Would that make sense?
yes, that will be great way to get always latest patches for current version

Re: way to directly download only cli of encode server

Posted: Fri Jan 07, 2022 9:44 pm
by carl
That should work now.