If you look at the wiki link in my post above it gives details of how to set up your Kodi library for both TV shows and movies.
The first key point is not to mix types (movies, TV shows etc) in one tree, and to set the type correctly when you define the source.
Basically the movies should have the same name as their entry in the scraper database (
www.themoviedb.org as standard), and can either be in their own individual folders (recommended, so you can include additional stuff like posters and artwork if you wish) or grouped together.
TV shows need to be in individual folders per show (naming as defined by the scraper database, by default
www.thetvdb.com), and episodes named in the SxxExx format for seasons and episodes. By default Kodi will assume the folder level below the root of the source will contain individual shows, although this can be changed if needed.
Kodi can be used with VNC, but you need to use direct capture mode due to how it sets up its display. If you're using an all-in-one set-up like LibreElec, there's a VNC server add-on in their repo which works fine.
https://forum.kodi.tv/showthread.php?tid=320173