scraton / node-red-contrib-plex-ws Goto Github PK
View Code? Open in Web Editor NEWNodes for connecting to Plex with real time notifications.
License: MIT License
Nodes for connecting to Plex with real time notifications.
License: MIT License
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).
plex-ws 0.2.4 directly installed from node-red
node-red 1.2.9
plex server 1.22.1.4228
how to implant the pin security for logging ?
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.
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?
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.
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!
Hi, is there any way to get a scrobble event like the webhook puts out?
Thanks.
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.
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"
[
{
"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"
}
]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.