split broken icecast recordings into separate mp3s
Project description
defrost
- split broken icecast recordings into separate mp3s
- MIT-Licensed, 2019-06-01, ed @ irc.rizon.net, github, pypi
features
- silence detection -- finds the best part to split at
- mp3 parser -- clean splits at frame boundaries
- icy-meta parser -- extract artist/title from inband metadata
- dynamic recalibration to recover from server glitches
- charset detection -- UTF8, latin-1, shift-jis and friends, all good
- ID3 tags -- uses mutagen to write aritst/title into the files
- timestamping -- the date/time that the song was played live
- support for other input formats:
- loopstream recording
usage
from an internet radio station:
wget -U MPlayer --header "Icy-MetaData: 1" -S "https://stream.r-a-d.io/main.mp3"
# wait until the show is over, then abort the download
python3 -m defrostir main.mp3
from a loopstream recording:
python3 -m defrostir -i ls Loopstream-2021-10-02_22.53.44.mp3
notes
versions x.y.1
have chardet as a dependency, while x.y.2
have charset-normalizer (preferred) and are otherwise identical; setup.py rls
will produce both to avoid a pypi package selection bug
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
defrostir-0.15.1.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for defrostir-0.15.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61f306ab18656ba1b70ffac04114a53ff5b300c8594edfd8b4b90604278df7d1 |
|
MD5 | 388651ce77ebcf165860c201972787e2 |
|
BLAKE2b-256 | e515eac245bf4b7bbdecddcf364006ac13348bb54eacff695dce216f936ebc94 |