Fix mp3 tags to use in iTunes/iPhone audiobooks
Project description
Audiobooks from mp3 with broken tags
Fix mp3 files tags to convert them into iTunes/iPhone audiobooks..
- Fixes sort order.
- Supports messed encoding like cyrillic Win1251.
Details in my blog's article.
MacOS
brew update brew install libmagic
Python dependencies
Note the dot before ./activate.sh
:
. ./activate.sh
Usage
python src/itunes_audiobook_from_mp3.py
[folder]
[-h]
[--encoding ENCODING]
[--extension EXTENSION]
[--set-tag [SET_TAG [SET_TAG ...]]]
[--track-num TRACK_NUM] [--fix FIX]
[--dry DRY]
positional arguments:
- folder Folder to process
optional arguments:
- -h, --help show this help message and exit
- --encoding ENCODING mp3 tags encoding. "none" if you do not need mp3 tags encoding fix.
- --extension EXTENSION Files extension.
- --set-tag [SET_TAG [SET_TAG ...]] Change mp3 tag to specified string. Format "tag- name/tag-value".
- --track-num TRACK_NUM
Set mp3 tag
track_num
as specified. - - file number for files sorted by names. Use none if you do not want to set this tag. - --fix Process and fix files.
- --dry DRY Just dry run without files fix.
For example:
python src/itunes_audiobook_from_mp3 --fix --set-tag="album_artist/Юрий Заборовский (Ардис)"
- Convers all
.mp3
files in current folder and subfolders, fix encoding supposing - that original encoding was
Windows 1251
, and change tag album artist. - Also it will set
track_num
mp3 tag to file number as ordered by file name.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audiobook-tags-0.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for audiobook_tags-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfba70ad024899d5ebe789fedd6299f06d774613bca71962233661bd1591a52 |
|
MD5 | 97f1254afa203341a22ba61b222f0353 |
|
BLAKE2b-256 | af8a3a7ac6229e305ea94787f3b9f044bf6b61e18691f1281130f7913bc0ccce |