Fix ID Lookups
This commit is contained in:
@@ -198,7 +198,7 @@ class iTunesPlugin(BeetsPlugin):
|
|||||||
try:
|
try:
|
||||||
for country in self.lookup_countries:
|
for country in self.lookup_countries:
|
||||||
try:
|
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)
|
return self.make_album_info(album, True)
|
||||||
except LookupError:
|
except LookupError:
|
||||||
pass
|
pass
|
||||||
@@ -212,7 +212,7 @@ class iTunesPlugin(BeetsPlugin):
|
|||||||
try:
|
try:
|
||||||
for country in self.lookup_countries:
|
for country in self.lookup_countries:
|
||||||
try:
|
try:
|
||||||
track = itunespy.lookup_track(track_id, country=country)
|
track = itunespy.lookup_track(track_id, country=country)[0]
|
||||||
return self.make_track_info(track)
|
return self.make_track_info(track)
|
||||||
except LookupError:
|
except LookupError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user