Michael, could you describe in some detail how you are accessing your library from clients? There are many possible permutations and I want to make sure I understand your use case. Thanks.
Sorry for the lengthy note, but I am trying to give a complete answer: I do have a Linux based server hosting all media files, covers and the libraries. The files are shared by SMB as the majority of the clients are Windows based. Right now I do have the following setup:
The Linux server provides the following SMB shares:
Library files and covers: | \\mediaserver\shared\ |
Music files: | \\mediaserver\music_lib\ |
Video files: | \\mediaserver\video_lib\ |
Under Windows I historically use drive mappings but I am in the process to change to UNC paths. With Mac OS (or other Unixoide systems) I would need to mount the remote paths into the local filesystem.
Content | Win Drive | | Win UNC | Mac OS/X |
Library: | S:\ | | \\mediaserver\shared\ | ~/mnt/share |
Music files: | T:\ | | \\mediaserver\music_lib\ | ~/mnt/music_lib |
Video files: | U:\ | | \\mediaserver\video_lib\ | ~/mnt/video_lib |
Following the mappings above the same physical file "(1) Sample.mp3" would be found by
Win: T:\CDs\Artist\Title\(01) Sample.mp3
Mac: ~/mnt/music_lib/CDs/Artist/Title/(1) Sample.mp3
With the "token" approach from above, I would set the following variables on the clients:
Variable | Windows | Mac OS/X |
$MUSIC: | T:\ | ~/mnt/music_lib/ |
$VIDEO: | V:\ | ~/mnt/video_lib/ |
Pending on the Client MC would then store the filename as
WIN: $MUSIC, CDs\Artist\Title\(01) Sample.mp3
MAC: $MUSIC, CDs/Artist/Title/(01) Sample.mp3
With the exception of the different path separator \ or / everything looks fine. I appreciate that during scan a clever mechanism to identify the appropriate token need to be found. Probably longest match would be a good approach. You would also need to consider case sensitivity in Linux and case insensitivity with Windows.
Does that make sense?
Regards,
Michael