summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
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() {