Move native crate under downloader

This commit is contained in:
glomatico
2026-07-08 12:55:14 -03:00
parent 2ee7451d42
commit 905c0803fb
10 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
/*
__pycache__
!gamdl
!gamdl/muxer
!gamdl/muxer/**
gamdl/muxer/target/
!gamdl/downloader
!gamdl/downloader/**
gamdl/downloader/muxer/target/
gamdl/downloader/**/__pycache__/
gamdl/muxer/
!.gitignore
!.python-version
!pyproject.toml
+1 -1
View File
@@ -34,7 +34,7 @@ A command-line app for downloading Apple Music songs, music videos and post vide
Run the [Wrapper v2](https://github.com/glomatico/wrapper-v2) server for wrapper-backed account, playback, and decryption requests. Enable it with `--use-wrapper` or `use_wrapper = true`. Configure wrapper HTTP account/playback calls with `--wrapper-url` or `wrapper_url`, and configure WV2D batch TCP decrypt with `--wrapper-decrypt-host` / `--wrapper-decrypt-port`.
gamdl builds a private Rust extension from `gamdl/muxer` as `gamdl._amdecrypt`. That native media engine handles wrapper TCP decrypt/reassembly plus MP4/M4A writing and muxing; Python remains responsible for the CLI, downloads, metadata tagging, and high-level orchestration.
gamdl builds a private Rust extension from `gamdl/downloader/muxer` as `gamdl._amdecrypt`. That native media engine handles wrapper TCP decrypt/reassembly plus MP4/M4A writing and muxing; Python remains responsible for the CLI, downloads, metadata tagging, and high-level orchestration.
The wrapper is recommended when using the `alac` song codec. ALAC can be attempted without wrapper, but it probably won't work due to API limitations.
+1 -1
View File
@@ -39,7 +39,7 @@ dev = [
]
[tool.maturin]
manifest-path = "gamdl/muxer/Cargo.toml"
manifest-path = "gamdl/downloader/muxer/Cargo.toml"
module-name = "gamdl._amdecrypt"
python-source = "."
features = ["pyo3/extension-module"]