2018-12-25, 13:14
I've solved the problem.
I was not able to make SMB working (adding passwords, changing protocol versions, etc. did not help). But I was able to make it working by mounting the Samba shares to the host system and using docker volumes. In short:
my docker container (it has a separate IP in a separate subnet):
my advancedsettings.xml (MariaDB works in another docker container on a separate IP):
I was not able to make SMB working (adding passwords, changing protocol versions, etc. did not help). But I was able to make it working by mounting the Samba shares to the host system and using docker volumes. In short:
my docker container (it has a separate IP in a separate subnet):
Code:
docker create \
--restart=always \
--name=kodi-server \
--hostname=kodi-server \
--net=ipvlan10 \
--ip=192.168.10.50 \
--user=463:462 \
\
-v /home/docker/kodi/config/.kodi:/opt/kodi-server/share/kodi/portable_data \
-v /mnt/hdd1/Multimedia:/mnt/voyo:ro \
-v /mnt/qnap/Multimedia:/mnt/qnap:ro \
celedhrim/kodi-server:krypton
my advancedsettings.xml (MariaDB works in another docker container on a separate IP):
Everything is working fine now. BTW, linuxserver/kodi-headless works with the similar setup too, but much slower (~2x), than Celedhrim/docker-kodi-server.xml:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.10.33</host>
<port>3306</port>
<user>kodi</user>
<pass>****</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.10.33</host>
<port>3306</port>
<user>kodi</user>
<pass>****</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
<services>
<esallinterfaces>true</esallinterfaces>
<webserver>true</webserver>
<webserverpassword>kodi</webserverpassword>
<webserverport>8089</webserverport>
<webserverusername default="true">kodi</webserverusername>
<zeroconf>true</zeroconf>
</services>
<pathsubstitution>
<substitute>
<from>smb://192.168.1.3</from>
<to>/mnt/qnap</to>
</substitute>
<substitute>
<from>smb://192.168.1.10</from>
<to>/mnt/voyo</to>
</substitute>
</pathsubstitution>
</advancedsettings>