summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
commit709e2d6f5652ec90c194a4ec2b530bebc6f952cb (patch)
tree496b2f3899e1d5728ee9ae76095cc5056c317447 /src/MediaDataRepresentation.vala
parentf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (diff)
parent5c8be07095cc04a6d8a95204b0504fd7ab030154 (diff)
Merge branch 'release/0.28.3-1'0.28.3-1
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() {