mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Fix #1700: Tolerate missing Location in iTunes
This commit is contained in:
parent
be49955884
commit
19cf37263d
2 changed files with 4 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ class Itunes(MetaSource):
|
|||
|
||||
# Make the iTunes library queryable using the path
|
||||
self.collection = {_norm_itunes_path(track['Location']): track
|
||||
for track in raw_library['Tracks'].values()}
|
||||
for track in raw_library['Tracks'].values()
|
||||
if 'Location' in track}
|
||||
|
||||
def sync_from_source(self, item):
|
||||
result = self.collection.get(util.bytestring_path(item.path).lower())
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ Fixes:
|
|||
* :doc:`/plugins/thumbnails`: Fix a crash with Unicode paths. :bug:`1686`
|
||||
* :doc:`/plugins/embedart`: The ``remove_art_file`` option now works on import
|
||||
(as well as with the explicit command). :bug:`1662` :bug:`1675`
|
||||
* :doc:`/plugins/metasync`: Fix a crash when syncing with recent versions of
|
||||
iTunes. :bug:`1700`
|
||||
|
||||
|
||||
1.3.15 (October 17, 2015)
|
||||
|
|
|
|||
Loading…
Reference in a new issue