"Mark as watched" flag not working

Hey all!

Whenever I mark a TV Show as watched (whether it be the entire show or a single episode), the item disappears for a second (I have “hide watched” checked) and then reappears. No flag is set (neither the “half-watched” not the “watched” kind).

Please note that setting the flag works fine for movies.

My logs: http://paste.osmc.io/yeyozohixe

EDIT: Also, looking at my own logs, is it normal to have so many libnfs errors? The files are still accessible and playable in OSMC.

I’m doing a guess here
Files accessible through library or “files”?
My guess is your library data is messed up (corrupt database or the files changed location)

Try renaming your .kodi folder on the Pi then rebooting.
add a source to your library and try again marking something as watched

Movies are accessible through the library.

I did as you suggested, and with a fresh library the flag is set correctly. Am I right in assuming that the solution to this is to just create a new library? Or is there a way to “uncorrupt” things?

Also, how can I do my best to avoid corruption the next time around?

I have no know how to fix a kodi database (and if it’s possible), someone else needs to follow up

Corruption usually happens by interrupting a process by a crash/power pull/power supply not 100%/dying SD Card/(perhaps a plugin messing with the database???)

Corruption in the first place means backup!!!
It can be a sign that you need a new SD/or reinstall