dcpomatic2_kdm_cli sending email

Anything and everything to do with DCP-o-matic.
G470
Posts: 4
Joined: Tue Oct 26, 2021 11:13 am

dcpomatic2_kdm_cli sending email

Post by G470 »

First of all, thank you for this great tool and forum!
I´ve learned a lot in the past few month.

Currently I´m working on some tasks for automated kdm creation via bash script.
Everything works fine, exept automated email delivery.

I´m workin on a ubuntu machine with installed gui of DCCP-o-matic.
From the gui I can send the kdm Email without problems. When I use the dcpomatic2_kdm_cli
with specified cinema and room I can create the kdm without problems but the email function is not triggered.

When I open the gui, the checkbox for sending emails is always unchecked.
I want it to be checked by default and automatically send the kdm email.

The generated code that I´m using looks like this:

Code: Select all

dcpomatic2_kdm_cli -f "2021-10-26 00:00" -t "2021-12-31 22:22" -c "Testcinemaname" -S "Screen_01" -o "/home/kdmfolder" -v /hpstorage/DKDM/testcert.pem.kdm.xml
Testcinemaname has two email adresses in cinema.xml file.

How can I send the email from the dcpomatic2_kdm_cli tool.

Hope someone can give me a hint. :)
carl
Site Admin
Posts: 2528
Joined: Thu Nov 14, 2013 2:53 pm

Re: dcpomatic2_kdm_cli sending email

Post by carl »

Hi, the CLI KDM client doesn't allow emailing at the moment, but we should add it!

I made a note in the tracker.
Carsten
Posts: 2794
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: dcpomatic2_kdm_cli sending email

Post by Carsten »

Wasn't it: 'Every program attempts to expand until it can read mail. '?
G470
Posts: 4
Joined: Tue Oct 26, 2021 11:13 am

Re: dcpomatic2_kdm_cli sending email

Post by G470 »

carl wrote: Tue Oct 26, 2021 11:43 am Hi, the CLI KDM client doesn't allow emailing at the moment, but we should add it!

I made a note in the tracker.
hey, thank you for the fast reply! Greetings from Cologne to Berlin. :)
Good to know that the feature was simply not implemented. I thought that I missed something in the documentation.

I´m not good in C++ but let me know if I can help with the task.

Best regards
Steffen