VortexBox Configuration

From muso wiki
Jump to: navigation, search

To allow muso to refer to the music files on VortexBox it needs an equivalence path prefix to be set up. Go to Tools -> Options -> Music Sources -> Squeezebox Server (LMS) then make the following changes to the following dialog boxes.

  • Host: vortexbox
  • CLI Port: 9090 (whataver is configured in LMS, 9090 is the default)
  • Platform: Linux
  • Security User/Pass: (leave blank, or set user/pass if configured in LMS)
  • Web Server Port: 9000
  • Squeezebox Server media folder: /storage/music/ (including trailing /)
  • Equivalent Muso folder path: \\<host>\files\music\ (including trailing \)

"<host>" in the configuration page will substitute in whatever you have set as the host name. If this is not vortexbox substitute the actual name of the host, or if you can arrange a fixed IP address it's better to put that in as the host.

Then click Test CLI, this should pass. You may need to use the Un-Bind button and restart LMS if it fails.

Note: if you DON'T want to edit/write tags from Muso you can set the Equivalent Muso folder path to \\<host>\music\

For LMS database scanning ("Import from LMS"), you need to ensure that the LMS database can be accessed from another system. This depends on whether the underlying database is SQLite or mySQL.

SQLite database access

You need to open up a samba share to the sqlite .db folder location so that the windows box can open a connection to the database. Edit the samba configuration file (smb.conf, normally in /etc/samba) and add the following section:

On VortexBox 2.2:

 [squeezebox_db]
 path = /var/lib/squeezeboxserver/cache
 guest ok = yes
 writeable = yes
 create mask = 0777

On VortexBox 2.3:

 [squeezebox_db]
 path = /var/lib/squeezeboxserver/cache
 browsable = Yes
 guest ok = Yes
 read only = No
 create mask = 0755
 directory mask = 0755
 force user = squeezeboxserver
 force group = squeezeboxserver

If this does not work, try "force user = root" and "force group = root" and see if that works better.

NB. Though muso always opens the connection in read-only mode, it still requires that the share is writeable.

Then in muso under the SQLite Configuration details, modify the .db location to the following:

 \\<host>\squeezebox_db

Then click "Test SQLite Connection". If it fails try using the IP address of your VortexBox to replace the word vortexbox in the Host value.

Playlist generation

To write LMS playlists from Muso you can also set up a samba share as follows:

VortexBox 2.2:

 [squeezebox_playlist]
 path = /storage/music/playlist
 guest ok = yes
 writeable = yes
 create mask = 0777

VortexBox 2.3:

 [squeezebox_playlist]
 path = /storage/music/playlist
 browsable = Yes
 guest ok = Yes
 read only = No
 create mask = 0755
 directory mask = 0755
 force user = squeezeboxserver
 force group = squeezeboxserver

Then in muso specify \\<host>\squeezebox_playlist for the playlist folder.

mySQL database access

(older muso and vortexbox installations)

Open the command prompt and run

 nano /usr/share/squeezeboxserver/MySQL/my.tt

Next scroll down to the line that reads "bind-address" and add a "#" in front to comment the line out. Save the file and quit.

Then type

 service squeezeboxserver restart

Now from Muso on your Windows box the "Test MySQL Connection" should pass.