artemgordinskiy / Spotifree

An OS X app that automatically mutes ads on Spotify [DISCONTINUED]
http://spotifree.gordinskiy.com
MIT License
1.05k stars 70 forks source link

Spotifree Pauses and Unpauses Songs constantly #111

Open christophhillisch opened 4 years ago

christophhillisch commented 4 years ago

I just updated to the new Spotify 1.1.31.703.g256add22 client and when Spotifree is running my songs just pause/unpause all the time. When I click the spotifree symbol in the menu bar the songs play normally and go back to pausing/unpausing when I click anywhere else again.

Is it possible that Spotify patched this in to counteract spotifree?

syswe commented 4 years ago

https://github.com/ArtemGordinsky/Spotifree/issues/105#issuecomment-520388298 he did comment that, maybe you can check this repo alternatively; https://github.com/simonmeusel/MuteSpotifyAds

OLHMWI commented 4 years ago

I have exactly the same issue, it all started when spotify kept indicating there was no internet connection when there was, saying 'error 4'. Now, I get the constantly skipping/pausing every single second.

richard-j-c commented 4 years ago

I don't know if this will help diagnose the issue, but if you open the spotifree menu on the menu bar (ie click it), as long as the menu bar is visible the issue disappears.

see @OLHMWI below. This is no solution as ads will play

OLHMWI commented 4 years ago

Thanks, it kind of works, but it means you cant do any other work or use any other computer function on an Apple Mac, but its useful if you just want to play music and leave it in that "mode", so its at least a partial work around!

On Sun, 26 Apr 2020 at 23:49, richard-j-c notifications@github.com wrote:

I don't know if this will help diagnose the issue, but if you open the spotifree menu on the menu bar (ie click it), as long as the menu bar is visible the issue disappears.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArtemGordinsky/Spotifree/issues/111#issuecomment-619637049, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKPP56VT3WJXJEGIYYGKUTROS3AHANCNFSM4MOKFB6A .

chukShirley commented 4 years ago

I've also noticed that if you select "Check for updates..." the dialog box appears that says you're up to date. As long as that dialog is visible, the pause/unpause behavior doesn't occur. Just drag that window down out of the way, and you can continue working on other things.

OLHMWI commented 4 years ago

Fantastic advice!! It works! Thanks so much, I really couldn't face having yet another gaslighting govt advert about corona virus on spotify!!! you're a star!!!!!

On Mon, 27 Apr 2020 at 14:54, Chuk Shirley notifications@github.com wrote:

I've also noticed that if you select "Check for updates..." the dialog box appears that says you're up to date. As long as that dialog is visible, the pause/unpause behavior doesn't occur. Just drag that window down out of the way, and you can continue working on other things.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArtemGordinsky/Spotifree/issues/111#issuecomment-620001762, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKPP5ZBKL5KAZSOVYEKCYDROWFDFANCNFSM4MOKFB6A .

OLHMWI commented 4 years ago

Oh No... after about 30 mins of playing, I realised that even with the update dialog box left visible.... adverts are now still coming through, but at least it's not skipping every second. I simply shut down spotify and relaunch... hopefully a better solution will be forthcoming in the future.!

On Mon, 27 Apr 2020 at 14:54, Chuk Shirley notifications@github.com wrote:

I've also noticed that if you select "Check for updates..." the dialog box appears that says you're up to date. As long as that dialog is visible, the pause/unpause behavior doesn't occur. Just drag that window down out of the way, and you can continue working on other things.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArtemGordinsky/Spotifree/issues/111#issuecomment-620001762, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKPP5ZBKL5KAZSOVYEKCYDROWFDFANCNFSM4MOKFB6A .

jamespstyles commented 4 years ago

deleting and re-downloading the previous version of Spotify https://mac.filehorse.com/download-spotify/14594/ works

Ostico commented 4 years ago

Something wrong happens with new Spotify version.

Maybe this if condition fails(?): https://github.com/ArtemGordinsky/Spotifree/blob/master/Spotifree/SpotifyManager.swift#L68

I suppose spotify do not change to zero the track number anymore.

packarar commented 4 years ago

@Ostico I think you are on the right track.

I debugged this locally and it appears that the track number is always 0 except for right after a PlaybackStateChanged event fires, and then it goes back to 0.

The loop that checks the track number notices that it is 0, calls the mute method, which triggers a PlaybackStateChanged event, which sets the track number temporarily to the correct value, which triggers an unpause, and on and on it goes forever.

I tried running with the track number check removed and it seemed to go back to the expected behavior. I assume that this check was added for a good reason, though, so I doubt that's the right solution.

alexcican commented 4 years ago

For those who are still having a problem, I managed to get it working by installing an older version of Spotify.

Steps to solve it:

  1. Download an older version of Spotify (1.1.29) from here and overwrite the Spotify app in Applications. (keep the file in case anything goes wrong)
  2. Go to Spotify > About make sure you see version 1.1.29…
  3. Spotify downloads the latest version in the background and upon restart, it installs the latest version, so you will be back to where you started. To fix that:
    • Go to Applications > Spotify > right-click > Get Info
    • In Sharing & Permissions (bottom section) > make all privileges: Read Only
    • Check option Locked
  4. Enjoy your legacy ad-free experince :) Edit: fixed order of steps
sbussard commented 4 years ago

I've never seen that download website before, so I used Mac command line tools to verify its signature. Checks out. https://www.macissues.com/2015/11/06/how-to-verify-app-signatures-in-os-x/

You have to make it read only before you lock it.

Also, thank you!

conradhall77 commented 4 years ago

Hi all, I'm new here. So any solution about have spotifree back working that is not downloading a old version of spotify?

OLHMWI commented 4 years ago

Thanks for this fantastic advice, It worked really well and I don't have to listen to their stupid adverts all the time now!

FYI Spotify keeps asking to update and wants my password, which I just ignore/cancel and it continues to work perfectly. Thanks again.

On Wed, 20 May 2020 at 08:10, Alex Cican notifications@github.com wrote:

For those who are still having a problem, I managed to get it working by installing an older version of Spotify.

Steps to solve it:

  1. Download an older version of Spotify (1.1.29) from here https://spotify.en.uptodown.com/mac/versions and overwrite the Spotify app in Applications. (keep the file in case anything goes wrong)
  2. Go to Spotify > About make sure you see version 1.1.29…
  3. Spotify downloads the latest version in the background and upon restart, it installs the latest version, so you will be back to where you started. To fix that:
    • Go to Applications > Spotify > right-click > Get Info
    • Check option Locked
    • In Sharing & Permissions (bottom section) > make all privileges: Read Only
  4. Enjoy your legacy ad-free experince :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ArtemGordinsky/Spotifree/issues/111#issuecomment-631282473, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKPP53325G462LWETZ7RUTRSN67VANCNFSM4MOKFB6A .

packarar commented 4 years ago

Am I crazy or is Spotifree working as expected again?

conradhall77 commented 4 years ago

I've tried and it's not working (last Catalina and updated Spotify versions) I am using MuteSpotifyAds v 1.11.2 and it is working so far.

Il martedì 2 giugno 2020, 19:55:33 CEST, packarar <notifications@github.com> ha scritto:  

Am I crazy or is Spotifree working as expected again?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

thenexus00 commented 4 years ago

If you note the main page this is now discontinued. I think the original developer has not the time/ or able to fix the issue. It happens on other similar apps and I believe Spotify made a conscious change to try and stop these from working.