Here’s what the log shows:
1: storage location-setting is: ‘next to the video’
2019-06-17 22:59:07.148 T:1467810528 DEBUG: ScanForExternalSubtitles: Searching for subtitles...
2019-06-17 22:59:07.155 T:1467810528 DEBUG: NFS: Context for 192.168.11.14/DataVolume/public not open - get a new context.
2019-06-17 22:59:07.204 T:1467810528 DEBUG: NFS: Connected to server 192.168.11.14 and export /DataVolume/public
2019-06-17 22:59:07.204 T:1467810528 DEBUG: NFS: chunks: r/w 16384/16384
2019-06-17 22:59:07.209 T:1915225648 DEBUG: ------ Window Init (DialogBusy.xml) ------
2019-06-17 22:59:07.228 T:1467810528 DEBUG: ScanForExternalSubtitles: END (total time: 80 ms)
2: set storage location-setting to: ‘custom location’ > nfs://192.168.11.14/DataVolume/public/subtitles
2019-06-17 23:00:12.196 T:1764934368 DEBUG: ScanForExternalSubtitles: Searching for subtitles...
2019-06-17 23:00:12.196 T:1915225648 DEBUG: CVideoGUIInfo::InitCurrentItem(videodb://inprogresstvshows/5/1/727?season=1&tvshowid=5)
2019-06-17 23:00:12.197 T:1915225648 DEBUG: CPlayerGUIInfo::InitCurrentItem(videodb://inprogresstvshows/5/1/727?season=1&tvshowid=5)
2019-06-17 23:00:12.197 T:1915212512 DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
2019-06-17 23:00:12.197 T:1915212512 DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
2019-06-17 23:00:12.197 T:1915212512 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
2019-06-17 23:00:12.197 T:1915212512 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
2019-06-17 23:00:12.204 T:1764934368 DEBUG: NFS: Refreshing context for 192.168.11.14/DataVolume/public, old: 72537, new: 89200
2019-06-17 23:00:12.204 T:1764934368 DEBUG: NFS: Using cached context.
2019-06-17 23:00:12.207 T:1764934368 DEBUG: ScanForExternalSubtitles: END (total time: 11 ms)
3: set storage location-setting to: ‘next to the video’
2019-06-17 23:01:12.442 T:1416622816 DEBUG: ScanForExternalSubtitles: Searching for subtitles...
2019-06-17 23:01:12.442 T:1915212512 DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
2019-06-17 23:01:12.443 T:1915212512 DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
2019-06-17 23:01:12.443 T:1915212512 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
2019-06-17 23:01:12.443 T:1915212512 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
2019-06-17 23:01:12.449 T:1416622816 DEBUG: NFS: Refreshing context for 192.168.11.14/DataVolume/public, old: 115211, new: 149445
2019-06-17 23:01:12.449 T:1416622816 DEBUG: NFS: Using cached context.
2019-06-17 23:01:12.453 T:1416622816 DEBUG: ScanForExternalSubtitles: END (total time: 11 ms)
In all three cases, it’s using 192.168.11.14/DataVolume/public. And after the third attempt, the Kodi custom path setting is still set to 192.168.11.14/DataVolume/public:
<setting id="subtitles.custompath">nfs://192.168.11.14/DataVolume/public/subtitles/</setting>
Without checking the code, I’m guessing that this setting takes precedence over “next to video”. You therefore need to edit the file guisettings.xml and change the custom path to:
<setting id="subtitles.custompath" default="true"></setting>
systemctl stop mediacenter
nano ~/.kodi/userdata/guisettings.xml
systemctl start mediacenter
We can see that the custom path seems to work, so please repeat the test only for “next to video” and post a new Kodi log: grab-logs -X