Kavish Devar a428279863 add screenshot
2024-09-27 03:12:44 +05:30
2024-09-27 01:01:11 +05:30
2024-09-27 01:01:11 +05:30
2024-09-27 02:44:40 +05:30
2024-09-27 03:12:44 +05:30

ALN - AirPods like Normal (Linux Only)

Main Demo (Screenshot 2024-09-27 at 3 06 56 AM)

Get Started!

1. Install the required packages

sudo apt install python3 python3-pip
pip3 install pybluez

2. Clone the repository

git clone https://github.com/kavishdevar/aln.git
cd aln

3. Preprare

Pair your AirPods with your machine before running this script! ⚠️ Note: DO NOT FORGET TO EDIT THE MAC_ADDRESS VARIABLE IN main.py/standalone.py WITH YOUR AIRPODS MAC ADDRESS!

4. Run!

You can either choose the more polished version of the script, which currently only supports fetching the battery percentage, and in-ear status (but not actually controlling the media with that information), or the more experimental standalone version of the script, which supports the following features:

  • Controlling the media with the in-ear status
  • Remove the device as an audio sink when the AirPods are not in your ears.
  • Try to connect with the AirPods if media is playing and the AirPods are not connected.

Polished version

python3 main.py

Experimental version

python3 standalone.py
Languages
Kotlin 79.1%
C++ 11.7%
Python 6.7%
QML 1.7%
Shell 0.6%
Other 0.2%