Skip to content

Some objects are passing the incorrect key #50

Description

@pkkid

In some cases the Plex XML API's are passing a key of /library/metadata/<key>/children when in fact the key should really just be /library/metadata/<key> without the /children part at the end. This is causing problems in PlexPartialObject where it never thinks it has the full object, because we don't have the correct reference to the items main page. Currently we see this in the following objects from Plex.

  • Audio Artist - requires self.key.replace('/children', '')
  • Audio Album - requires self.key.replace('/children', '')
  • Playlist - requires self.key.replace('/items', '')

To get around this, we added a flag for objects: FIX_BUG_50 to note we are doing something weird to get around this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions