diff --git a/beetsplug/itunes.py b/beetsplug/itunes.py index 2728d5d..0178572 100644 --- a/beetsplug/itunes.py +++ b/beetsplug/itunes.py @@ -198,7 +198,7 @@ class iTunesPlugin(BeetsPlugin): try: for country in self.lookup_countries: try: - album = itunespy.lookup_album(album_id, country=country) + album = itunespy.lookup_album(album_id, country=country)[0] return self.make_album_info(album, True) except LookupError: pass @@ -212,7 +212,7 @@ class iTunesPlugin(BeetsPlugin): try: for country in self.lookup_countries: try: - track = itunespy.lookup_track(track_id, country=country) + track = itunespy.lookup_track(track_id, country=country)[0] return self.make_track_info(track) except LookupError: pass