You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out I can't have media that's older than 1902. This occurred on some audiobooks where the text was originally released before 1902.
Traceback (most recent call last):
File "/opt/plexemail/scripts/plexEmail.py", line 1580, in <module>
print time.strftime(sections[section[0]]['format'], time.strptime(displayText, '%Y-%m-%d %H:%M:%S'))
ValueError: year out of range
Work around is to delete or modify date on album to eliminate issue. Perhaps a check for this and a skip?
Turns out I can't have media that's older than 1902. This occurred on some audiobooks where the text was originally released before 1902.
Work around is to delete or modify date on album to eliminate issue. Perhaps a check for this and a skip?
Source:
https://stackoverflow.com/questions/37521247/how-to-format-0000-00-00-000000-using-strftime-in-python
The text was updated successfully, but these errors were encountered: