Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
011fda39af
commit
55819dba9b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ func (m *MediaFile) MetaData() (result meta.Data, err error) {
|
|||
m.metaDataOnce.Do(func() {
|
||||
if jsonFile := fs.TypeJson.Find(m.FileName(), false); jsonFile == "" {
|
||||
log.Debugf("mediafile: no json sidecar file found for %s", txt.Quote(filepath.Base(m.FileName())))
|
||||
} else if err := m.metaData.JSON(m.FileName()); err != nil {
|
||||
} else if err := m.metaData.JSON(jsonFile); err != nil {
|
||||
log.Warn(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue