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

Not working? #10

Closed OliverJAsh closed 11 years ago

OliverJAsh commented 11 years ago

This has worked only once since I installed it. Most advertisements are still playing.

Any suggestions to help me debug?

artemgordinskiy commented 11 years ago

Hi Oliver, You could try restarting both Spotifree (has to be killed using the Activity Monitor) and Spotify. If that does not help, quit the app and try running it as a script in the AppleScript Editor. The Output tab (updated three times a second) should reveal the cause.

OliverJAsh commented 11 years ago

I did now that and now I'm running the AppleScript directly. It muted the first advertisement, but another one has just come on and it didn't mute. Maybe the advertisement is longer than 40 seconds or doesn't meet the conditions you've specified?

Perhaps if the script logged the tracks it detected, I could see if the advertisements that were not muting are different in any way? Or do you have any other suggestions?

artemgordinskiy commented 11 years ago

Wow, that's very interesting. Does the script throw any errors when letting the ads through?

Also, would you please look up the name, the length and the popularity of the ad that was not muted? It should be in the Spotify's history (Play Queue → History). By the way, to test Spotifree faster, you could play the ads from there, too.

And finally, would be great if you would dump all the logs over here.

Thank you for your help!

OliverJAsh commented 11 years ago

Thanks, I'll have a go at that now. Let me see what results I can produce.

Out of curiosity, where in the AppleScript does it say that log the popularity/duration? Can't seem to find out, and I'm interested in learning bits of AppleScript, that's all!

On 12 Jan 2013, at 15:32, Artem Gordinsky notifications@github.com wrote:

Wow, that's very interesting. Does the script throw any errors or stops working when letting the ads through?

Also, would you please look up the name, the length and the popularity of the ad that was not muted? It should be in the Spotify's history (Play Queue → History). By the way, to test Spotifree faster, you could play the ads from there, too.

— Reply to this email directly or view it on GitHub.

artemgordinskiy commented 11 years ago

Well, it doesn't :) When AppleScript is running in the Editor, however, it logs a lot of stuff by default. Including the information that other applications return to it. Here's an example: http://cl.ly/image/1i2a3P0N1O2q