Bug Subtitles srt error on LAN?
#1
Hi to all,

this is tha scenario::

HTPC server with windows 10, kodi 17.3, database MySQL.
CLIENT with Windows 10 (2) and Windows 7 (1), kodi 17.3, connect via LAN to MySQL remote on server HTPC and path redirect via advancedsettings.

this is advancedsettings :

<advancedsettings>

<videodatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>****</port>
<user>xbmc</user>
<pass>********</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>****</port>
<user>xbmc</user>
<pass>********</pass>
</musicdatabase>

<videolibrary>
<importwatchedstate>true</importwatchedstate>
</videolibrary>

<pathsubstitution>
<substitute>
<from>E:\Film\</from>
<to>smb://****:****@***.***.***.***/Film/</to>
</substitute>
<substitute>
<from>G:\Film\</from>
<to>smb://****:****@***.***.***.***/Film2/</to>
</substitute>
</pathsubstitution>

<network>
<buffermode>1</buffermode> <!-- Default is 1 -->
<cachemembuffersize>52428800</cachemembuffersize> <!-- Default is 20971520 bytes or 20 MB -->
<readbufferfactor>2.0</readbufferfactor> <!-- Default is 1.0 -->
</network>

</advancedsettings>

this is the error:

Each movie and its subtitles (srt format) are in their own subdirectory.

On CLIENT:
the movies and subtitles into '<from>E:\Film\</from' directory play perfectly.

the movies into '<from>G:\Film\</from' directory play perfectly, subtitles do not work (recognized but not displayed): but if I copy the direcotry of subtitle from G:\Film into E:\Film the subtitle work!

I believe that second repath G:\Film -> smb://****:****@***.***.***.***/Film2 work only for movies, but not for subtitles because kodi seem to use (only for subtitles) always first repath E:\Film -> smb://****:****@***.***.***.***/Film !

What I wrong ?

thanks for your help.[/size]
Reply
#2
That's a lot of censoring... ;-)

I'm not sure if path substitution is the best way of accessing your movies in this way.
All Kodi clients should use the smb:// paths directly, and not via Windows drive letters.
The Win machine should be able to connect to its own smb server, and avoid drive letters altogether.

Quote:(recognized but not displayed)
How does Kodi recognize subtitles when it does not play them?
Can you alternate the subtitles via the 't' button?
Reply
#3
Thank you Klojum for your quick reply.

The drive letter (into movie's path) is recorded into MySQL table by kody when it scan the directory/library.
Into advancedsettings I redirect the path using sbm and specifying IP address/directory of the server (into post I overrided it with *** for privacy reason).

I can select a subtitles that kodi list to me (with 't' button) but the subtitle is not displayed. Only subtitles on first redirect path works!
Reply
#4
Maybe clean and rebuild you library with the smb settings so you get rid of the ugly path substitution
Reply
#5
HI mchp92,

after many tests I found the problem!

scenario:

My videos are stored into 2 HD on SERVER: E:\Film and G:|Film

1) If on my CLIENT (into advancedsettings file) I write (note the order of substitute: before Film, after Film2): :

<pathsubstitution>
<substitute>
<from>E:\Film\</from>
<to>smb://(user)Sadpsw)@(ip address server)/Film/</to>
</substitute>
<substitute>
<from>G:\Film\</from>
<to>smb://(user)Sadpsw)@(ip address server)/Film2/</to>
</substitute>
</pathsubstitution>

from E:\Film\ : movies ok - subtitles ok
from G:\Film\ : movies ok - subtitles do not display

2) If on my CLIENT (into advancedsettings file) I write (note the order of substitute: before Film2, after Film):

<pathsubstitution>
<substitute>
<from>G:\Film\</from>
<to>smb://(user)Sadpsw)@(ip address server)/Film2/</to>
</substitute>
<substitute>
<from>E:\Film\</from>
<to>smb://(user)Sadpsw)@(ip address server)/Film/</to>
</substitute>
</pathsubstitution>

from E:\Film\ : movies ok - subtitles ok
from G:\Film\ : movies ok - subtitles ok

3) Seem that KODI, only for the subtitles, when it resolve the substitute of directory's path it is deceived by the names of paths (from and/or to).when they are very similar
Reply

Logout Mark Read Team Forum Stats Members Help
Subtitles srt error on LAN?0