Skip to content

Script errors out on Libraries with no Label field #1

Description

@sleighton

If your plex server has a library that does not include labels, like a photo library, the script will fail with the error below.

ERROR: Failed to retrieve items with label 'FIXDATE': Unknown filter field "label" for libtype "photo". Available filter fields: ['title', 'addedAt', 'originallyAvailableAt', 'userRating', 'mediaSize', 'tag', 'trash', 'location', 'aperture', 'exposure', 'iso', 'lens', 'make', 'model', 'device', 'place', 'photo.guid', 'photo.id', 'photo.index', 'photo.lastRatedAt', 'photo.updatedAt', 'group', 'having']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions