Skip to content

Label edits do not apply when batch editing #1475

@CollinHeist

Description

@CollinHeist

Describe the Bug

When batch editing library.batchMultiEdits(), the label edits (specifically the removal) to an episode are not properly applying.

Code Snippets

plex = PlexServer('URL', 'TOKEN')

# Add label to be removed
episode = plex.fetchItem(13312)
episode.addLabel('Example')

# Attempt to remove label
library = plex.library.section('LIBRARY NAME')
library.batchMultiEdits([episode])
episode.removeLabel(['Example'])
library.saveMultiEdits()

Expected Behavior

I expect label edits to properly apply whether batch edits are being used or not.

Additional Context

I am creating this issue for another person, as I've been unable to recreate the issue on my end.

Operating System and Version

N/A

Plex Media Server Version

N/A

Python Version

N/A

PlexAPI Version

4.15.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions