2019-08-02, 01:22
I'm using your great add-on in SQL mode with a central database (MariaDB 104.7). However, whenever I set a movie manually as "unwatched" I get these errors:
Looks like the date format/value is not accepted by the DB. The error is something akin to https://bugs.mysql.com/bug.php?id=34214
If you reset the date/time to 1970-01-01 02:00:00 instead it will work.
xml:2019-08-02 01:10:59.038 T:18446744073709551614 NOTICE: service.watchedlist: watch_user_changes: movie "Avengers: Endgame (2019)" changed playcount {1 -> 0} lastplayed {"2019-08-02 01:04:14" -> ""}. movieid=8359
2019-08-02 01:10:59.045 T:18446744073709551614 NOTICE: service.watchedlist: watch_user_changes: MySQL Database error (1292 (22007): Incorrect datetime value: '1970-01-01 01:00:00' for column `watchedlist`.`movie_watched`.`lastPlayed` at row 798) while updating movie Avengers: Endgame (2019)
2019-08-02 01:10:59.045 T:18446744073709551614 NOTICE: service.watchedlist: Notification. Watchedlist: Error: Writing the WL-database file (1292 (22007): Incorrect datetime value: '1970-01-01 01:00:00' for column `watchedlist`.`movie_watched`.`lastPlayed` at row 798)
Looks like the date format/value is not accepted by the DB. The error is something akin to https://bugs.mysql.com/bug.php?id=34214
If you reset the date/time to 1970-01-01 02:00:00 instead it will work.