mirror of
https://github.com/nathom/streamrip.git
synced 2025-06-04 00:58:44 -04:00
Tidal MQA get_file_url working
Also formatting
This commit is contained in:
parent
bbc08e45e4
commit
ead14afbbe
7 changed files with 129 additions and 66 deletions
|
@ -431,7 +431,7 @@ class Track:
|
|||
sampling_rate=kwargs.get("sampling_rate"),
|
||||
remove_source=kwargs.get("remove_source", True),
|
||||
)
|
||||
click.secho(f"Converting {self!s}", fg='blue')
|
||||
click.secho(f"Converting {self!s}", fg="blue")
|
||||
engine.convert()
|
||||
|
||||
def get(self, *keys, default=None):
|
||||
|
@ -1092,7 +1092,7 @@ class Artist(Tracklist):
|
|||
"""Send an API call to get album info based on id."""
|
||||
self.meta = self.client.get(self.id, media_type="artist")
|
||||
# TODO find better fix for this
|
||||
self.name = self.meta['items'][0]['artist']['name']
|
||||
self.name = self.meta["items"][0]["artist"]["name"]
|
||||
self._load_albums()
|
||||
|
||||
def _load_albums(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue