Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Audio stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 07-20-2024, 10:14 AM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

SiriusXM help (2024)


Hello all-

I have figured out how to pull down live SXM channels using a script (sxm.py) found on github. Unfortunately, that tool only seems to pull live content and not replay/on demand content. For clarity, that script does require my credentials as a SXM subscriber. It would be great to simply be able to use that tool but I have not figured out a way to do it.

When I playback on demand content, I first pull the m3u8 file using a plugin and save that. I then attempt to edit the file to include the direct URL added to the segment name. When then I run a download command such as: 'ffmpeg -i locallysaved.m3u8 -c copy outputfile.ts' I run into what appears to be a cookie/key error.

Years ago someone helped me create a local 'sample.key' file that the m3u8 would then point to. I'm at a loss as to how to create that file. I can locate the info below and think that is the component I need to somehow incorporate to get things working. I feel like I am really close to being able to pull the content.

<snip> "Cookie:kv_id=kw3c176f5283050; kv_install_sent=1625328187423; OAdeviceId=audioDeviceId=6v28gYEJ+CIRab8HcZo1Oqmcw 1&audioDeviceType=hashed; AMCV_AA6F3BC75245B3970A490D4D%40AdobeOrg=179643557 %7CMCIDTS%7C19925%7CMCMID%7C4502713372606254987348 6643460290407091%7CMCAAMLH-1722088231%7C9%7CMCAAMB-1722088231%7C6G1ynYcLPuiQxYZrsz_pkqfLG9yMXBpb2zX5d vJdYQJzPXImdj0y%7CMCOPTOUT-1721490631s%7CNONE%7CvVersion%7C5.5.0%7CMCAID%7CNO NE; mbox=PC#68913cea1d2243e8ba6616b0dbf99516.35_0#1768 950282| <snip>

m3u8 sample (original):
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:NO
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="https://api.edge-gateway.siriusxm.com/playback/key/v1/08e0d9d2-6c62-41a4-a38c-4af07adac2c7"
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:00.000+00:00
#EXTINF:9.752381,
EPISODE_974308_256k_4_071957600000_00000000_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:09.752+00:00
#EXTINF:9.752381,
EPISODE_974308_256k_4_071957609752_00000001_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:19.504+00:00
#EXTINF:9.752381,


m3u8 sample (edited):
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:NO
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="https://api.edge-gateway.siriusxm.com/playback/key/v1/08e0d9d2-6c62-41a4-a38c-4af07adac2c7"
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:00.000+00:00
#EXTINF:9.752381,
https://aod-ftc-prod-device.streamin...0000000_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:09.752+00:00
#EXTINF:9.752381,
https://aod-ftc-prod-device.streamin...0000001_v3.aac
#EXT-X-PROGRAM-DATE-TIME:2024-07-19T16:00:19.504+00:00
#EXTINF:9.752381,

I know I need to edit the bolded URI= to point at the local 'key' file, I am just unsure where to acquire it or how to create it. If someone would be willing to help out I would greatly appreciate it!
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:49 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons