0.82: Naming of Sidecar files

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

0.82: Naming of Sidecar files

Post by xnview »

If we have a file dogs-vancouver-20150930-9350.cr2, the sidecar must be dogs-vancouver-20150930-9350.xmp or dogs-vancouver-20150930-9350.cr2.xmp??
Pierre.
elfroggio
Posts: 83
Joined: Sat May 30, 2015 9:13 pm

Re: Sidecar filename

Post by elfroggio »

That depends on the software that created the sidecar
  • lightroom/photoshop: strip the extension and replace it with .xmp
  • darktable: full filename + add xmp at the end (which I use on linux)
  • corel aftershot pro: full filename + add xmp at the end (which I also use on linux)
The reason is to have a separate sidecar for:
  • 123.cr2 ==> 123.cr2.xmp
  • 123.jpg ==> 123.jpg.xmp
  • 123.tif ==> 123.tif.xmp

Thanks

Syv
Justin
Posts: 5
Joined: Thu Sep 22, 2016 6:31 am

Re: Sidecar filename

Post by Justin »

elfroggio wrote:
The reason is to have a separate sidecar for:
  • 123.cr2 ==> 123.cr2.xmp
  • 123.jpg ==> 123.jpg.xmp
  • 123.tif ==> 123.tif.xmp
Absolutely agree with the above quote, better still, give the user the option of choosing their preference.

Justin.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Sidecar filename

Post by helmut »

There seems to be no real standard naming convention for sidecar files. I think by default XnView should find sidecar files with or without extension in the filename. And search order of XnView should be from specific to less specific.

Search for sidecar file:
1. <filename without extension>.<extension>.xmp
2. <filename without extension>.xmp

Example:
"blubber.cr2" -> Sidecar files could be named either "blubber.cr2.xmp" or "blubber.xmp", XnView would find them.
Justin
Posts: 5
Joined: Thu Sep 22, 2016 6:31 am

Re: Naming of Sidecar files

Post by Justin »

OK, so could these suggestions be considered for implementation?

Justin.
t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

Re: Naming of Sidecar files

Post by t3mujin »

I currently run exiftool to sync metadata between the two formats, so having this would be great. Even if not intended to support both at the same time, to avoid conflicts, there could be an option which format would be used at Import/Export actions.
Justin
Posts: 5
Joined: Thu Sep 22, 2016 6:31 am

Re: Naming of Sidecar files

Post by Justin »

It would be courteous to hear a response from the developer on the question he asked.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Naming of Sidecar files

Post by xnview »

Justin wrote:It would be courteous to hear a response from the developer on the question he asked.
it's implemented in 0.83
Pierre.
Justin
Posts: 5
Joined: Thu Sep 22, 2016 6:31 am

Re: Naming of Sidecar files

Post by Justin »

Thank you for listening and implementing this, however it is not working for me. When the option (fliename.extension.xmp) is selected the xmp is written as 'filename.xmp'.

Tested in Mint 18 64bit with *.CR2 & *.DNG

Justin.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Naming of Sidecar files

Post by xnview »

See Issue 981 for details.
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.82: Naming of Sidecar files

Post by helmut »

This problem is supposed to be fixed in XnView MP 0.84 beta 1.
Dominius
Posts: 39
Joined: Mon Nov 28, 2016 9:58 am

Re: 0.82: Naming of Sidecar files

Post by Dominius »

No chance of your bringing in exiv2 .exv files, is there? I have it on good authority from Phil Harvey that they're nothing but JPEGs without the header. Exiftool has had the writing and reading of these going back to 2014. The original spec (Andreas Huggel's) provided for the copying of IPTC and EXIF as well as XMP. I've tried this in Exiftool to my disappointment. Exiv2: no problems at all.

Dominius
Post Reply