-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
Description
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