The main reason for me to use the NAS-based SqueezeCenter is that I sometimes use the Duet controller to play music from the library with 16000 tracks and sometimes a PC program to select music from my total amount of music tracks. SqueezeCenter on the NAS manages only a small selection of my music and still finding a track with the controller is awkward.
My NAS-based server has only access to files on the NAS, so all music tracks need to be on the NAS also. When I select a track on a local hard disk the NAS server is not able to play that track (checked).
The storage volume on the NAS is called "volume1", my music is stored in the directory "music" and the library for the SqueezeCenter is located in the sub-directory "MP3".
So the SqueezeCenter setting for "Music Folder" is "/volume1/music/MP3", the setting for "Playlists Folder" is "/volume1/music/Playlists".
A file inside my library is, for example "\volume1\music\MP3\Pop\A\Angels - Wow wow wee.flac"
MediaMonkey sends this file as "Y:\MP3\Pop\A\Angels - Wow wow wee.flac"
A file outside the library is "/volume1/music/Classical/Vivaldi/Le Quattro Stagioni - Janine Jansen/10 - L'Inverno- 1. Allegro non molto.flac"
MediaMonkey sends it as "Y:\Classical\Vivaldi\Le Quattro Stagioni - Janine Jansen\10 - L'Inverno- 1. Allegro non molto.flac"
I checked the file names with the "logme" subroutine.
I tried the script without the change from "\" to "/", but then no track was played. That makes sense because the NAS uses a Linux-style path. On the other hand, the spaces in the path cause no problem, where Linux accepts no spaces.
I suppose some windows-style elements are solved by the server - the spaces - while other elements - the backslashes - are not. And also that it depends on the version and/or implementation.
I also use playlists, because they allow me to select music outside the library. These playlists are in Windows-style format, relative to the "music" directory, so the above mentioned tracks are entered as:
..\MP3\Pop\A\Angels - Wow wow wee.flac
..\Classical\Vivaldi\Le Quattro Stagioni - Janine Jansen\10 - L'Inverno- 1. Allegro non molto.flac
This works in Windows, but also in SqueezeCenter, so here the backslashes cause no problem!! Again I think that the playlist scanner solves the problem.
If there are too many differences between all versions of NAS's and Squeezebox Servers it becomes very difficult to find a solution that works on all machines. The intersection of Squeezebox users and MediaMonkey users is probably larger than two.
Another thought: In OrangeCD all additional tracks are added to the playlist, so there is no problem with premature ending, but OrangeCD does not play the track locally when the tracks are sent to the SqueezeCenter. MediaMonkey is playing the tracks locally and sends the filename also to the SqueezeCenter, so when the next track starts, the currently playing track on the squeezebox is terminated and the next track starts.
So it is a different approach, perhaps some ideas might surface when contemplating these two methods.
Greetz, Katteman