iharosi / homebridge-plex-webhooks

Plex Webhooks Server plugin for Homebridge
GNU Affero General Public License v3.0
48 stars 6 forks source link

Help with configuration for specific tv show filter #23

Closed Kristianvdlinde closed 2 years ago

Kristianvdlinde commented 2 years ago

I'm trying to set up a filter where a sensor is occupied when a specific TV show starts playing on my Apple TV think I have the configuration right but I'm not quite sure.

I'm getting these errors from ter Plex console:

Screenshot 2022-02-09 at 23 06 46

This is my configuration:

{
    "platform": "PlexWebhooks",
    "name": "Plex Webhooks Platform",
    "sensors": [
        {
            "name": "Chicago Fire",
            "filters": [
                [
                    {
                        "path": "Account.title",
                        "value": "Kristian van der Linde"
                    }
                ],
                [
                    {
                        "path": "Metadata.type",
                        "value": "tv show"
                    },
                    {
                        "path": "Metadata.title",
                        "value": "Chicago Fire"
                    },
                    {
                        "path": "Player.title",
                        "value": "Apple TV"
                    }
                ]
            ]
        }
    ]
}