Skip to content

danielvijge/SqueezeCloud

 
 

Repository files navigation

A SoundCloud plugin for Lyrion music server

This is a Lyrion Music Server (LMS) (a.k.a Squeezebox server) plugin to play tracks from SoundCloud. It uses ffmpeg to transcode the SoundCloud stream. To install, use the settings page of Lyrion Media Server. Go to the Plugins tab, scroll down to 3rd party plugins and select SoundCloud. Press the Apply button and restart LMS.

After installation, log in to your SoundCloud account via Settings > Advanced > SoundCloud

The plugin is included as a default third party resource. It is retrieved from this GitHub repository. It is also possible to directly include the repository XML as an additional repository. For the release version, include

https://danielvijge.github.io/SqueezeCloud/public.xml

For the development version (updated with every commit), include

https://danielvijge.github.io/SqueezeCloud/public-dev.xml

The development version might be broken at times.

ffmpeg

ffmpeg must be installed to transcode the SoundCloud HLS stream to a stream that can be played directly by LMS. On Debian Linux this can be installed like this:

sudo apt install ffmpeg

When using the official Docker image, refer to the documentation how to install ffmpeg every time a new version is pulled.

The type of transcoding can be configured via Settings > Advanced > File Types. Available options are flac, pmc, or mp3. Transcoding to mp3 also requires lame to be installed.

SSL support

You need SSL support in Perl for this plugin (SoundCloud links are all over HTTPS), so you will need to install some SSL development headers on your server before installing this plugin.

You can do that on Debian Linux (Raspian, Ubuntu, Mint etc.) like this:

sudo apt install libssl-dev
sudo perl -MCPAN -e 'install IO::Socket::SSL'
sudo systemctl restart lyrionmusicserver.service

And on Red Hat Enterprise Linux (Fedora, CentOS, etc.) like this:

sudo yum -y install openssl-devel
sudo perl -MCPAN -e 'install IO::Socket::SSL'
sudo systemctl restart lyrionmusicserver.service

Licence

This work is distributed under the GNU General Public License version 2. See file LICENSE for full license details.

About

SoundCloud plugin for Lyrion music server

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Perl 99.0%
  • Other 1.0%