To speed up matching it is possible to configure your own local MusicBrainz servers instead of using the official MusicBrainz servers and use this with SongKong. This avoids the requirement to only send one query per second to the MusicBrainz server so speeds up the matching that can be achieved by SongKong,
Additionally this resolves an issue when trying to use multiple copies of SongKong at the same time in the same home network. Usually with a home network external services such as MusicBrainz see all your computers via the same ipaddress, and therefore the rate limiter is applied to all computers as if they were one computer, this effectively prevents you using multiple copies of SongKong on a home network in parallel. But if the server being used does not impose rate limiting then there is no longer a problem.
But the problem has always been the difficulty of setting up a MusicBrainz server in the first place !
Now at long last MusicBrainz have now released a new Musicbrainz VM containing both Musicbrainz Server AND Search Server I've been trying it out and it works great !
The latest official MusicBrainz instructions are available from here. but in this blog we document the instructions so that they are more relevant to using the Virtual Machine with SongKong as follows. Warning some of the steps can take a few hours to run but the procedure is very simple.
Ensure you have a BitTorrent client such as Vuze installed, this is required to download the Virtual Machine, and is a much more reliable way to download large files. Download the 9GB MuscbrainzVM via your BitTorrent client Windows/Linux user can download and install from VmPlayer this is free and more reliable then VirtualBox -
Mac users can use Vm Fusion, although unfortunately this is not free, or try the less reliable VirtualBox -
The remainder of these instructions assume you are using VMPlayer, but the steps for VMFusion and VirtualBox are much the same. Start VMplayer and choose Import Virtual Machine from the File menu. Select the downloaded file.Select Options and increase Virtual Memory to at least 2GB if your machine is powerful enoughSelect Play Virtual Machine -
Log in on the console using the username vm and passwordmusicbrainz -
Update the database with the latest data added since the VM was created using bin/replicate now this may take a while depending on how old the VM is. Build search indexes, this will take a few hours bin/reindex Get the IP address of your virtual machine.using command: ifconfig | grep eth0 -A 1 You can check it is working in browser by pointing to port 5000 of the ipaddress found previously e.g. http://10.1.1.104:5000 -
Configure SongKong, set Server:MusicBrainzServer and Server:MusicBrainz Search Server to the same address e.g. http://10.1.1.104:5000 -
Now SongKong will use the local MusicBrainz server rather than the offical MusicBrainz server. This should be faster and more reliable.
4 comments:
Paul, I did everything you said, but I keep getting 503 errors right of the bat....
same here. lots of 503 errors in jaikoz 6.0.7 and win 7 64 bit. Running musicbrainz server in vmware 6.0.1 on a second machine win 7 64 bit on a local network. Server access confirmation via browser works flawlessly...
Does it work if you run the vmware instance on the same machine as Jaikoz ?
http://zielonyflaming.pl Your tips is incredibly useful.
Post a Comment