How to move movie ratings, "last played" data, and application settings?



I have been using Kodi 19.4 for the past couple of years because that is the most recent available in the Debian backports repository.

I wanted to update to a more recent version, so I just installed from Flatpak. I haven’t used it much yet, but I notice that my “last watched” and my movie ratings did not come over.  I thought that data was stored in the sidecar .nfo files alongside the movies, but I guess I’m wrong.

What’s the smoothest way to move my user data to the new installation? Would I just export and then re-import the music and video libraries as discussed in this wiki article?

Any other tips? Thank you!