The importadded plugin is useful when an existing collection is imported and the time when albums and items were added should be preserved.
To use the importadded plugin, enable it in your configuration (see Using Plugins).
The mtime of files that are imported into the library are assumed to represent the time when the items were originally added.
The item.added field is populated as follows:
This plugin can optionally be configured to also preserve mtimes at import using the preserve_mtimes option.
When preserve_write_mtimes option is set, this plugin preserves mtimes after each write to files using the item.added attribute.
File modification times are preserved as follows:
Note that there is no album.mtime field in the database and that the mtime of album directories on disk aren’t preserved.
To configure the plugin, make an importadded: section in your configuration file. There are two options available:
This plugin will skip reimported singleton items and reimported albums and all of their items.