Possible bug in new version, DCP name gets messed up when reloading DCP

Anything and everything to do with DCP-o-matic.
funkytwig
Posts: 85
Joined: Mon Jul 28, 2014 9:37 am

Possible bug in new version, DCP name gets messed up when reloading DCP

Post by funkytwig »

Version 2.18.9 (latest I think)

I have a DCP called DSA_Reel_3

This creates a DCP called DsaReel3_SHR-1-25_S-240_EN-XX_20_2K_FUN_20250609_FUN_SMPTE_OV

But if I save the project and reload it renames it to Dsa_SHR-1-25_S-240_EN-XX_20_2K_FUN_20250609_FUN_SMPTE_OV

If I delete the 3 from the end and retype 3, it sorts it out, but I think this is a bug (albeit a small one).

This seems to happen consistently where there is a _ in Name field at top of the DCP Tab.

Ben
StephW999
Posts: 62
Joined: Mon May 17, 2021 1:15 pm

Re: Possible bug in new version, DCP name gets messed up when reloading DCP

Post by StephW999 »

hi Ben,
This is not a bug, it's normal. The _ character separates the different fields.
in the film title of a CPL this character is prohibited.
you can use -(the hyphen) if you want.
https://registry-page.isdcf.com/general/
carl
Site Admin
Posts: 2777
Joined: Thu Nov 14, 2013 2:53 pm

Re: Possible bug in new version, DCP name gets messed up when reloading DCP

Post by carl »

It seems wrong though that you can enter DSA_Reel_3, then it removes the _ but then when you load the project back in your name has lost the Reel_3 part.
Carsten
Posts: 2947
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Possible bug in new version, DCP name gets messed up when reloading DCP

Post by Carsten »

Yeah, it should probably just discard the underscores and keep all legal chars. However, if I think about it longer, it may be correct to do it that way, because what about 'correct' underscores separating fields in this same scenario?
carl
Site Admin
Posts: 2777
Joined: Thu Nov 14, 2013 2:53 pm

Re: Possible bug in new version, DCP name gets messed up when reloading DCP

Post by carl »

I think the discarding of underscores is just happening at the wrong time - whatever you enter in the "name" field should be preserved on save/reload. We then decide what to do with underscores / other characters when creating the ISDCF name.

I added a tweak to my local copy of DCP-o-matic so I think things should work a little better in 2.18.20.