open smb:// on android TV doesn't work



Hi, I’m sending API command to open media on TV running kodi, for example
{        “cmd”: “Player.Open”,
        “args”: {
            “item”: {
                “file”:”smb://192.168.1.3/immagini/1,jpg”
            }
that works with Kodi for windows, also a remote Kodi for Windows placed in LAN, the folder are open read/write without asking password, I can open in any other PC without being asked for password, I’ve also installed Samba 1.0 in control panel. TV (placed in the same LAN) refused to open anything. I’m then usng http, with HTTP tiny server, it works ok in all platforms but I notice two problems:
1) loading a single file looks slow, probably slower than samba
2) when I start a slodeshow (“path”: “http://192.168.1.3/foto-ok/” it pretends to scan/load all folder, and this requires lot of time, especially if the folder contain more than 20 files, testing with Kodi in Windows it tooks also long and it pretends to finish the process, Kodi got frozen until that, while using smb:// is fast, no delays, responsive.

How can I solve the problem with smb:// on Android? Thank you!