Files
AppleMusicDecrypt/android-deploy.md
itouakirai 4514f1dc4e
Some checks failed
/ Build Windows (push) Has been cancelled
update: Install poetry using pipx
2025-08-29 14:24:51 +08:00

1.3 KiB

Deploy AppleMusicDecrypt on Android

This deployment requires that you have an instance of wrapper-manager available.

Step 1: Install Termux and Debian

Download and install Termux. Give it storage permissions(termux-setup-storage)

Then execute the following commands to install Debian:

pkg update && pkg install proot-distro
pd i debian

Step 2: Deploy AppleMusicDecrypt

Enter the Debian environment(pd login debian)

apt update && apt install pipx && pipx install poetry && pipx ensurepath && source ~/.bashrc
git clone https://github.com/WorldObservationLog/AppleMusicDecrypt
cd AppleMusicDecrypt
bash ./tools/install-deps.sh
poetry install
cp config.example.toml config.toml
nano config.toml

Step3: Edit config

For Android users, some configurations need to be modified.

[instance]
url = "wm.wol.moe" # Or use another wrapper-manager instance
secure = true

[download]
parallelNum = 2 # The recommended value is half of maxRunningTasks
maxRunningTasks = 4 # This value depends on the memory size of the device and is not recommended to be higher than 8
dirPathFormat = "/sdcard/Music/{album_artist}/{album}"
playlistDirPathFormat = "/sdcard/Music/playlists/{playlistName}"

Step 4: Run AppleMusicDecrypt

poetry run python main.py