Backend: Index xmp error messages

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-20 11:40:55 +02:00
parent 8ebb6b85ed
commit b14bddca9d

View file

@ -271,6 +271,8 @@ func (ind *Index) MediaFile(m *MediaFile, o IndexOptions, originalName string) (
if details.NoCopyright() && data.Copyright != "" {
details.Copyright = data.Copyright
}
} else {
file.FileError = err.Error()
}
case m.IsRaw(), m.IsHEIF(), m.IsImageOther():
if metaData := m.MetaData(); metaData.Error == nil {