Mark all as watched

I have the latest version of OSMC installed on my Pi 2 and was wondering how to mark all movies as watched?

Try this in SSH. (This assumes you’re not using mysql or mariadb.)

sqlite3 ~/.kodi/userdata/Database/MyVideos107.db
update files set playcount=1 where playcount is null;
update files set lastplayed='2018-01-07 12:00:00' where lastplayed is null;
.exit

You can choose whatever date/time you want for the second update.

This will only update those files not already played.