Rockbox mail archive
Subject: Re: Feature request: Virtual Playlists
From: Johan Vromans (jvromans_at_squirrel.nl)
"Andreas Stemmer" <groovingandi_at_gmx.de> writes:
> Another possiblity would be to put the mp3 together before decoding
> (mp3DirectCut does it, I don't know *NIX equivalents),
I've written a bunch of Perl programs to play nice tricks with MP3
files. Cutting and concatenating is one of them. For example:
% id3v2 -D *mp3
Stripping id3 tag in "Wish_You_Were_Here.mp3"...id3v1 and v2 stripped.
% perl mp3cut.pl --verbose Wish_You_Were_Here.mp3.cue
1 @ 0:00:00 01_Shine_on_You_Crazy_Diamond_(Part_I-V).mp3
2 @ 13:32:67 02_Welcome_to_The_Machine.mp3
3 @ 21:06:17 03_Have_a_Cigar.mp3
4 @ 26:30:47 04_Wish_You_Were_Here.mp3
5 @ 31:46:57 05_Shine_on_You_Crazy_Diamond_(Part_vi-Ix).mp3
% cat 0*.mp3 | cmp - Wish_You_Were_Here.mp3
As you can see, the concatenation of the parts is identical to the
original. No need to keep the original and the split parts anymore.
 Should run on any platform that can run Perl.
 I'll be releasing some of these tools in due time. I wrote them for
my personal needs and they need some cleanup + documentation
before general release.
Page was last modified "Jan 10 2012" The Rockbox Crew