You'll need to copy the music files, since it's those files it can't
find. You can actually leave the xml files where they are. You can do
this through any remote terminal (ssh, telnet, ... doesn't matter). And
since the music files are actually already on the target drive you don't
need to transfer them again, just relocate them.
First, download and compile ciopfs. This depends on your Linux
distribution, but for Ubuntu this should do:
Code:
--------------------
*$* apt-get install build-essential fuse-dev libglib2.0-dev libattr1-dev
*$* wget "http://www.brain-dump.org/projects/ciopfs/ciopfs-0.2.tar.gz"
*$* tar xzvf ciopfs-0.2.tar.gz
*$* cd ciopfs-0.2
*$* make && sudo make install
--------------------
Then convert your "iTunes Music" directory:
Code:
--------------------
$[/B] CD -<TO YOUR ITUNES DIRECTORY, THE ONE *CONTAINING* \"ITUNES MUSIC\"
BUT NOT \"ITUNES MUSIC\" ITSELF>-
*$* MV \"ITUNES MUSIC\" \"MUSICBACKUP\"
*$* MKDIR \"ITUNES MUSIC.CIOPFS\"
*$* MKDIR \"ITUNES MUSIC\"
*$* SUDO CIOPFS \"ITUNES MUSIC.CIOPFS\" \"ITUNES MUSIC\" -O ALLOW_OTHER
*$* CP MUSICBACKUP/* \"ITUNES MUSIC\" [B]-OR USE MV INSTEAD OF CP IF YOU
DON'T WANT TO PLAY SAFE, OR DON'T HAVE ENOUGH DISK SPACE FOR A SECOND COPY-
--------------------
(This is all by heart, so I'm not 100% it's all correct)
This assumes Squeezebox server is running as a different user than the
one you're logged on as. If you're logged in using the same user you
don't need the '-o allow_other' and 'sudo' for ciopfs. That last step
can take quite a while depending on the size of your music collection.
After that, just rescan your library and you should be good to go.
You'll need to do the "ciopfs" line every time you restart that
computer. Or alternatively you could add a mount point to /etc/fstab,
like (remember to replace the path with whatever is appropriate in your
situation):
Code:
--------------------
ciopfs#/mnt/store/Public/Music/iTunes\040Music.ciopfs
/mnt/store/Public/Music/iTunes\040Music fuse noatime,allow_other
0 0
--------------------
(Note that spaces in the path are replaced by \040).
--
evinyatar
------------------------------------------------------------------------
evinyatar's Profile: http://forums.slimdevices.com/member.php?userid=36975
View this thread: http://forums.slimdevices.com/showthread.php?t=76232
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix