I used autoexec.py.
If I work with locally stored data, everything is fine. (Video files, eventually playlist are stored localy).
import xbmc xbmc.executebuiltin( "PlayMedia(/storage/videos/, isdir)" )
or
import xbmc xbmc.executebuiltin("PlayMedia(/storage/.kodi/userdata/playlists/video/Playlist.m3u)")
But if I want to use files stored on NAS, it does not work,
import xbmc
xbmc.executebuiltin( "PlayMedia(smb://10.0.0.114/Video/, isdir)" )
or with locally stored playlis
import xbmc
xbmc.executebuiltin("PlayMedia(/storage/.kodi/userdata/playlists/video/Playlist.m3u)")
Videos from NAS and playlists work normaly fine, but after running autoexec.py, nothing happens.
Can anyone advise on what's wrong?