mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 10:34:09 +01:00
parent
58c3e43b78
commit
46f382fd9b
2 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ from __future__ import (unicode_literals, absolute_import, print_function,
|
|||
import os
|
||||
|
||||
from beets import util
|
||||
from beets import importer
|
||||
from beets.plugins import BeetsPlugin
|
||||
|
||||
|
||||
|
|
@ -50,7 +51,10 @@ class ImportAddedPlugin(BeetsPlugin):
|
|||
session.config['link']):
|
||||
self._log.debug(u"In place import detected, recording mtimes from "
|
||||
u"source paths")
|
||||
for item in task.items:
|
||||
items = [task.item] \
|
||||
if isinstance(task, importer.SingletonImportTask) \
|
||||
else task.items
|
||||
for item in items:
|
||||
self.record_import_mtime(item, item.path, item.path)
|
||||
|
||||
def record_reimported(self, task, session):
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ Little fixes and improvements:
|
|||
beets would ignore the locale settings and use UTF-8 by default. :bug:`1419`
|
||||
* :doc:`/plugins/discogs`: Better error handling when we can't communicate
|
||||
with Discogs on setup. :bug:`1417`
|
||||
* :doc:`/plugins/importadded`: Fix a crash when importing singletons in-place.
|
||||
:bug:`1416`
|
||||
|
||||
1.3.11 (April 5, 2015)
|
||||
----------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue