mynttt / UpdateTool

A tool to update the IMDB ratings for Plex libraries that contain movies/series and use the IMDB agent to receive ratings
GNU General Public License v3.0
256 stars 12 forks source link

USE_PLEX_SQLITE_BINARY_FOR_WRITE_ACCESS does not actually write data #73

Closed rg9400 closed 3 years ago

rg9400 commented 3 years ago

I've been using the new env variable to use the SQLite Binary since it was introduced. It seemed to be working fine as the logs indicated ratings were changing and everything. However, I recently noticed a lot of newer episodes and shows were missing new ratings. Digging through the logs, I noticed the tool was saying it had updated ratings and stripped badges, but when I would check that same episode, I still saw the old data.

Once I removed this variable and ran it again, all the data was updated properly. It seems like the new binary is failing to actually write the data into the DB.

rg9400 commented 3 years ago

Actually, this does not seem to be the fix. Even after removing this variable, I am still noticing a failure to keep episode ratings up to date. If I delete all the cached files, it will update all the ratings, however, next day, they are reverted to TMDB ratings and are no longer updated by the tool. I am not sure what the issue is exactly. It might be Plex refreshing the metadata on the ratings, but this tool no longer reupdates them back?

rg9400 commented 3 years ago

I'm closing this issue because ratings seem to be working again, knock on wood. No idea what was going on earlier, aplogize