You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Playlist inherits Playable but cannot use any of it public methods since except play which itself calls client.playMedia
which expects a class of Media and has a separate case for Playlist.
also Playable implements attributes specific to only Playlist while each of its child classes implements atrribute media which is expected to be a part of Playable and is used in all of its methods but isn't present.
Describe the Bug
Currently
Playlist
inheritsPlayable
but cannot use any of it public methods since exceptplay
which itself callsclient.playMedia
which expects a class of
Media
and has a separate case forPlaylist
.also
Playable
implements attributes specific to onlyPlaylist
while each of its child classes implements atrributemedia
which is expected to be a part ofPlayable
and is used in all of its methods but isn't present.Code Snippets
python-plexapi/plexapi/base.py
Lines 714 to 716 in 47f11f0
python-plexapi/plexapi/base.py
Lines 729 to 730 in 47f11f0
Expected Behavior
transfer attributes to their own classes, and bring in common attributes into
Playable
from its childrenAdditional Context
No response
Operating System and Version
Windows 10 64-bit
Plex Media Server Version
1.32.7.7621
Python Version
3.11.0b1
PlexAPI Version
4.15.5
The text was updated successfully, but these errors were encountered: