Verifying if path substitution is working correctly

Hi Guys,

I’ve successfully created additional fstab smb mounts, and have mapped them as sources. In advanced settings I’ve added path substitution rules. I’m using emby to manage my media.

Do I need to rebuild the library so that the paths to the folders are rewritten to use the fstab mounts, or should the mounts be picked up when the Vero 4K/Kodi goes to play a file from it’s original browsed smb location?

Is there anyway to validate which mount the media is being picked up from during playback?

Thanks in advance,

No, the concept is your library (database entries) remain as before. You just use path substitution to eg replace smb:// with /mnt/server/share

I think only a tail -f .kodi/temp/kodi.log while you access tells you what happens

Thanks @fzinken I’ll give that a try and see what is happening!

That seemed to tell me about the last library update, rather than the file that is currently playing. Was the command correct?

osmc@Vero4K:~$ tail -f .kodi/temp/kodi.log
22:11:26.051 T:3269960448  NOTICE: EMBY.database -> commit: /home/osmc/.kodi/use                                               rdata/Database/emby.db
22:11:26.052 T:3269960448  NOTICE: EMBY.database -> closing: /home/osmc/.kodi/us                                               erdata/Database/emby.db - 3544541904
22:11:26.052 T:3269960448  NOTICE: EMBY.librarysync -> Updating emby database.
22:11:26.065 T:3269960448  NOTICE: EMBY.librarysync -> New sync time: server tim                                               e -2 min: 2018-01-29T18:09:25Z
22:11:26.083 T:3269960448  NOTICE: EMBY.librarysync -> Updating video library.
22:11:26.208 T:3052909312  NOTICE: VideoInfoScanner: Starting scan ..
22:11:26.270 T:3052909312  NOTICE: VideoInfoScanner: Finished scan. Scanning for                                                video info took 00:00
22:11:28.929 T:3848270592  NOTICE: EMBY.kodimonitor -> Method: VideoLibrary.OnSc                                               anStarted Data: null
22:11:28.930 T:3848270592  NOTICE: EMBY.kodimonitor -> Kodi library scan video f                                               inished
22:11:28.931 T:3848270592  NOTICE: EMBY.kodimonitor -> Method: VideoLibrary.OnSc                                               anFinished Data: null

Having said that … I just came across the following in System Info, which seems to suggest the substituted smb paths are in fact mounted as the fstab mounts?

That command shows you continuously your log file. So after you started the command play a movie and you see what’s happening. If you still don’t get details just enable debug logging

1 Like

So, I gave that another try, but despite the mount info I shared in the image above, the logs only refer to the smb file location, and not the fstab mounts. Strange.