Skip to content

Conversation

@simonc56
Copy link
Contributor

Description

Set SubscribedAt to None when value is empty to prevent a ValueError raised in utils.toDatetime() and a "Failed to parse to datetime" line in logs.
SubscribedAt is empty on purpose for free Plex accounts (no Plex Pass).

Fixes #1246

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the docstring for new or existing methods
  • I have added tests when applicable

@simonc56 simonc56 force-pushed the silent-subscribedat-is-none branch from 14c7d71 to a248df3 Compare September 14, 2023 19:56
@JonnyWong16 JonnyWong16 merged commit b63bf7f into pushingkarmaorg:master Sep 17, 2023
@simonc56 simonc56 deleted the silent-subscribedat-is-none branch September 18, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to parse SubscribedAt datetime for free users

2 participants