-
Notifications
You must be signed in to change notification settings - Fork 65
fix: the file IDs of songs encrypted with widevine were missing #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Added new TRACK_PLAYBACK_API_URL and updated methods to use token headers for authorization.
Enhance get_gid_metadata to include additional metadata handling and file ID extraction for playback information.
|
Windows PowerShell Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\Users\PC> votify "https://open.spotify.com/episode/3kwxWnzGH8T6UY2Nq582zx" During handling of the above exception, another exception occurred: Traceback (most recent call last): bro i tried your fork but its also not working |
That happened here too. But when I exported the cookies again, it worked. |
|
Good patch for solve #76 but wrong PR. |
Thank you, and I apologize. I don't know what I was thinking when I thought it would be a good idea to mix them. You're right. |
|
If we change file_ids_mp4 to file_ids_mp4flac, the API returns the file_id for MP4_FLAC. However, MP4_FLAC is format 17. So, STREAM_URLS_API_URL will probably have to be changed for votify to support lossless in the future to something like: STREAM_URLS_API_URL = (“https://gue1-spclient.spotify.com/storage-resolve/v2/files/audio/interactive/{format}/{file_id}?version=10000000&product=9&platform=39&alt=json”) You can verify that this type of format is protected by Widevine at https://seektables.scdn.co/seektable/6ccf387b9185fcd54f137c9416e9c99c36068bc9.json, as it contains PSSH and pssh_widevine (which are the same). However, attempting to obtain the license did not work here. Here is a list of the most common formats and their respective DRMs: Apparently, MP4_FLAC_24BIT exists and is format 23. But I couldn't find it anywhere. |
|
works like a charm |
Spotify made an update where it only returned file IDs in OGG and AAC_24 in gid_metadata, and this is my attempt to fix it. #74
I also updated the TOTP link (got it from the Discord server, thanks to whoever made it). #75