Skip to content

support for lyrics is broken since 4.15.8 #1433

@sibbi77

Description

@sibbi77

Describe the Bug

Retrieving plexapi.media.LyricStream does no longer work.

Code Snippets

def get_plex_lyrics(album: plexapi.audio.Album):
    tracks: list[plexapi.audio.Track] = album.tracks()
    for track in tracks:
        track.reload()
        media: list[plexapi.media.Media] = track.media
        for m in media:
            parts: list[plexapi.media.MediaPart] = m.parts
            for p in parts:
                streams = p.streams
                for stream in streams:
                    if isinstance(stream, plexapi.media.LyricStream):
                        data = plex_query(stream.key)
                        print(data)

Expected Behavior

plexapi==4.15.7: the above code prints the lyrics
plexapi>=4.15.8: len(streams) == 1 and no lyrics are present

Additional Context

No response

Operating System and Version

Ubuntu 24.04

Plex Media Server Version

1.40.4.8598

Python Version

3.12.3

PlexAPI Version

4.15.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions