More > JRiver Media Center 21 for Windows

Feature Request: Path Rewrite

<< < (4/4)

AlexS:

--- Quote from: MediaMike on July 28, 2015, 04:43:51 pm ---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 DriveWin UNCMac OS/XLibrary:     S:\\\mediaserver\shared\~/mnt/shareMusic files:T:\\\mediaserver\music_lib\~/mnt/music_libVideo 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:

VariableWindowsMac 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

--- End quote ---

+1 to all this.
The library format should be portable across all supported operating systems. A user should be able to specify the root of each library entry for each OS (via rules or whatever). When parsing the library, if the folder root is not found a dialogue popup should appear prompting for a new root (or rule or whatever).

I am finding it very hard to use the same media folders in Windows and in Linux. I've written more about this in the Linux forum.

Thanks..

Navigation

[0] Message Index

[*] Previous page

Go to full version