Line 1: |
Line 1: |
− | [[Category:Howto]] | + | {{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.}} |
− | | + | {{Note box| This How-to is based on the forum discussion [http://forums.contribs.org/index.php/topic,45083.0.html here], until this How-to gets converted in to a contrib and has a place in the Contribs.org Bugzilla bug tracking system, please report bugs in the original forum discussion. }} |
− | {{Warning box| 8/12/2009 This How-to is under heavy edit and my be wrong. There is great risk that it will change before your very eyes until this note is removed }} | + | {{Note box| 8/12/2009 This how-to has been tested on SME8 beta 4 by omitting the sections 'Install Perl 5.10.0' and 'Patch Squeezebox server to use Perl5.10.0'.}} |
− | | |
− | | |
| ===Description=== | | ===Description=== |
| Squeezebox Server is the new name for SqueezeCenter. Squeezebox Server provides streaming music to Squeezebox audio players. | | Squeezebox Server is the new name for SqueezeCenter. Squeezebox Server provides streaming music to Squeezebox audio players. |
Line 39: |
Line 37: |
| Testing and this how to: [[User:markleman| Mark Leman]] | | Testing and this how to: [[User:markleman| Mark Leman]] |
| | | |
− | ====Setup the Repository====
| + | ===Setup the Repository=== |
− | =====Release=====
| + | ====Release==== |
| You should use this and only this for most installations. The other repositories are for experimentation or bleeding edge. | | 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 \ | | db yum_repositories set squeezecenter-release repository \ |
− | BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ \ | + | BaseURL 'http://repos.slimdevices.com/yum/squeezecenter/release/' \ |
| EnableGroups no \ | | EnableGroups no \ |
| GPGCheck no \ | | GPGCheck no \ |
Line 50: |
Line 48: |
| Visible no \ | | Visible no \ |
| status disabled | | status disabled |
− | =====Testing=====
| + | ====Testing==== |
| Normally you should not bother with this unless you want bleeding edge. You can safely omit this. It is provided for reference. | | 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 \ | | db yum_repositories set squeezecenter-testing repository \ |
− | BaseURL http://repos.slimdevices.com/yum/squeezecenter/testing/ \ | + | BaseURL 'http://repos.slimdevices.com/yum/squeezecenter/testing/' \ |
| EnableGroups no \ | | EnableGroups no \ |
| GPGCheck no \ | | GPGCheck no \ |
Line 60: |
Line 58: |
| Visible no \ | | Visible no \ |
| status disabled | | status disabled |
− | =====Unstable=====
| + | ====Unstable==== |
| Normally you should not bother with this unless you want bleeding edge. You can safely omit this. It is provided for reference. | | 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 \ | | db yum_repositories set squeezecenter-unstable repository \ |
− | BaseURL http://repos.slimdevices.com/yum/squeezecenter/unstable/ \ | + | BaseURL 'http://repos.slimdevices.com/yum/squeezecenter/unstable/' \ |
| EnableGroups no \ | | EnableGroups no \ |
| GPGCheck no \ | | GPGCheck no \ |
Line 89: |
Line 87: |
| to change your install to public, either change private to public above or enter | | to change your install to public, either change private to public above or enter |
| db configuration setprop squeezeboxserver access public | | db configuration setprop squeezeboxserver access public |
− | {{Warning box|If you choose to make Squeezebox server public then it is highly recommened that you configure Squeezebox server to require a username and password. This can be done from Squeezebox server's Settings->Advanced tab.}} | + | {{Warning box|If you choose to make Squeezebox server public then it is highly recommended that you configure Squeezebox server to require a username and password. This can be done from Squeezebox server's Settings->Advanced tab.}} |
| | | |
| | | |
Line 132: |
Line 130: |
| ln -s /usr/share/squeezeboxserver/CPAN/ /usr/libexec/CPAN | | ln -s /usr/share/squeezeboxserver/CPAN/ /usr/libexec/CPAN |
| | | |
− | Edit first line of '''/usr/libexecsqueezeboxserver''' and '''/usr/libexecsqueezeboxserver-scanner''' | + | Edit first line of '''/usr/libexec/squeezeboxserver''' and '''/usr/libexec/squeezeboxserver-scanner''' |
| from | | from |
| #!/usr/bin/perl -w | | #!/usr/bin/perl -w |
Line 140: |
Line 138: |
| Edit '''/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm''' | | Edit '''/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm''' |
| | | |
− | At line 142 add
| + | Around line 148 find some code like |
− | @INC = grep { $_ !~ /5\.8/ } @INC; | + | # prepend our directories to @INC so we look there first. |
| + | unshift @INC, @SlimINC; |
| + | |
| + | Add a line to change this into |
| + | # prepend our directories to @INC so we look there first. |
| + | @INC = grep { $_ !~ /5\.8/ } @INC; |
| + | unshift @INC, @SlimINC; |
| | | |
| ===Initial Launch=== | | ===Initial Launch=== |
Line 154: |
Line 158: |
| | | |
| Access the administration page: | | Access the administration page: |
− | http://<your_SMEserver>:9000/ | + | http://your_SMEserver:9000/ |
| | | |
| ===Updating=== | | ===Updating=== |
Line 166: |
Line 170: |
| Once all is updated and re-patched, restart | | Once all is updated and re-patched, restart |
| service squeezeboxserver start | | service squeezeboxserver start |
| + | ---- |
| + | [[Category:Howto]] |
| + | [[Category:Media Apps]] |