alberti42 / Volume-Control

Successor of iTunes Volume Control
GNU General Public License v3.0
208 stars 9 forks source link

Volume Control (for Apple Music and Spotify)

:warning: If you are running with Macos Ventura, read the note below.

:warning: If you are running on an M1/M2 Apple computer, read the instructions below how to launch the app.

Description

Screenshot of the application

Why do you need this app?

How to get it installed?

Running with newer Apple M1/M2 computers (Apple Silicon ARM64)

If you own an Apple Silicon computer (Apple M1 or M2), you cannot run the application without signinig it. This is a security change introduce first with Big Sur. For more details, check the link, where it is explained that all native ARM64 code must be signed or the operating system prevents its execution. In order to sign the application, follow these steps:

Running with Macos Ventura

Many people reported problems in launching the application after a recent upgrade of Macos Ventura. This is a security feature of Macos Ventura. To overcome it, you need to compile the application by yourself using Xcode, which is provided by Apple on the App store for free. Aside from this security block, the application is fully compatible with Macos Ventrura.

The alternative option, which is for now excluded, is to have this app being certified by Apple. This is expensive and time consuming. Also, since the App is using undocumented functions of Macos, I suspect that Apple would not even grant an authorization to sell the app on the App store.

Permission to control Music's and Spotify's volume

The System Integrity Protection of macOS requires you to grant Volume Control access to Music and Spotify. The first time the application attempts to control their volume, you will be asked with a dialog window to grant access, as shown in the screenshot below. If you experience problems, remove the entry Volume Control from the Accessibility list and repeat the procedure. Security and Privacy Accessibility

Troubleshooting

Requirements

Compatible with macOS Big Sur and subsequent versions.

Credits

This app has been inspired by Volume for iTunes by Yogi Patel. The icon has been designed by Alexandro Rei. The apple remote control has been adapted from iremotepipe by Steven Wittens. The utilization of MacOS native HUD is based on code written by Benno Krauss and on reverse engineering of /System/Library/CoreServices/OSDUIHelper.app/Contents/MacOS/OSDUIHelper. Support for Doppler Music Player has been provided by Ed Wellbrook.

Contacts

If you have any questions, you can contact me at a.alberti82@gmail.com. If you want to know what I do in the real life, visit http://quantum-technologies.iap.uni-bonn.de/alberti/.

Versions

Note: you can download old versions by clicking on the links appearing down below.