VortexBox Configuration: Difference between revisions

From Muso wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
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 -> LMS (Squeezebox Server) then make the following chnages to the following dialog boxes.
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'''
* Host: '''vortexbox'''
* Platform: '''Linux'''
* Platform: '''Linux'''
* Squeeze box server path prefix: '''/storage/music/'''
* Squeeze box server path prefix: '''/storage/music/'''
* Equivalent prefix on Muso: '''\\vortexbox\files\music\'''
* Equivalent prefix on Muso: '''\\<host>\files\music\'''


Then click '''Test CLI''', this should pass. You may need to use the '''Un-Bind''' button and restart LMS if it fails. You may also need to use the IP address of your VortexBox to replace the word vortexbox in the configurations (see the how-to on ensuring a static IP address for VortexBox).
Then click '''Test CLI''', this should pass. You may need to use the '''Un-Bind''' button and restart LMS if it fails. You may also need to use the IP address of your VortexBox to replace the word vortexbox in the configurations (see the how-to on ensuring a static IP address for VortexBox).
Line 41: Line 41:
Then in muso under the SQLite Configuration details, modify the .db location to the following:
Then in muso under the SQLite Configuration details, modify the .db location to the following:


   \\vortexbox\squeezebox_db
   \\<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 above.
Then click "Test SQLite Connection". If it fails try using the IP address of your VortexBox to replace the word vortexbox in the above.
Line 67: Line 67:
   force group = squeezeboxserver
   force group = squeezeboxserver


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


''In all the above substitute vortexbox with your vb host name if it is different, or a fixed IP address.''  
''In all the above substitute vortexbox with your vb host name if it is different, or a fixed IP address.''  

Revision as of 23:40, 18 January 2017

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
  • Platform: Linux
  • Squeeze box server path prefix: /storage/music/
  • Equivalent prefix on Muso: \\<host>\files\music\

Then click Test CLI, this should pass. You may need to use the Un-Bind button and restart LMS if it fails. You may also need to use the IP address of your VortexBox to replace the word vortexbox in the configurations (see the how-to on ensuring a static IP address for VortexBox).

Note: if you DON'T want to edit/write tags from Muso you can set the Equivalent prefix on Muso to \\vortexbox\music\

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

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 above.

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.

In all the above substitute vortexbox with your vb host name if it is different, or a fixed IP address.

mySQL database access

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.