Fix album.get_tracks()
This commit is contained in:
parent
9924500108
commit
53be0e5f06
|
@ -1857,9 +1857,9 @@ class Album(_Opus):
|
||||||
def get_tracks(self):
|
def get_tracks(self):
|
||||||
"""Returns the list of Tracks on this album."""
|
"""Returns the list of Tracks on this album."""
|
||||||
|
|
||||||
uri = 'lastfm://playlist/album/%s' % self.get_id()
|
return _extract_tracks(
|
||||||
|
self._request(
|
||||||
return XSPF(uri, self.network).get_tracks()
|
self.ws_prefix + ".getInfo", cacheable=True), "tracks")
|
||||||
|
|
||||||
def get_url(self, domain_name=DOMAIN_ENGLISH):
|
def get_url(self, domain_name=DOMAIN_ENGLISH):
|
||||||
"""Returns the URL of the album or track page on the network.
|
"""Returns the URL of the album or track page on the network.
|
||||||
|
|
Loading…
Reference in a new issue