summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:35:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:35:32 +0200
commite230b6f78546827521107be23797048482c8b193 (patch)
tree948c1e77382c484819ea399bba4edcdc19cc6bf0 /src/MediaDataRepresentation.vala
parent211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff)
parent49120f48474fc8fdc2448c75d961bc238213cfac (diff)
Update upstream source from tag 'upstream/0.28.2'
Update to upstream version '0.28.2' with Debian dir 811236a8e9a1308bf427065dcb6270419ff4f965
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() {