mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-21 10:45:28 -04:00
Formatting
This commit is contained in:
parent
48fb99494b
commit
9f87084276
3 changed files with 4 additions and 4 deletions
|
@ -990,7 +990,7 @@ class YoutubeVideo:
|
||||||
)
|
)
|
||||||
|
|
||||||
if download_youtube_videos:
|
if download_youtube_videos:
|
||||||
click.secho("Downloading video stream", fg='blue')
|
click.secho("Downloading video stream", fg="blue")
|
||||||
pv = subprocess.Popen(
|
pv = subprocess.Popen(
|
||||||
[
|
[
|
||||||
"youtube-dl",
|
"youtube-dl",
|
||||||
|
|
|
@ -175,7 +175,7 @@ class MusicDL(list):
|
||||||
)
|
)
|
||||||
click.secho("rip config --reset ", fg="yellow", nl=False)
|
click.secho("rip config --reset ", fg="yellow", nl=False)
|
||||||
click.secho("to reset it. You will need to log in again.", fg="red")
|
click.secho("to reset it. You will need to log in again.", fg="red")
|
||||||
click.secho(err, fg='red')
|
click.secho(err, fg="red")
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
logger.debug("Arguments from config: %s", arguments)
|
logger.debug("Arguments from config: %s", arguments)
|
||||||
|
|
|
@ -333,8 +333,8 @@ class TrackMetadata:
|
||||||
if self.__source == "qobuz":
|
if self.__source == "qobuz":
|
||||||
genres = re.findall(r"([^\u2192\/]+)", "/".join(self._genres))
|
genres = re.findall(r"([^\u2192\/]+)", "/".join(self._genres))
|
||||||
genres = set(genres)
|
genres = set(genres)
|
||||||
elif self.__source == 'deezer':
|
elif self.__source == "deezer":
|
||||||
genres = ', '.join(g['name'] for g in self._genres)
|
genres = ", ".join(g["name"] for g in self._genres)
|
||||||
|
|
||||||
return ", ".join(genres)
|
return ", ".join(genres)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue