Fix TIDAL video downloads #195

This commit is contained in:
Nathan Thomas 2021-10-07 09:45:09 -07:00
parent c16edbc984
commit 8311fa707b
3 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "streamrip"
version = "1.7"
version = "1.6"
description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud"
authors = ["nathom <nathanthomas707@gmail.com>"]
license = "GPL-3.0-only"

View file

@ -1,5 +1,5 @@
"""streamrip: the all in one music downloader."""
__version__ = "1.7"
__version__ = "1.6"
from . import clients, constants, converter, downloadtools, media

View file

@ -833,15 +833,13 @@ class Video(Media):
"""
self.id = id
self.client = client
self.title = kwargs.get("title", "MusicVideo")
self.explicit = kwargs.get("explicit", False)
self.tracknumber = kwargs.get("tracknumber", None)
def load_meta(self, **kwargs):
"""Given an id at contruction, get the metadata of the video."""
resp = self.client.get(self.id, "video")
self.title = resp["title"]
self.explicit = resp["explicit"]
self.tracknumber = resp["trackNumber"]
def download(self, **kwargs):
"""Download the Video.