tamland / python-tidal

Python API for TIDAL music streaming service
GNU Lesser General Public License v3.0
402 stars 109 forks source link

Missing "/" in user.py coases functions "remove_track" and "remove_video" to not function correctly #211

Closed yuri-the-cockroach closed 10 months ago

yuri-the-cockroach commented 10 months ago

With current stable, functions _removetrack and _removevideo throw a 404 error. In _removetrack there needs to be slash before "tracks"

return self.requests.request("DELETE", f"{self.base_url}[SLASH NEEDS TO BE HERE]tracks/{track_id}").ok

and in _removevideo before "video"

return self.requests.request("DELETE", f"{self.base_url}[SLASH NEEDS TO BE HERE]videos/{video_id}").ok

placing them back fixes the issue.

tehkillerbee commented 10 months ago

Thanks, this will be fixed by MR #210, that will be merged in ASAP, before next release.