When using dcpomatic2_kdm_cli, we are supposed to pass the following import parameters
Syntax: /usr/bin/dcpomatic2_kdm_cli [OPTION] [COMMAND] <FILM|CPL-ID|DKDM>
The CPL-ID is the string that is returned in the outpt of list-dkdm-cpls command...but...what are the other two options? Can we somehow pass the FILM name or DKDM name as suggested in the above syntax as it is more friendly than working with CPL IDs?
For example, I was hoping to pass the name of the package (Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV) but it does not work with that. I get an error
/usr/bin/dcpomatic2_kdm_cli: could not find film or CPL ID corresponding to Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV
dcpomatic2_kdm_cli - CPL ID Vs Movie Name
-
- Posts: 147
- Joined: Wed Oct 04, 2017 4:49 am
dcpomatic2_kdm_cli - CPL ID Vs Movie Name
Last edited by Guddu on Wed Aug 06, 2025 2:35 pm, edited 1 time in total.
-
- Posts: 309
- Joined: Mon Nov 13, 2017 8:40 pm
- Location: Iceland
Re: dcpomatic2_kdm_cli - CPL ID Vs Movie Name
If by „package“ you mean DCP, it's most probable that you need to omit the „KDM_“ prefix.
On the other hand, if you mean a DKDM, you probably need to add „.xml“ as suffix.
I am not using the CLI tool, so that is my assumption, not my fact.
On the other hand, if you mean a DKDM, you probably need to add „.xml“ as suffix.
I am not using the CLI tool, so that is my assumption, not my fact.
-
- Posts: 147
- Joined: Wed Oct 04, 2017 4:49 am
Re: dcpomatic2_kdm_cli - CPL ID Vs Movie Name
Either way it gives the same error
could not find film or CPL ID corresponding to Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV
or with .xml added
could not find film or CPL ID corresponding to Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml
could not find film or CPL ID corresponding to Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV
or with .xml added
could not find film or CPL ID corresponding to Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml
-
- Posts: 309
- Joined: Mon Nov 13, 2017 8:40 pm
- Location: Iceland
Re: dcpomatic2_kdm_cli - CPL ID Vs Movie Name
It seems I don't get the message across.
I don't get from what you write the following:
Is there a file named Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml?
Alternatively, is there a file named KDM_Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml which is the DKDM in question?
Are you pointing to them by a relative or absolute path?
In any case, it seems that the online manual is not including a „DKDM“ option on the syntax.
What I see on chapter 15 section 03 is:
Whether the cli --help info is more up to date or the site's I can't tell.
What I can tell, after checking (I didn't check on my Linux machine), is that in order for the <FILM> to work, one needs to point to the path of the movie project. Not to the path of the DCP inside that folder.
I don't get from what you write the following:
Is there a file named Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml?
Alternatively, is there a file named KDM_Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV.xml which is the DKDM in question?
Are you pointing to them by a relative or absolute path?
In any case, it seems that the online manual is not including a „DKDM“ option on the syntax.
What I see on chapter 15 section 03 is:
So, my suggestion is misguided in the sense that you can not try to use a DKDM file, instead of a FILM or CPL-ID.dcpomatic2_kdm_cli [OPTION] <FILM|CPL-ID>
Whether the cli --help info is more up to date or the site's I can't tell.
What I can tell, after checking (I didn't check on my Linux machine), is that in order for the <FILM> to work, one needs to point to the path of the movie project. Not to the path of the DCP inside that folder.
-
- Posts: 147
- Joined: Wed Oct 04, 2017 4:49 am
Re: dcpomatic2_kdm_cli - CPL ID Vs Movie Name
I was really hoping that it would accept an input of the sort Movie_FTR-1_F_EN-XX_51_4K_20250618_SMPTE_OV as working with CPL-ID is not very user friendly. Also the original DCP project might not even be around on the same machine to be able to point to it.
Hopefully Carl would respond if this feature request is reasonable and can be accommodated.
Hopefully Carl would respond if this feature request is reasonable and can be accommodated.
-
- Site Admin
- Posts: 2852
- Joined: Thu Nov 14, 2013 2:53 pm
Re: dcpomatic2_kdm_cli - CPL ID Vs Movie Name
Hi, yes seems reasonable. I added this option and it should be in the next release.