Add track info from tidal API into song's classes
This commit is contained in:
parent
4e5941cdf4
commit
cb5b0707bb
@ -63,8 +63,8 @@ class interface(object):
|
||||
s.artist = search_result.artist.name
|
||||
s.duration = seconds_to_string(search_result.duration)
|
||||
s.url = search_result.id
|
||||
s.info = search_result
|
||||
self.results.append(s)
|
||||
|
||||
log.debug("{0} results found.".format(len(self.results)))
|
||||
|
||||
def get_download_url(self, url):
|
||||
|
Loading…
Reference in New Issue
Block a user