Git Product home page Git Product logo

node-red-contrib-plex-ws's People

Contributors

dependabot[bot] avatar hopperpop avatar rspeicher avatar scraton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-red-contrib-plex-ws's Issues

Filters not working in 'Playing' node

When trying to add filters for my TV's Plex app as well as the Plex app on my Nvidia Shield TV, listing their IP addresses under Player.address does not work; I think it is because the correct location is at session.Player.address. Also, after I added those filters, and removed them for not working, the node failed to pass along any debug messages or perform my automations that worked prior to adding them (as if it did not actually remove those filters).

playing node throws error

The notification node works fine, but the playing node throws the following error on all play events:

"failed to fetch session details from plex: Error: read ECONNRESET"

Looks like it's not able to retrieve the session details for some reason.

Plex-token=REDACTED

Hi Stephen, just following your readme, but having a few problems exposing the plex-token.
The token is not shown in the url, and is shown as Plex-token=REDACTED in the browser console.

redacted

Not Really an Issue but...

I really like this project but I wanted to make a feature request. I'm new on github so I don't know the protocol on how to do that so here I am. What I would like to be able to do is use the genre tag as a filter so that i can set up my lights based on the genre I am watching. I'm not the greatest programmer in the world but i did look at the source code and in the playing.html it has the list of filterable keys and I was wondering if all that was needed to accomplish this would be to add Genre.tag as a filterable key. I tried this but it didn't seem to work. Any ideas if this is even a possible use case?

Plex TLS errors

I recently updated the plex app on my synology and now get this continuously:

plex error: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 10.0.0.200 is not in the cert's list: "

and it no longer connects to Plex. Disabling TLS stops the messages, but it doesn't connect to Plex.

How to get Link/ID to IMDb/TMDB

Hello, I have created a Telegram bot that tells me which user in my home group is currently streaming something from my Plex server. Now I would like to send the movie cover as a message in addition to the pure text information. Unfortunately I can't find any relation to the IMDb/TVDB in the "Session" message object to determine the image link. It only contains relative links to the Plex Server library. Is there a possibility?
Thanks in advance!

scrobble event

Hi, is there any way to get a scrobble event like the webhook puts out?
Thanks.

excessive number of messages

Any flow advice how use this to turn on light on pause and dim on play ?
Currently every second it spits out 5 messages which I don't want to sent to my lights directly. Even a rate limit of 1 per 10 seconds would be too often.

Better would be to have a state node that only tracks changes; stopped,playing,paused.

Plex Debug message over and over

Hi, on one of my flows I get this message every 2 seconds:

5/3/2019, 5:38:30 PMnode: 2c6cfac2.f5e126
msg : string[52]
"failed to fetch session details from plex: undefined"

image

Flow:
image

[
    {
        "id": "2c6cfac2.f5e126",
        "type": "plex-ws-playing",
        "z": "43c31fcd.cd5e",
        "name": "",
        "server": "b75659f9.dd0898",
        "allowUpdates": false,
        "filters": [
            {
                "idx": 0,
                "key": "Player.title",
                "operator": "eq",
                "value": "SHIELD Downstairs",
                "valueType": "str"
            }
        ],
        "x": 160,
        "y": 800,
        "wires": [
            [
                "804a174e.850a28"
            ]
        ]
    },
    {
        "id": "804a174e.850a28",
        "type": "switch",
        "z": "43c31fcd.cd5e",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "playing",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "paused",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "stopped",
                "vt": "str"
            },
            {
                "t": "eq",
                "v": "buffering",
                "vt": "str"
            }
        ],
        "checkall": "false",
        "repair": false,
        "outputs": 4,
        "x": 310,
        "y": 800,
        "wires": [
            [
                "42acd57c.e352cc"
            ],
            [
                "3e57a449.fbac1c"
            ],
            [
                "3e57a449.fbac1c"
            ],
            [
                "42acd57c.e352cc"
            ]
        ]
    },
    {
        "id": "42acd57c.e352cc",
        "type": "api-call-service",
        "z": "43c31fcd.cd5e",
        "name": "Plex Downstairs On",
        "server": "4000050f.bda52c",
        "service_domain": "input_boolean",
        "service": "turn_on",
        "data": "{\"entity_id\":\"input_boolean.plex_downstairs\"}",
        "mergecontext": "",
        "output_location": "",
        "output_location_type": "none",
        "x": 530,
        "y": 760,
        "wires": [
            []
        ]
    },
    {
        "id": "3e57a449.fbac1c",
        "type": "api-call-service",
        "z": "43c31fcd.cd5e",
        "name": "Plex Downstairs Off",
        "server": "4000050f.bda52c",
        "service_domain": "input_boolean",
        "service": "turn_off",
        "data": "{\"entity_id\":\"input_boolean.plex_downstairs\"}",
        "mergecontext": "",
        "output_location": "",
        "output_location_type": "none",
        "x": 530,
        "y": 820,
        "wires": [
            []
        ]
    },
    {
        "id": "b75659f9.dd0898",
        "type": "plex-ws-server",
        "z": "",
        "hostname": "plex.home.lab",
        "port": "32400",
        "timeout": "1000",
        "token": "TOKEN",
        "secure": false
    },
    {
        "id": "4000050f.bda52c",
        "type": "server",
        "z": "",
        "name": "Home Assistant",
        "legacy": false,
        "hassio": false,
        "rejectUnauthorizedCerts": false,
        "ha_boolean": "y|yes|true|on|home|open"
    }
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.