AmazonMMC is a CLI tool designed to facilitate the creation of Amazon Media Entertainment Core (MEC) and Media Manifest Core (MMC) XML files. Also provides functionality to generate MD5 checksums and sample directories for Amazon deliveries.
- Python >= 3.10
git clone https://github.com/yourusername/amazonmmc.git
cd amazonmmc
pip install .
The AmazonMMC tool accepts several arguments to specify the operations to be performed. Below are the available options:
-r, --rootdir
(Required): Specify the root path of the Amazon delivery.-mec, --mec
(Optional): Create MEC XML files.-mmc, --mmc
(Optional): Create MMC XML files.-md5, --md5
(Optional): Create MD5 checksums.-s, --sample
(Optional): Create completed and starting sample directories.-version, --version
: Display the version of the tool.
-
Create MEC XML files:
amazonmmc -r /path/to/rootdir --mec
-
Create MMC XML files:
amazonmmc -r /path/to/rootdir --mmc
-
Generate MD5 checksums:
amazonmmc -r /path/to/rootdir --md5
-
Create sample directories:
amazonmmc -r /path/to/rootdir --sample
-
Display the tool's version:
amazonmmc --version
You can combine multiple options in a single command. For example, to create both MEC and MMC XML files and generate MD5 checksums, run:
amazonmmc -r /path/to/rootdir --mec --mmc --md5
I welcome contributions to improve the tool. Please fork the repository and submit a pull request with your changes. Ensure your code follows the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or issues, please open an issue on the GitHub repository or contact [email protected].