Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Update to use SXMAUTHNEW cookie #29

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

fts-tmassey
Copy link

Getting "Unable to authenticate because login failed" when trying to connect. Could login successfully using https://player.siriusxm.com so credentials were correct. Examining the cookies within the browser seem to indicate that SXM changed "SXMAUTH" to "SXMAUTHNEW". Updated code and was able to list/play channels.

Getting "Unable to authenticate because login failed" when trying to connect.  Could login successfully using https://player.siriusxm.com so credentials were correct.  Examining the cookies within the browser seem to indicate that SXM changed "SXMAUTH" to "SXMAUTHNEW".  Updated code and was able to list/play channels.
fts-tmassey and others added 11 commits December 9, 2020 14:51
Added ability to use the -e or --env parameter to override the command line username and password with the optional SXM_USER and SXM_PASS environment variables.  This paired with a proper EnvironmentFile in a systemd unit, allows for a secure way of storing your credentials.
* Create sxm.service

* Create override.conf

This is my personal unit file override.conf.  The script is in a different location, I run it as the "mpd" user (it's part of my mpd-based whole house audio system), and I load the user name and password from an environment file.

* Update README.md

Added details about systemd unit files
Another update to keep up with SXM cookie changes
SXM changed the name of their auth cookie again:  updated cookie name to reflect chane.
SXM changed the name of their auth cookie again.
SXM changed the name of their auth cookie again:  update to SXMDATA
Pointed to proper forked GitHub repo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants