geigi / cozy

🎧 Listen to audio books 📚 on Linux
https://cozy.sh
GNU General Public License v3.0
1.09k stars 84 forks source link

Several seconds of audio missing at the end of every track if started in the middle #775

Open daboross opened 1 year ago

daboross commented 1 year ago

Bug/Feature description

I'm playing an audiobook bought and downloaded from https://libro.fm/audiobooks/9781250880765-the-dragon-reborn.

It seems like there's something odd in the audio encoding for some tracks. If I open each track in VLC, it is clear it ends at the end of the chapter. The audio length also appears identical in VLC and in Cozy.

I'm also listening to this book on my phone, though. So when I use Cozy I'm always starting a track in the middle. When I do this, at the end of the track, the track ends around 4-8 seconds before the end of the chapter, cutting off the last sentence. It's consistent, too: for instance, the audio that appears in Track 028 at 33:58 in VLC appears at 34:06 in Cozy (this track ends in 34:12).

Steps to reproduce

I have not tested many alternative configurations, so I'm not sure exactly.

System Information