Kodi Community Forum
Symbolic Links for Media? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: Symbolic Links for Media? (/showthread.php?tid=367482)



Symbolic Links for Media? - ddeacon22 - 2022-03-15

My setup to-date has included Macs and Linux devices accessing shared media on a NAS with the media database also on MariaDB on the same NAS. The file paths for all media are of the format:

/Volumes/Public/Movies
/Volumes/Public/TV Shows
...

On the Macs that is the default path format. On the linux devices I created an NFS mount point at /Volumes/Public and used autofs to do the mounting so all paths are the same.

Well I bought an Apple TV 4K and managed to get Kodi installed and the advancedsettings.xml copied over to it so it can access the MariaDB media list but it can't access any of the media since it doesn't recognize the media path. It can access media if I just go straight to nfs://ipaddress/volume1/Public/Movies etc.

Is there a way to create a symlink or alias on Apple TV to have /Volume/Public point to nfs://ipaddress/volume1/Public?

<BTW Apple TV is not jailbroken>

Thanks


RE: Symbolic Links for Media? - Klojum - 2022-03-16

Sometimes NFS paths are not recognized when browsing networks, but they usually work when typed in manually in the sources.xml or mediasources.xml files.


RE: Symbolic Links for Media? - ddeacon22 - 2022-03-16

I can reach the NFS source at nfs://ipaddress/Public but the path stored in my shared database lists the source path as /Volumes/Public so I'm asking if there is a way on Apple TV to create a symlink or alias of /Volumes that points to nfs://ipaddress.


RE: Symbolic Links for Media? - Klojum - 2022-03-16

You can also edit the paths in your database if you know what you're doing: https://kodi.wiki/view/HOW-TO:Update_Paths_In_MySQL


RE: Symbolic Links for Media? - ddeacon22 - 2022-03-16

Yeah I've done that in the past but it ends up breaking all my other systems that need to connect via /Volumes/Public. What I really need is a standardized path format that works across Linux, macOS and tvOS thus I was hoping a symlink or alias on tvOS would allow using the path format of all my other devices.