way to directly download only cli of encode server

Anything and everything to do with DCP-o-matic.
glancemedia
Posts: 7
Joined: Wed Aug 23, 2017 10:13 am

way to directly download only cli of encode server

Post 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
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: way to directly download only cli of encode server

Post 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.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: way to directly download only cli of encode server

Post 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.
glancemedia
Posts: 7
Joined: Wed Aug 23, 2017 10:13 am

Re: way to directly download only cli of encode server

Post 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
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: way to directly download only cli of encode server

Post 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?
glancemedia
Posts: 7
Joined: Wed Aug 23, 2017 10:13 am

Re: way to directly download only cli of encode server

Post 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
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: way to directly download only cli of encode server

Post by carl »

That should work now.