Tuesday, October 19, 2010

Copy iTunes music to SMB drive

Using rsync it is possible to copy only changed files to the BT Home Hub, once it's mounted using Finder->Connect To Server...

This command does it:

rsync -v -a -h --progress --delete --size-only --no-times /Users/Shared/iTunes\ Music/ /Volumes/Disk_a1/Music/

However, there is a problem in that the Home Hub, like all SMB servers I think, thinks you've made a typo when you use all capitals, but rsync is case sensitive.

This command line should do a fuzzy match (not clear from man file what that is precisely, but it looks for similar file names and sizes I gather), and delete files only after the transfer.

rsync -v -a -h --progress --delete-after --fuzzy --size-only --no-times /Users/Shared/iTunes\ Music/ /Volumes/Disk_a1/Music/

Monday, October 18, 2010

Finder in OS 10.5.7 doesn't copy to SAMBA!!!

Found this forum discussion, scroll to bottom and it turns out that others had the same problem I have - that I can't copy to a SAMBA network drive using finder. But I can save files there and I can edit files there.

It turns out that the problem probably lies with the .DSStore files that OS X is trying to create, being vetoed by the BT Home Hub.

Thursday, October 14, 2010

Install Squeezebox Server on Joggler

Followed instructions from here., putting the "stable beta" repo in to the Software Sources: deb http://debian.slimdevices.com.

In the end had to get the
deb http://debian.slimdevices.com stable main package as it couldn't find anything to download.

Ran Synaptic Package Manager and after a fashion it showed Squeezeboxserver as a package. Installed, required many other things too (mysql and perl linkages in particular).

Then navigate to /192.168.1.69:9000/ and configured it! All going!

Now sudo apt-get install smbfs.
sudo mkdir /mnt/hub

Then edit /etc/fstab to have //192.168.1.253/Disk_a1 /mnt/hub smbfs guest 0 0.

Seems bthub as name doesn't work, and IP address of the disk is at 253, not the gateway address of 254.

Happily indexing the hub's drive!

Friday, October 1, 2010

Squeezebox Server not indexing

Found that in scanner.log (get from http://localhost:9000/settings/index.html), it was always stopping at a song from an album called Golden Gate Breaks. When I moved it out of the way (delete it in iTunes), which is being indexed (though I had turned off iTunes indexing and was only pointing it at the iTunes folder), it indexed much further.

Suggested on Forum that I could upload a file or two.

Update 21 Oct: I uninstalled it cos it's now running on the Joggler. Used these instructions.