Comments (6)
Good catch! Thanks for reporting, I'll fix that.
from homebridge-plex.
That’s great. Glad I could help and I look forward to the update!
from homebridge-plex.
Oh nice. I'm glad @aleszczynskig found the cause of this crash. I was just looking at my logs again today and noticed the same errors (which of course all line up with my music plays). Thanks!
from homebridge-plex.
Changing line 83 from "data.Video.forEach" to "data.Metadata.forEach" fixes it on my Plex setup (server 1.12.1.4871) – playing either video or music now trigger "Occupancy Detected".
from homebridge-plex.
Thanks for posting your solution, @kendickson.
Can anyone else confirm this works? My Plex API does not return a Metadata
field.
from homebridge-plex.
This should be fixed. Please update homebridge-plex
and reopen the issue if the error persists.
from homebridge-plex.
Related Issues (18)
- Occupancy only updates when in Home-App HOT 7
- Multiple simultaneous streams resulting in "Plex is not playing" HOT 10
- TypeError: Cannot read...'forEach'... HOT 26
- [Plex] Error getting state (status code 401): null HOT 2
- Port hang up HOT 3
- How to add a remote Plex server? HOT 2
- Getting 401 error HOT 4
- Is it possible with a shared server??? HOT 13
- type of sensor
- Plug-In triggering when using Sonos ignoring player name.
- not responding HOT 5
- Unable to get plex to appear in homekit HOT 3
- 2 Plex playes HOT 5
- Polling interval output filling up logs? HOT 10
- Error getting state HOT 3
- check online status first HOT 11
- [Plex] Error getting state (status code 1): TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["X-Plex-Token"] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-plex.