12-02-2023, 05:08 PM
(12-02-2023, 02:57 PM)TheOldPresbyope Wrote: PS - This should be ok since moOde itself doesn't work if they're wrong but be sure the /etc/rc.local file has the proper permissions, e.g.
Code:pi@moode:~ $ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 733 Dec 2 08:55 /etc/rc.local
pi@moode:~ $ grep -i sxm | /var/log/syslog
-bash: /var/log/syslog: Permission denied
^C
pi@moode:~ $ sudo grep -i sxm | /var/log/syslog
-bash: /var/log/syslog: Permission denied
^C
pi@moode:~ $ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 858 Dec 2 11:22 /etc/rc.local
pi@moode:~ $
not having any luck
I should note this started a few days ago with both of my systems. For the past 2 years 80% of the time it's worked everytime I boot up. Logging into SXM on a laptop and Android phone app works. Manually logging in on the PI via ssh with sxm-player also works 100% of the time.
as an experiment, I added a killall and then ran the code again in rc.local:
# start the SiriusXM proxy
/usr/local/bin/sxm-player -U ********** -P ********* &
sudo nano killall sxm-player &
/usr/local/bin/sxm-player -U ******* -P ******** &
This generates alot of onscreen error messages, however, this system boots and the SXM music plays.
So it seems we need to run the sxm-player command later in the boot process. But where?