Difference between revisions of "SqueezeCenter"
m (Added Note box pointer to the new Logitech Media Server How-to.) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Note box|April 2016: The squeezebox server software has been renamed (yet again) to "Logitech Media Server". Also the repositories used by this How-to appear to have vanished but there is a download site. See the http://wiki.contribs.org/Logitech_Media_Server How-to for further information and installation onto SME9.1 x86_64.}} | ||
+ | ==SqueezeCenter== | ||
+ | {{Level|Medium}} | ||
===Description=== | ===Description=== | ||
SqueezeCenter is the media server component of Slim Devices's (now a Logitech company) media playing devices such as Squeezebox™. Not only will it power any Squeezebox™ or Transporter®, but also any software MP3 player on your network. SqueezeCenter 7.0 runs on Windows, Mac, Linux, BSD and Solaris. | SqueezeCenter is the media server component of Slim Devices's (now a Logitech company) media playing devices such as Squeezebox™. Not only will it power any Squeezebox™ or Transporter®, but also any software MP3 player on your network. SqueezeCenter 7.0 runs on Windows, Mac, Linux, BSD and Solaris. | ||
Line 6: | Line 9: | ||
===Links=== | ===Links=== | ||
Slim Devices home page | Slim Devices home page | ||
+ | |||
http://www.slimdevices.com | http://www.slimdevices.com | ||
+ | |||
Originating discussion leading to this wiki entry | Originating discussion leading to this wiki entry | ||
+ | |||
http://forums.contribs.org/index.php?topic=40815.0 | http://forums.contribs.org/index.php?topic=40815.0 | ||
===Credits=== | ===Credits=== | ||
Originator: [[User:bricknell| bricknell]] - documented his struggles and successes for others | Originator: [[User:bricknell| bricknell]] - documented his struggles and successes for others | ||
+ | |||
Procedure: [[User:william_syd| william_syd]] - initially documenting a succinct procedure | Procedure: [[User:william_syd| william_syd]] - initially documenting a succinct procedure | ||
+ | |||
Documenter: [[User:Christian | Christian]] - verified procedure and initiated wiki entry | Documenter: [[User:Christian | Christian]] - verified procedure and initiated wiki entry | ||
Line 50: | Line 58: | ||
====Inform Yum==== | ====Inform Yum==== | ||
Now ensure that yum's database is updated. This is needed after any db addition/change to the yum_repositories. | Now ensure that yum's database is updated. This is needed after any db addition/change to the yum_repositories. | ||
− | + | signal-event yum-modify | |
===Installation=== | ===Installation=== | ||
Line 69: | Line 77: | ||
db configuration setprop squeezecenter access public | db configuration setprop squeezecenter access public | ||
{{Warning box|If you choose to make SqueezeCenter public then it is highly recommened that you configure SqueezeCenter to require a username and password. This can be done from SqueezeCenter's Settings->Advanced tab.}} | {{Warning box|If you choose to make SqueezeCenter public then it is highly recommened that you configure SqueezeCenter to require a username and password. This can be done from SqueezeCenter's Settings->Advanced tab.}} | ||
+ | |||
Tell SME what we have done. | Tell SME what we have done. | ||
Line 78: | Line 87: | ||
Lets make somewhere for music and playlists. | Lets make somewhere for music and playlists. | ||
− | mkdir -p /opt/squeezecenter/playlists | + | mkdir -p /opt/squeezecenter/playlists |
− | mkdir -p /opt/squeezecenter/music | + | mkdir -p /opt/squeezecenter/music |
And give squeezey ownership of the above. | And give squeezey ownership of the above. | ||
− | chown squeezecenter:squeezecenter /opt/squeezecenter/playlists | + | chown squeezecenter:squeezecenter /opt/squeezecenter/playlists |
− | chown squeezecenter:squeezecenter /opt/squeezecenter/music | + | chown squeezecenter:squeezecenter /opt/squeezecenter/music |
− | {{Note box|If you use an alternate directory entry, you will need to ensure squeezecenter has permissions for that directory. For example by including it in the appropriate group assigned to an ibay. | + | {{Note box|If you use an alternate directory entry, you will need to ensure squeezecenter has permissions for that directory. For example by including it in the appropriate group assigned to an ibay.}} |
===Initial Launch=== | ===Initial Launch=== | ||
Line 91: | Line 100: | ||
Start squeezecenter | Start squeezecenter | ||
− | /etc/rc.d/rc7.d/S99squeezecenter start | + | /etc/rc.d/rc7.d/S99squeezecenter start |
Access the administration page: | Access the administration page: | ||
− | http://<SMEserver>:9000 | + | http://<SMEserver>:9000 |
+ | |||
+ | ===Updating=== | ||
+ | If the administration page informs you that there is an update available then you can update from the console using the following: | ||
+ | yum --enablerepo=squeezecenter-release update squeezecenter | ||
===Other=== | ===Other=== | ||
Line 100: | Line 113: | ||
===User experience=== | ===User experience=== | ||
− | * Tested with SME Server 7.3 - Works | + | Users who have implemented this how-to should add their experiences as data points of success for others. Please sign your experience using four tildes (~). |
− | + | * Tested with SME Server 7.3 - Works ([[User:Christian|Christian]] 20:54, 13 October 2008 (UTC)) | |
+ | ---- | ||
[[Category:Howto]] | [[Category:Howto]] | ||
+ | [[Category:Media Apps]] |
Latest revision as of 11:11, 4 April 2016
SqueezeCenter
Description
SqueezeCenter is the media server component of Slim Devices's (now a Logitech company) media playing devices such as Squeezebox™. Not only will it power any Squeezebox™ or Transporter®, but also any software MP3 player on your network. SqueezeCenter 7.0 runs on Windows, Mac, Linux, BSD and Solaris.
This How-to describes the installation and updating of SqueezeCenter only on SME Server. Please refer to SqueezeCenter's product and help pages for operation.
Links
Slim Devices home page
Originating discussion leading to this wiki entry
http://forums.contribs.org/index.php?topic=40815.0
Credits
Originator: bricknell - documented his struggles and successes for others
Procedure: william_syd - initially documenting a succinct procedure
Documenter: Christian - verified procedure and initiated wiki entry
Configure necessary repositories
First you need to update yum of the SqueezeCenter repository. SqueezeCenter maintains three respositories: Release, Testing, and Unstable. For most purposes you should only use the Release stream. All of these entries will be disabled by default.
Setup the Repository
Release
You should use this and only this for most installations. The other repositories are for experimentation or bleeding edge.
db yum_repositories set squeezecenter-release repository \ BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ \ EnableGroups no \ GPGCheck no \ GPGKey http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \ Name 'SqueezeCenter Release Repository' \ Visible no \ status disabled
Testing
Normally you should not bother with this unless you want bleeding edge. You can safely omit this. It is provided for reference.
db yum_repositories set squeezecenter-testing repository \ BaseURL http://repos.slimdevices.com/yum/squeezecenter/testing/ \ EnableGroups no \ GPGCheck no \ GPGKey http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \ Name 'SqueezeCenter Branch Repository' \ Visible no \ status disabled
Unstable
Normally you should not bother with this unless you want bleeding edge. You can safely omit this. It is provided for reference.
db yum_repositories set squeezecenter-unstable repository \ BaseURL http://repos.slimdevices.com/yum/squeezecenter/unstable/ \ EnableGroups no \ GPGCheck no \ GPGKey http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \ Name 'SqueezeCenter Trunk Repository' \ Visible no \ status disabled
Inform Yum
Now ensure that yum's database is updated. This is needed after any db addition/change to the yum_repositories.
signal-event yum-modify
Installation
Lets install the star attraction.
yum --enablerepo=squeezecenter-release install squeezecenter
Lets make sure it starts if and when we reboot.
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99squeezecenter
Better give ourselves some control and open the music to the world. You will need both TCP and UDP ports at least initially. If you are concerned about security there is info in the SqueezeCenter forums that tell you precisely when each port is required.
db configuration set squeezecenter service \ status enabled \ TCPPorts 9000,3483 \ UDPPorts 9000,3483 \ access private
to change your install to public, either change private to public above or enter
db configuration setprop squeezecenter access public
Tell SME what we have done.
signal-event remoteaccess-update
Create a File Structure
The following is a suggestion on how to create a file structure. You can alternatively create an ibay or user for these. In christian's config for example, he has an ibay with all of his media which points SqueezeCenter and Jinzora to. However he maintains SqueezeCenter's playlists per william_syd's suggestion below.
Lets make somewhere for music and playlists.
mkdir -p /opt/squeezecenter/playlists mkdir -p /opt/squeezecenter/music
And give squeezey ownership of the above.
chown squeezecenter:squeezecenter /opt/squeezecenter/playlists chown squeezecenter:squeezecenter /opt/squeezecenter/music
Initial Launch
Now let the music begin...
Start squeezecenter
/etc/rc.d/rc7.d/S99squeezecenter start
Access the administration page:
http://<SMEserver>:9000
Updating
If the administration page informs you that there is an update available then you can update from the console using the following:
yum --enablerepo=squeezecenter-release update squeezecenter
Other
When installed, a java soft player can be downloaded from the administration.
User experience
Users who have implemented this how-to should add their experiences as data points of success for others. Please sign your experience using four tildes (~).
- Tested with SME Server 7.3 - Works (Christian 20:54, 13 October 2008 (UTC))