VortexBox Configuration: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
On VortexBox 2.2: | On VortexBox 2.2: | ||
[squeezebox_db] | [squeezebox_db] | ||
path = /var/lib/squeezeboxserver/cache | path = /var/lib/squeezeboxserver/cache | ||
guest ok = yes | guest ok = yes | ||
writeable = yes | writeable = yes | ||
create mask = 0777 | create mask = 0777 | ||
On VortexBox 2.3: | On VortexBox 2.3: | ||
[squeezebox_db] | [squeezebox_db] | ||
path = /var/lib/squeezeboxserver/cache | path = /var/lib/squeezeboxserver/cache | ||
browsable = Yes | browsable = Yes | ||
guest ok = Yes | guest ok = Yes | ||
read only = No | read only = No | ||
create mask = 0755 | create mask = 0755 | ||
directory mask = 0755 | directory mask = 0755 | ||
force user = squeezeboxserver | force user = squeezeboxserver | ||
force group = squeezeboxserver | force group = squeezeboxserver | ||
If this does not work, try "force user = root" and "force group = root" and see if that works better. | If this does not work, try "force user = root" and "force group = root" and see if that works better. | ||
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 | \\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. | 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 49: | Line 49: | ||
VortexBox 2.2: | VortexBox 2.2: | ||
[squeezebox_playlist] | [squeezebox_playlist] | ||
path = /storage/music/playlist | path = /storage/music/playlist | ||
guest ok = yes | guest ok = yes | ||
writeable = yes | writeable = yes | ||
create mask = 0777 | create mask = 0777 | ||
VortexBox 2.3: | VortexBox 2.3: | ||
[squeezebox_playlist] | [squeezebox_playlist] | ||
path = /storage/music/playlist | path = /storage/music/playlist | ||
browsable = Yes | browsable = Yes | ||
guest ok = Yes | guest ok = Yes | ||
read only = No | read only = No | ||
create mask = 0755 | create mask = 0755 | ||
directory mask = 0755 | directory mask = 0755 | ||
force user = squeezeboxserver | force user = squeezeboxserver | ||
force group = squeezeboxserver | force group = squeezeboxserver | ||
Then in muso specify \\vortexbox\squeezebox_playlist for the playlist folder. | 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 == | == mySQL database access == | ||
Open the command prompt and run | 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. | 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. | ||
Line 79: | Line 81: | ||
Then type | Then type | ||
service squeezeboxserver restart | service squeezeboxserver restart | ||
Now from Muso on your Windows box the "Test MySQL Connection" should pass. | Now from Muso on your Windows box the "Test MySQL Connection" should pass. |
Revision as of 23:36, 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.