samsaara / spomutify Goto Github PK
View Code? Open in Web Editor NEWTiny script to mute ads on Spotify free (Desktop) version - only
License: MIT License
Tiny script to mute ads on Spotify free (Desktop) version - only
License: MIT License
Great script! But sometimes it seems to overflow the volume when fading it up again so it leaves the music muted. I did an ugly fix just by adding "set sound volume to 100" after the repeat statement that fades the volume up.
-- Increase Volume gracefully
repeat with i from currentVolume to (originalVolume+1) by 1
set sound volume to i
delay 0.02
end repeat
**set sound volume to 100**
Hello, and thanks for excellent script.
I have a quick question however - I've crafted following plist
to start script in background on boot:
$ cat ~/Library/LaunchAgents/spotifymute.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.alex.spotmute</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/spomutify.sh</string>
</array>
<key>StartInterval</key>
<integer>1800</integer>
</dict>
</plist>
$
But sadly it does nothing - I see process running, it just not doing the actual muting - do you know if osascript
need some special permissions?
I do realize this might be out of scope of this project - so please feel free to close the issue.
Thank again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.