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
way to directly download only cli of encode server
-
- Posts: 7
- Joined: Wed Aug 23, 2017 10:13 am
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: way to directly download only cli of encode server
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.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: way to directly download only cli of encode server
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.
-
- Posts: 7
- Joined: Wed Aug 23, 2017 10:13 am
Re: way to directly download only cli of encode server
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:
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
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: way to directly download only cli of encode server
I guess it could accept just
to get the latest 2.14.x version? Would that make sense?
Code: Select all
version=2.14
-
- Posts: 7
- Joined: Wed Aug 23, 2017 10:13 am
Re: way to directly download only cli of encode server
yes, that will be great way to get always latest patches for current versioncarl wrote: ↑Thu Dec 23, 2021 11:46 pm I guess it could accept just
to get the latest 2.14.x version? Would that make sense?Code: Select all
version=2.14
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: way to directly download only cli of encode server
That should work now.