Fix ID Lookups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user