10-28-2021, 12:29 AM
(This post was last modified: 01-23-2022, 11:39 PM by jmperagine.)
SiriusXM install procedure. Install as root.
Code:
sudo pip3 install sxm-player
sudo pip3 install sxm
Update idna to latest version
Code:
sudo pip3 install anyio
Edit etc/rc.local
Code:
cd /etc
sudo nano rc.local
Add the sxm code at the bottom of the file, save and reboot
Code:
# moOde startup and job processor daemon
/var/www/command/worker.php > /dev/null 2>&1
# start the SiriusXM proxy
/usr/local/bin/sxm-player -U MyUsername -P MyPassword &
exit 0
Save and reboot the system.
This will start an HTTP server that a player that supports HLS, you can access a SXM channel at http://127.0.0.1:9999/channel.m3u8 where “channel” is the channel name, ID, or Sirius channel number. Some channels must be setup using the name of the channel, other can be setup using the name or the channel id number
You can access them by setting up stations
Examples:
First Wave can only be setup using the name
http://127.0.0.1:9999/firstwave.m3u8
Tom Petty Radio can be setup using the name or the channel ID
http://127.0.0.1:9999/tom%20petty%20radio.m3u8
http://127.0.0.1:9999/9407.m3u8
Thank you Kent!
Code:
sudo pip3 install sxm-player
sudo pip3 install sxm
Update idna to latest version
Code:
sudo pip3 install anyio
Edit etc/rc.local
Code:
cd /etc
sudo nano rc.local
Add the sxm code at the bottom of the file, save and reboot
Code:
# moOde startup and job processor daemon
/var/www/command/worker.php > /dev/null 2>&1
# start the SiriusXM proxy
/usr/local/bin/sxm-player -U MyUsername -P MyPassword &
exit 0
Save and reboot the system.
This will start an HTTP server that a player that supports HLS, you can access a SXM channel at http://127.0.0.1:9999/channel.m3u8 where “channel” is the channel name, ID, or Sirius channel number. Some channels must be setup using the name of the channel, other can be setup using the name or the channel id number
You can access them by setting up stations
Examples:
First Wave can only be setup using the name
http://127.0.0.1:9999/firstwave.m3u8
Tom Petty Radio can be setup using the name or the channel ID
http://127.0.0.1:9999/tom%20petty%20radio.m3u8
http://127.0.0.1:9999/9407.m3u8
Thank you Kent!