I ended up putting a quick script in my Hourly CRON directory that copies the file and uses SED to change the filenames. Exactly as suggested by Jack Coates. This seems to work fine.
I will try what kdf suggested tonight. I thought I did that originally when I was gettig server crashes. I discovered later that I was pointing to an old directory that had a historic XML file. I didn't go back and retry the slimserver settings after I discovered my mistake. Certainly it would be more elegant if slimserver handled it all. The only thing is what will slimserver do if the shared directory on my windows box isn't always present? I can write the script to do nothing if it can't connect. Does slimserver behave nicely in this circumstance? I'll do some testing tonight and report back. Thanks for your suggestions! Chris Quoting kdf <[EMAIL PROTECTED]>: > Quoting Jack Coates <[EMAIL PROTECTED]>: > > > Chris Johnson wrote: > > > Getting a SqueezeBox, finally inspired me to get my music off my main PC > > > and onto a dedicated file server. I set up a Debian Linux box and moved > > > all my audio (residing on a FireWire external drive) onto that server. > > > I then set up Samba and pointed my normal PC to the shared drive, so as > > > far as Win2K Pro is concerned, nothing has changed. All applications > > > work exactly as before. > > > > > > I then moved SlimServer off of my Windows machine and onto the > > > fileserver. Great. No problem, music is fully visible and plays fine. > > > (iTunes integration turned off) > > > > > > Now I wanted to re-enable the integration with iTunes. iTunes (thinking > > > the drive is on a Windows machine) writes the XML with file names like > > > "P:\My Documents\My Music\iTunes\". Linux is seeing the actual files in > > > "/media/fw/My Documents/My Music/iTunes". I believe this is causing the > > > slimserver to not correctly parse the xml file and get the playlists. > > > > > > Is there any solution for this? Have others tried this configuration? > > > > > > > Personally, I'd use a script to fix it (tell Slimserver and Windows that > > iTunes is in different locations, then copy the xml from the windows > > home to the linux home and use a sed one-liner to translate the > > filenames). I don't use iTunes, so I don't know what implications there > > are in that, but I think that Slimserver just reads the iTunes database > > every now and then to see if it's changed. If you want to get fancy with > > your script, you could only copy it over to the Linux home when it changes. > > > > > since I don't use itunes for playlists, I really dont use it much. But, like > jack, I simply dida global find/replace. However, you should be able to use > the server settings->itunes page to set the location of the itunes music > file, > and the path to where this music resides on your linux server. The linux > support should then do the substitution on the fly. > > -kdf > _______________________________________________ > Discuss mailing list > [email protected] > http://lists.slimdevices.com/lists/listinfo/discuss > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
