sidiandi / ttaudio

Converts audio file collections into the TipToi pen format
GNU General Public License v3.0
79 stars 13 forks source link

Multiple GME files will be generated for one input list #35

Open codekandis opened 6 years ago

codekandis commented 6 years ago

I have 76 audio book MP3s in the list, all are well ID3 v2.3 tagged - same artist, same album. In result I got 2 GME files, 1st with 49 files, 2nd with 27 files.

First I thought this is a limitation by the GME format. But to clarify I created a test setup of a very small MP3 file.

#!/bin/bash

for n in `seq 1 100`; do
    cp in.mp3 `printf %03d $n`.mp3
done

I expected 3 GMEs including

but I got 2 GMEs including

If you know about that behaviour and can tell me it's still a limitation of the GME format, than ok. Otherwise I'm willing do digg into your code and to fix it.

For any deeper discussions not necessarily useful to write down here you can email me. I'm a german like you, so it's quiet easier to communicate together.

sidiandi commented 6 years ago

When I developed ttaudio I found out that large GME files don't work well with the TipToi pen. I have limited the size to 800 MB. Have a look at the Split method. I don't yet understand why your test with the small files failed. I'll write a unit test for that. What was the size of in.mp3?

sidiandi commented 6 years ago

Could you please attach or send in.mp3 ?