Spotify ogg dumper

Related tags

Miscellaneous Soggfy
Overview

Soggfy - SpotifyOggDumper

Discord

Previous Spotify downloader projects (XSpotify, spotifykeydumper) worked by recovering encryption keys and re-downloading tracks manually from Spotify's CDN.

This project takes a completely different approach - by hooking directly into functions that demux the (already decrypted) OGG stream, a replica of the track can be reconstructed without any quality loss. The resulting files are automatically tagged with metadata fetched from Spotify's public API.

Soggfy does not download from YouTube, or other sources unlike most other "Spotify Downloading Tools." It actually dumps from Spotify!

Installation

  1. Go to the releases page and download the latest version of Soggfy from the .zip file
  2. Right click your downloaded .zip, then select "Extract All" or "Extract Here" if you have WinRAR or 7-zip installed.
  3. Disable your antivirus or Windows Defender because it may flag the Injector.exe file you find in the extracted folder. Antiviruses detect this file because they think its some sort of virus that changes a program to make it malicious, but don't worry, this doesn't do that.
  4. Open up Spotify, make sure it's updated to the latest version and then run the Injector.exe file in the Soggfy folder.
  5. Once you ran the Injector, a new Spotify window should open up with SOGGFY in it, and everything should look fine.
  6. Play the music you want to download and enjoy! Read Notes for more info.

Enabling tagging and conversion

  1. Run DownloadFFmpeg.ps1 (right click it and select Run with PowerShell). If you see any prompts about execution policy, press A.
  2. Drag and drop the config.json file into notepad;
  3. Change the value of convert_to to the format you want, one listed in formats. e.g: "convert_to": "MP3 320K"
  4. Save the file and inject Soggfy as described above.

Step 1 is not necessary if you already have ffmpeg installed and set on %PATH%

Blocking Spotify updates

Spotify auto updates itself every about two weeks. Soggfy will stop working because the function addresses that need to be intercepted changes. You can optionally prevent this by running BlockSpotifyUpdates.bat.

Notes

  • Tracks are dumped in real time, seeking or skipping will cancel the dump / download.
  • Podcasts can be downloaded as long as they are audio only. They may also have lower bitrate: OGG 96Kb/s or MP3 128Kb/s.
  • Video podcasts such as The Joe Rogan Experience, Misfits, Storytime with Seth Rogan, and others cannot be downloaded yet.
  • Default save path is %userprofile%/Music/Soggfy. It can be changed in config.json.
  • Quality depends on account type: 160Kb/s for free accounts, and 320Kb/s for premium accounts. It may also depend on the client settings.
  • You could get banned by using this. Please consider using alt accounts or keeping backups (see Exportify or SpotMyBackup).
  • Last supported Spotify client version: 1.1.74.631.g0b24d9ad
Comments
  • Cover art not downloaded properly

    Cover art not downloaded properly

    Cover art which is automatically downloaded and embedded is only partially downloaded. Example:

    image

    OS: Windows 7 Spotify version: Spotify for Windows, 1.1.80.699 The latest release of the injector as of now.

    opened by ShowcaseKing 10
  • Linux Support

    Linux Support

    Hi, I would like to try this project and was wondering whether it would be possible to port this to Linux with minimal changes - one thing I've noticed is that you refer to userprofile which I suppose is Window's AppData(?)

    Lmk and thanks for making this!

    opened by BachoSeven 8
  • DMCA

    DMCA

    When DMCA inevitably comes for this repo due to popularity rising, what will you do and what are your plans for this project?

    A lot of people here seem to have found this tool recently from Reddit and other places.

    opened by Rekulous 7
  • Successful status disappears

    Successful status disappears

    Normally the successful check mark is displayed once a song is complete. After a while, the check disappears and the tracks look like it they havent downloaded. It also used to show a checkmark even after a spotify restart. This doesn't seem to work either. If you scroll up and down the playlist you can make them disappear too.

    image

    Using latest release and latest support version of Spotify client.

    Here are my settings....

    image

    I was previously using v2.2.5 and OGG but I upgraded to see if another issue I was seeing was resolved. I used to keep the files in ogg format however I found out over the weekend that some apps couldn't process the file, including ffmpeg. I have reported that as a separate issue. #27

    Here is a screenshot after it has been running a while. You will see a number of missing checkmarks even though the file has been downloaded.

    image

    opened by m1dst 6
  • Offline mode support

    Offline mode support

    No, this is not a duplication of #19 .

    I wanted to ask if in case the songs already exist on the computer offline, is it possible to cancel the requests to Spotify's server (because then it blocks me after some time). The information should be stored locally on the computer, and there is no need to make a new request to the server.

    Thanks.

    opened by YehudaEi 5
  • Can't save music:

    Can't save music: "Unrecognized audio codec"

    When playback of a song finishes, in the song list I can see a red cross. Hovering over this red cross shows the message Unrecognized audio codec, and no file is saved.

    I have the defaut settings and I'm using Soggfy v2.5.0

    opened by ItsIgnacioPortal 4
  • injector closes after spotify opens.

    injector closes after spotify opens.

    I see where when I hit play, the song plays as normal and files are created in the newly created "temp" directory, but are they supposed to convert to mp3 aftewards? nothing happens and I just have lots of these temp files that are ffmd extension

    opened by Khaine17 4
  • Metadata has stopped embedding

    Metadata has stopped embedding

    Just noticed that using 1.1.77.643 and latest release (v2.2.1), the metadata is not being embedded in the ogg as it was a few days ago. Not sure if Spotify are fighting back with this or if you embed the metadata after stripping it but even the comment field is blank now.

    Rebooted to be sure it wasn't just something memory resident.

    opened by m1dst 4
  • Premium Accounts

    Premium Accounts

    In the README, it says that this has not been tested on premium accounts.

    I downloaded one song using the program and it works, but is there any possible risk to getting banned or having Soggfy possibly detected?

    opened by Rekulous 4
  • request: option to embed metadata with .ogg format

    request: option to embed metadata with .ogg format

    It would be nice if the metadata (such as the track number, the title, the album, etc) is also embedded when a song is downloaded. Because currently, all songs have no metadata in them: Screenshot 2022-11-17 101151

    I can't find the option for this in the Soggfy settings. I was wondering if this feature is implemented in already or is planned in the future. If it is implemented already, can someone please point me in the right direction for how to enable it?

    Thanks!

    opened by AfthenDEV 3
  • The application was unable to start correctly (0xc000007b).

    The application was unable to start correctly (0xc000007b).

    I downloaded Spotify and Soggify within a Windows 10 VM, downloaded all the DLLs it asked, and it gave me this error. I tried all solutions with similar error codes to no avail.

    image

    If this helps, here's all the programs I currently have installed.

    image

    opened by tacohitbox 3
  • Not downloading

    Not downloading

    Seems to have installed successfully, I open the "injector", it says "injection succeeded" opening spotify app.

    But when I play the songs, nothing is being downloaded in the Soggfy folder (in music folder). Also not seeing this "can be changed on the settings pane, which can be accessed through the controls button shown after hovering the download toggle button in the navigation bar."

    Any idea how I can get this to work?

    opened by vargint 1
  • File not writing after steaming competed

    File not writing after steaming competed

    I'm getting the error: "CreatePlayback() called for a playback that already exists. id={}, file pos={}"

    I'm streaming at 1x speed. At first I thought it was a temporary file issue, so I exited the program, deleted Soggfy temp files and retried. That doesn't seem to fix it. I had been downloading files successfully before this began to happen. This error is happening on podcasts for me. I've tried clearing temp files and doing this on different streams, to no success. The program shows 6 seconds remaining on the podcast when it switches to the next one.

    I cleared the cache on Spotify and it seemed to resolve this temporarily. For now I plan to run a shell script that clears the cache and then runs the injection script each time I run Spotify so this is avoided, but I thought this info might be helpful for future debugging.

    opened by cjl4hd 2
  • [Feature] Add song metadata to .lrc file.

    [Feature] Add song metadata to .lrc file.

    Could the .lrc files contain the song metadata along with the lyrics.

    The ID Tags would be inserted above lyrics as below:

    [ar:artist]
    
    [al:Album where the song is from]
    
    [ti:Lyrics (song) title]
    
    [au:Creator of the Songtext]
    [length:How long the song is]
    [by:Creator of the LRC file]
    
    [offset:+/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down]
     
    [re:The player or editor that created the LRC file]
    
    [ve:version of program]
    
    [la:EN]
    

    The song title, artist and album information are already available.

    Ref: https://en.wikipedia.org/wiki/LRC_(file_format)

    opened by Dr-Blank 1
  • Playlist title must be in library for {playlist_name} tag to work

    Playlist title must be in library for {playlist_name} tag to work

    Minor thing, but I was using this on a playlist I didn't have in my library, and soggfy was marking it as "unknown" in the structure. Then I added it to my library, and the next track had the correct playlist name.

    Probably a documentation change (although not sure if that even exists for the tags ;) )

    opened by bigchipbag 0
Releases(v2.5.0)
Owner
Daniel
Daniel
Spotify Adblocker for windows

SpotifyAdBlocker-Windows This project is a try to port This one to windows the way it is done is with dll redirection, the call to cef_urlrequest_crea

Mouad Fakhri 39 Aug 17, 2022
Spotify AdBlocker for Windows, written in C. DLL Injection.

Spotify AdBlock Windows Spotify Ad Block, in C ! Build Open an issue with information related if any error occurs. mingw32-make all Tested gcc: # gcc

Ii64人 1 Nov 2, 2021
View your current playing song on ESP32 & OLED display using Spotify API

esp32-spotify-oled View your current playing song on ESP32 & OLED display using Spotify API Spotify Visit Spotify Dashboard https://developer.spotify.

Felix Biego 6 Oct 15, 2022
Internal dumper for Unity3d libil2cpp.so

Auto-Il2cppDumper This is for helping you get dump.cs from Il2cpp game hope this will help you >::< Important This project is modifying version of Rir

BryanGIG 32 Oct 28, 2022
Just a basic Offsets and Netvar dumper for Apex Legends

Not much to say just an Apex Legends Offsets + Netvar Dumper, it should survive some game updates and also it gave to you almost all you need to updat

dhanax26 59 Dec 31, 2022
A short and sweet hex dumper!

██████╗ ██████╗ ███╗ ███╗██████╗ ██╔═══██╗██╔══██╗████╗ ████║██╔══██╗ ██║ ██║██║ ██║██╔████╔██║██████╔╝ ██║▄▄ ██║██║ ██║██║╚██╔╝██║██╔═══

Victor Sarkisov 1 Nov 18, 2021
A dumper for CS:GO cheat loaders that use manual map injection method

NoobDumper v2 A (mostly dll) dumper for CS:GO cheat loaders that use manual map injection method How to use this Inject the dumper into the loader ( x

noobes 22 Jul 21, 2022
Simple native jvm class dumper written in C by hook ClassLoader

JVM Native Class Dumper Simple native jvm class dumper written in C by hook ClassLoader What is used for? This tool allows you to dump all java classe

null 21 Nov 7, 2022
Android Dumper Lib From The Memory

LibDumper This Project Is Using For Make You Easy Dump Lib From The Memory Changelog 3.5 : fixing corrupt file after fixing elf format result dump [st

BryanGIG 31 Jan 27, 2022
PIC lsass dumper using cloned handles

HandleKatz This tool was implemented as part of our Brucon2021 conference talk and demonstrates the usage of cloned handles to Lsass in order to creat

CODE WHITE GmbH 485 Dec 28, 2022
Simple, fully external, smart, fast, JSON-configurated, feature-rich Windows x86 DLL Memory Dumper with Code Generation. Written in Modern C++.

altdumper Simple, fully external, smart, fast, JSON-configurated, feature-rich Windows x86 DLL Memory Dumper with Code Generation. Written in Modern C

cristei 14 Sep 9, 2022
CSGO-P2C-Dumper is a process memory dumper aimed to target CS:GO internal cheats

CSGO-P2C-Dumper is a process memory dumper aimed to target CS:GO internal cheats, while offering additional reversing aid.

null 20 Dec 13, 2022
Cross platform C++11 library for decoding audio (mp3, wav, ogg, opus, flac, etc)

Libnyquist is a small C++11 library for reading sampled audio data from disk or memory. It is intended to be used an audio loading frontend for games, audio sequencers, music players, and more.

Dimitri Diakopoulos 442 Jan 2, 2023
Spotfetch - a tool to fetch spotify info with with ascii picture written in C++

A C++ fetch tool for spotify, its a cool little tool to retrieve information on current playing song on spotify. Run the command and be treated to a pixelated version of the album art accompanied by its information.

xfcisco 14 Nov 9, 2022
Spotify Adblocker for windows

SpotifyAdBlocker-Windows This project is a try to port This one to windows the way it is done is with dll redirection, the call to cef_urlrequest_crea

Mouad Fakhri 39 Aug 17, 2022
Spotify AdBlocker for Windows, written in C. DLL Injection.

Spotify AdBlock Windows Spotify Ad Block, in C ! Build Open an issue with information related if any error occurs. mingw32-make all Tested gcc: # gcc

Ii64人 1 Nov 2, 2021
View your current playing song on ESP32 & OLED display using Spotify API

esp32-spotify-oled View your current playing song on ESP32 & OLED display using Spotify API Spotify Visit Spotify Dashboard https://developer.spotify.

Felix Biego 6 Oct 15, 2022
Internal dumper for Unity3d libil2cpp.so

Auto-Il2cppDumper This is for helping you get dump.cs from Il2cpp game hope this will help you >::< Important This project is modifying version of Rir

BryanGIG 32 Oct 28, 2022
Simple password/cookies/history/bookmarks stealer/dumper for chrome all version (includes 80+)

Simple password/cookies/history/bookmarks stealer/dumper for chrome all version (includes 80+), microsoft edge browser,includes all chromium based browsers, and all gecko based browser (firefox etc.).

null 75 Dec 16, 2022
Just a basic Offsets and Netvar dumper for Apex Legends

Not much to say just an Apex Legends Offsets + Netvar Dumper, it should survive some game updates and also it gave to you almost all you need to updat

dhanax26 59 Dec 31, 2022