mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-14 23:24:52 -04:00
Fix function call
This commit is contained in:
parent
2f258865ad
commit
44dc29d7e5
1 changed files with 1 additions and 3 deletions
|
@ -161,7 +161,6 @@ class Track:
|
||||||
self.downloaded = True
|
self.downloaded = True
|
||||||
self.tagged = True
|
self.tagged = True
|
||||||
self.path = self.final_path
|
self.path = self.final_path
|
||||||
|
|
||||||
decho(
|
decho(
|
||||||
f"{self['title']} already logged in database, skipping.",
|
f"{self['title']} already logged in database, skipping.",
|
||||||
fg="magenta",
|
fg="magenta",
|
||||||
|
@ -196,7 +195,7 @@ class Track:
|
||||||
:param progress_bar: turn on/off progress bar
|
:param progress_bar: turn on/off progress bar
|
||||||
:type progress_bar: bool
|
:type progress_bar: bool
|
||||||
"""
|
"""
|
||||||
if not self._prepare_download(quality, parent_folder, progress_bar, **kwargs):
|
if not self._prepare_download(quality=quality, parent_folder=parent_folder, progress_bar=progress_bar, **kwargs):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if self.client.source == "soundcloud":
|
if self.client.source == "soundcloud":
|
||||||
|
@ -886,7 +885,6 @@ class Album(Tracklist):
|
||||||
else:
|
else:
|
||||||
kwargs["parent_folder"] = self.folder
|
kwargs["parent_folder"] = self.folder
|
||||||
|
|
||||||
logger.debug("Downloading 2")
|
|
||||||
if not track.download(quality=quality, database=database, **kwargs):
|
if not track.download(quality=quality, database=database, **kwargs):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue