Update mappings

This commit is contained in:
simon987 2020-04-15 19:13:11 -04:00
parent 2a857db75a
commit dd3d6cf99a
5 changed files with 18 additions and 8 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ bundle.js
*.a
vgcore.*
build/
third-party/

View File

@ -108,13 +108,6 @@ target_link_libraries(
pthread
magic
# TODO: compile ffmpeg with those disabled?
va
va-drm
va-x11
X11
vdpau
scan
)

View File

@ -16,6 +16,10 @@
"mime": {
"type": "keyword"
},
"thumbnail": {
"type": "keyword",
"index": false
},
"videoc": {
"type": "keyword",
"index": false
@ -133,6 +137,12 @@
},
"exif_user_comment": {
"type": "text"
},
"author": {
"type": "text"
},
"modified_by": {
"type": "text"
}
}
}

View File

@ -144,6 +144,12 @@ char *get_meta_key_text(enum metakey meta_key) {
return "exif_model";
case MetaExifDateTime:
return "exif_datetime";
case MetaAuthor:
return "author";
case MetaModifiedBy:
return "modified_by";
case MetaThumbnail:
return "thumbnail";
default:
return NULL;
}

2
third-party/libscan vendored

@ -1 +1 @@
Subproject commit 5d39dc675849ecb99d5308b02f7e1fd20ca5b410
Subproject commit ec129b84e87550a2bd4361d3a3701c687590992a