mmmmmtasty / SportScanner

Scanner and Metadata Agent for Plex that uses sportdb
109 stars 31 forks source link

Issue 37 - Y2022 Bug. Generate a 9-character spisode if it starts wit… #38

Closed jbalcorn closed 2 years ago

jbalcorn commented 2 years ago

…h 2,200,000,000

Issue #37 - generated episode numbers for 2022 and higher create integers over 2,147,483,647 and overrun the index field in the metadata_items table, which is a signed 32-bit integer.

As a workaround, use only 3 digits of the hash if the year is > 2021.

Really don't see any better way to fix this.

jbalcorn commented 2 years ago

I think there may be a bug in this, I'll resubmit