Kodi 17 with smb share problem

Hello!
I have a windows server that contains all files and MySQL server.
I have Android TV, Android phone, Windows client.
All have been running 16.1 and working fine.

Now I have upgraded all to version 17 and database is now running db version 107.
If I start my Windows client everything is working fine, I can browse and access everything.

But if I run Kodi on my TV och phone I can see all my movies (from MySQL db) and I can start all movies but if I try to play a TV shows with alot of episodes it can only play the first episodes but after like 18 episodes they cant be access and ask if I want to remove it from the library.
If I try to play a TV Show with only a few episodes like Taboo it works fine.

If I browse to the smb directory containing the TV show from within Kodi I can only see a few of the episodes there and the ones I can see are the ones I can play.
If I browse to the same smb directory on the windows client I can see all the episodes.

If I use ES FileExplorer on one of the Android devices and from there browse to the TV show folder on the smb share and from there chose open file with Kodi it works fine.

The files on the network share has same rights on both the ones I can play and the ones I cant play.

I have uninstalled and reinstalled and same problem.

the sources.xml, passwords.xml and advancedsettings.xml fles are identical on both windows and android clients.

Anyone know what to do, or should I go back to 16.1 version?

Regards
Fredrik