summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:43:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:43:08 +0200
commit2b3f22361da0c1d8e6ce70d71352821758186db7 (patch)
tree5d10633b47369b3aa52a05bf889ede0dbe5ee108 /src/MediaDataRepresentation.vala
parent211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff)
parentdc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r--src/MediaDataRepresentation.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala
index e78894f..f4b9f7d 100644
--- a/src/MediaDataRepresentation.vala
+++ b/src/MediaDataRepresentation.vala
@@ -59,7 +59,9 @@ public abstract class MediaSource : ThumbnailSource, Indexable {
protected override void notify_altered(Alteration alteration) {
Alteration local = alteration;
- if (local.has_detail("metadata", "name") || local.has_detail("backing", "master")) {
+ if (local.has_detail("metadata", "name") ||
+ local.has_detail("metadata", "comment") ||
+ local.has_detail("backing", "master")) {
update_indexable_keywords();
local = local.compress(new Alteration("indexable", "keywords"));
}
@@ -792,6 +794,7 @@ public class MediaCollectionRegistry {
LibraryMonitor replacement = new LibraryMonitor(import_dir, true,
!CommandlineOptions.no_runtime_monitoring);
LibraryMonitorPool.get_instance().replace(replacement, LIBRARY_MONITOR_START_DELAY_MSEC);
+ LibraryFiles.select_copy_function();
}
public static MediaCollectionRegistry get_instance() {