Installation

Requirements

Since this is an audio playing sxm-player, there are obviously some non-python requirements.

  • Python 3.6 +. This is avaible on Windows easily and it is also avaible on Mac via Homebrew. Also most Linux distros now either ship with 3.6 or have an easy way to get it, like SCL for RedHat based distros.

  • A SXM account with access to online streaming (not just a car radio account)

  • ffmpeg for actually decoding and playing the HLS streams from SXM

Stable release

To install sxm-player, run this command in your terminal:

$ pip install sxm-player

This is the preferred method to install sxm-player, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for sxm-player can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/AngellusMortis/sxm-player

Or download the tarball:

$ curl  -OL https://github.com/AngellusMortis/sxm-player/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install