[db,scan,jsonapi] bug fix to handle date_released before 1970, storing -ve values in db

This commit is contained in:
whatdoineed2do/Ray
2022-12-11 15:45:19 +00:00
parent 7c0474b743
commit 7d26c2c954
4 changed files with 9 additions and 8 deletions

View File

@@ -190,7 +190,7 @@ struct media_file_info {
uint32_t song_length;
int64_t file_size;
uint32_t year; /* TDRC */
uint32_t date_released;
int64_t date_released; // bumped to (signed) int64 since all 32bits are unsigned
uint32_t track; /* TRCK */
uint32_t total_tracks;