Skip to content

[BUG] Tidal client f"tracks/{item_id!s}/lyrics" is returning a 401, breaking track downloads #962

@CharliePalm

Description

@CharliePalm

Describe the bug

streamrip/client/tidal.py, line 117 fetches lyrics for a track via this request:

resp = await self._api_request(
    f"tracks/{item_id!s}/lyrics", base="https://listen.tidal.com/v1"
)

But tidal is throwing a 401/Unauthorized error. Replacing this with: resp = {} makes the process run without issue.
Perhaps this endpoint now requires auth. I'm looking into fixing this but figured I'd open a bug as well.

Command Used

rip url https://tidal.com/album/149574907

Debug Traceback

ERROR    Error downloading track: 401, message='Unauthorized', url='https://tidal.com/v1/tracks/149574915/lyrics?limit=100&countryCode=US'

Config File

# default

Operating System

Linux, MacOS, and Windows

streamrip version

2.2.0

Screenshots and recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions