VortexBox Configuration: Difference between revisions

From Muso wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
* Equivalent prefix on Muso: '''\\vortexbox\files\music\'''
* Equivalent prefix on Muso: '''\\vortexbox\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).


Note: if you DON'T want to edit/write tags from Muso you can set the Equivalent prefix on Muso to '''\\vortexbox\music\'''
Note: if you DON'T want to edit/write tags from Muso you can set the Equivalent prefix on Muso to '''\\vortexbox\music\'''
Line 12: Line 12:
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.
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
== 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:
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:


Line 71: Line 71:
     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.  


mySQL database access
== mySQL database access ==


Open the command prompt and run 'nano /usr/share/squeezeboxserver/MySQL/my.tt'
Open the command prompt and run 'nano /usr/share/squeezeboxserver/MySQL/my.tt'

Revision as of 23:34, 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 -> LMS (Squeezebox Server) then make the following chnages to the following dialog boxes.

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

\\vortexbox\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 \\vortexbox\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.