Apple Music Decrypt
Find a file
2025-11-28 18:42:58 -03:00
.github/workflows Update release workflow triggers 2025-11-28 18:23:41 -03:00
.gitignore Remove .slsa-goreleaser from .gitignore exceptions 2025-11-28 18:19:50 -03:00
go.mod Rename module from 'main' to 'amdecrypt' 2025-01-29 16:14:11 -03:00
go.sum Create go.sum 2025-01-29 16:12:38 -03:00
main.go Add mp4decryptPath argument to decryptSong and CLI 2025-11-21 20:40:56 -03:00
README.md Add reference to apple-music-alac-downloader in README 2025-11-28 18:42:58 -03:00

amdecrypt

A CLI tool for decrypting Apple Music songs in conjunction with a wrapper server.

Based on apple-music-alac-downloader.

📋 Prerequisites

Must be added to your system's PATH:

📦 Installation

  1. Download the latest binary for your platform from the releases page
  2. Extract the archive
  3. Add the binary to your system's PATH

🚀 Usage

This tool is designed to be called by other programs rather than used directly. For example, gamdl will automatically invoke amdecrypt when needed.

Manual Usage

If needed, you can also run it directly from the command line:

amdecrypt <agentIp> <mp4decryptPath> <id> <key> <inputPath> <outputPath>

Arguments

Argument Description
agentIp IP address of the wrapper server
mp4decryptPath Path to the mp4decrypt binary
id Track ID
key FairPlay Streaming Key
inputPath Path to the encrypted file
outputPath Path for the decrypted output

⚠️ Disclaimer

This tool was mostly created with AI assistance.