2016-04-04, 07:49
I am having an issue with DSPlayer and path substitution.
I noticed that Kodi's default player uses path substitution correctly.
My path substitution config looks as below.
<pathsubstitution>
<substitute>
<from>smb://mediaserver/RepositoryShared</from>
<to>smb://192.168.10.5/RepositoryShared</to>
</substitute>
</pathsubstitution>
The path substitution I have setup for obvious reasons, to not rescan my library in case the machine IP is updated in future and smb://mediaserver/... path is stored in database.
I verified that it updates library correctly as well as playback works when using in-built player.
Also, I checked mysql database and verified that the paths are stored as smb://mediaserver as expected.
But when I try to use DSPlayer playback fails and when I checked the logs, I noticed that it is using smb://mediaserver (which actually doesn't exist) instead of substituted path smb://192.168.10.5/....
I searched the forums here but didn't find any discussion about this related to DSPlayer.
Can someone please let me know if it's possible to provide substituted path to DSPlayer and how ?
Thanks
I noticed that Kodi's default player uses path substitution correctly.
My path substitution config looks as below.
<pathsubstitution>
<substitute>
<from>smb://mediaserver/RepositoryShared</from>
<to>smb://192.168.10.5/RepositoryShared</to>
</substitute>
</pathsubstitution>
The path substitution I have setup for obvious reasons, to not rescan my library in case the machine IP is updated in future and smb://mediaserver/... path is stored in database.
I verified that it updates library correctly as well as playback works when using in-built player.
Also, I checked mysql database and verified that the paths are stored as smb://mediaserver as expected.
But when I try to use DSPlayer playback fails and when I checked the logs, I noticed that it is using smb://mediaserver (which actually doesn't exist) instead of substituted path smb://192.168.10.5/....
I searched the forums here but didn't find any discussion about this related to DSPlayer.
Can someone please let me know if it's possible to provide substituted path to DSPlayer and how ?
Thanks