daspartho / SpotiByeAds

Skip spotify ads by automatically restarting application when ad plays
GNU General Public License v3.0
284 stars 41 forks source link

Automatic resume of songs after add skipped #62

Closed spectrum705 closed 3 years ago

spectrum705 commented 3 years ago

can we please have the next song resumed after the ad is skipped?

AnonymouX47 commented 3 years ago

It already does that.

spectrum705 commented 3 years ago

oh, for some reason pause and resume aren't working on mine

AnonymouX47 commented 3 years ago

oh, for some reason pause and resume aren't working on mine

Please can you explain better, what exactly are you referring to?... The script actually has no "pause/resume" option, though it internally uses it.

  1. Are you referring to when using the "skipping track" functionality?
  2. What OS are you on?
spectrum705 commented 3 years ago

yes, the "skip track" isn't workingon mine. And when after the ad the app restarts the song doesn't resume automatically. I am using ubuntu 20.04

AnonymouX47 commented 3 years ago

What package manager did you install Spotify with?

spectrum705 commented 3 years ago

I used snap

AnonymouX47 commented 3 years ago

Oh, I see... I'm on Pop OS (derivative of Ubuntu) and I installed mine via APT (i.e the native version) and everything works fine.

From what i know, programs installed via snap, flatpak and co are running within a container which limits them from having direct access to the OS and hardware, so it's very likely the virtual keyboard events sent by pynput are not seen by programs running in a container.

The best solution i'll suggest is re-installing Spotify via APT, you can simply follow the steps on their official website.

spectrum705 commented 3 years ago

It seems to work fine when installed via apt, thank you for your help. ^_^

spectrum705 commented 3 years ago

oh wait, it worked fine yesterday but it's again not working TT. well its working again. I dont know whats going on anymore. but thanks anyway

AnonymouX47 commented 3 years ago

You're welcome.