Giter VIP home page Giter VIP logo

Comments (8)

maykar avatar maykar commented on July 22, 2024

I apologize, but this slipped under my radar. Is this still an issue for you? What system is HA installed on?

from sensor.plex_recently_added.

Kaahbal avatar Kaahbal commented on July 22, 2024

Issue persists for me.. Changed PMS from WinSer2k12 to Debian.

Reports OverflowError: timestamp out of range for platform time_t`

Can parse XML just fine.

from sensor.plex_recently_added.

Kaahbal avatar Kaahbal commented on July 22, 2024

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 365, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
self._async_write_ha_state()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
device_attr = self.device_state_attributes
File "/config/custom_components/plex_recently_added/sensor.py", line 117, in device_state_attributes
media['addedAt']).strftime('%Y-%m-%dT%H:%M:%SZ')
OverflowError: timestamp out of range for platform time_t

from sensor.plex_recently_added.

Kaahbal avatar Kaahbal commented on July 22, 2024

resolved: was not due to your code or OS, had to do a plex-dance.

from sensor.plex_recently_added.

jkulker avatar jkulker commented on July 22, 2024

@nayaj what did you do to fix it?

from sensor.plex_recently_added.

cannfoddr avatar cannfoddr commented on July 22, 2024

same issue would love to know the resolution?

from sensor.plex_recently_added.

tschoiss avatar tschoiss commented on July 22, 2024

@nayaj I have the same issue. How do you fix it?

from sensor.plex_recently_added.

maykar avatar maykar commented on July 22, 2024

I messaged nayaj over on the HA forums. He had this issue over a year ago, but from what he remembers:

"some objects on my Plex server where bugged and had weird time stamps. I moved my entire directory, did a full sync and clean, moved them all back and did a full clean and sync again."

from sensor.plex_recently_added.

Related Issues (20)

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.