mirror of
https://github.com/Rafiuth/Soggfy.git
synced 2026-04-25 07:05:58 +03:00
[GH-ISSUE #94] 2.7.1 Injector absolutely does not work #87
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Soggfy#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FailSafeNow on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/94
I had a perfect, error-free installation. Here's what happened when I tried to run the injector:

Here's what happened when I ran Spotify and THEN tried to run the injector:


I had no errors whatsoever during installation. By the way, running the install bat the normal way does not work. I had to change directory to the Soggfy folder in the command prompt or else the installation failed, because it tried to look for relevant files in C:\WINDOWS\system32, so that definitely hasn't been fixed. And now, despite doing everything exactly right, I can't make the injector work.
@Rafiuth commented on GitHub (Dec 20, 2023):
From https://github.com/Rafiuth/Soggfy/issues/92#issuecomment-1858607502:
I think what's happening here with the hook error is that the hijacked DLL (from the install script) has already been loaded, and running the injector will load another copy of it on the same Spotify process, but it won't find DecodeAudioData because the target function code has already been overwritten by the first DLL.
Also, the soggfy interface will fail to load in some rare launches, but will work fine after restarting Spotify (fixed but not yet released).
I'll take a look at the install script, thanks for reporting.
@FailSafeNow commented on GitHub (Dec 21, 2023):
Where's the download button, that decides whether I'm just playing music or downloading it? I remember where it used to be in 2.5.0, and it's sure not there now.
@YehudaEi commented on GitHub (Dec 25, 2023):
I also don't see a download button (even though the installation says that everything is working properly).

And if I try to open Spotify and then the Injector, I get the following error:
It should be noted that the error also appears when I run the Injector as an administrator...
@Rafiuth commented on GitHub (Dec 26, 2023):
@YehudaEi Are you using the x64 Spotify version by any chance? Soggfy is only compatible with the 32-bit version and
and the install script will fail to account for it atm.
A possible workaround might be to either reinstall Spotify or to delete
%appdata%/Spotify/Spotify.exe, and then run the install script again.@hhoneeyy commented on GitHub (Dec 30, 2023):
im having the same issue as OP, i tried your solutions but noting
@Masterload1975 commented on GitHub (Jan 1, 2024):
For me it is working well. Installed with spicetify copied Spotify from roaming folder to soggfy folder and started Soggfy\Spotify\Spotify.exe without using Injector.exe.
Downloads and spicetify are working thanks...
@FailSafeNow commented on GitHub (Jan 18, 2024):
For me, it's random. SOMETIMES I get the download button, but most of the time I don't. It's annoying. There were times when I would have no arrow, but I would be downloading music, and I couldn't shut the download feature off. So I suspect there's a javascript trigger that's failing to fire properly. It's waiting for an event that never comes. Would be good to have more than one way of triggering the download button. Redundancy can solve these problems.
For instance, function first checks for button, and if button isn't there, it generates button. Listener checks for whether button is removed, and if it is, it puts button back. Function runs immediately, runs at window onload, runs at dom content loaded... I think that'll be enough triggers to cover it.
@Rafiuth commented on GitHub (Jan 19, 2024):
@FailSafeNow could you try removing the two lines highlighted in red here from the file at
%appdata%/Spotify/SoggfyUIC.js?If that doesn't fixes it, the problem might be something else, which I suspect given your description of downloads working but not the UI hooks.
(I've been meaning to get back on this but didn't realize it's been a month already. Oh well.)
@FailSafeNow commented on GitHub (Jan 23, 2024):
I think that did it. It seems to be working reliably now. Thank you.
@Rafiuth commented on GitHub (Feb 16, 2024):
This should be fixed in 2.7.2.
@YehudaEi commented on GitHub (Feb 16, 2024):
@Rafiuth I really apologize for not being available to comment here. I am now up to date on this thread.
Thank you very much for the correction!