bookbonobo / libby-download-extension

MIT License
115 stars 21 forks source link

Problem with last 2 tracks using Precise Chapters #49

Open pmorgan111 opened 1 year ago

pmorgan111 commented 1 year ago

I have downloaded several books using the "Precise Chapters" mode It looks great and am very thankful you were able to develop this functionality. I did find one small issue though. In each of the books I downloaded the second to last track ends too soon and I hear the last part of the second to last track at the beginning of the last track. Sometimes the discrepancy can be 15-20 seconds. I checked these books with the Libby app and did not find this issue using that app. Do you think this can be fixed? Many thanks.

bookbonobo commented 1 year ago

What software are you using to split? I can't reproduce the issue using players which interpret the embedded mp3 chapter tags.

pmorgan111 commented 1 year ago

I've been using mp3splt-gtk on my Windows 10 PC to split the large mp3 file. The Sirin book player on my Android phone can interpret the large mp3 file and cue file and it does split the chapters properly. However, my wife who is the heavy audiobook user prefers the Smart AudioBook player because it displays the chapter names in a more friendly manner. However, Smart AudioBook requires the user to split the chapters into physical files if s/he wants to navigate the chapters Thanks for all your help!

bookbonobo commented 1 year ago

Can you try converting it to an m4b instead and using that with Smart Audiobook? https://github.com/yermak/AudioBookConverter Is the tool I use to do that. If multiple other players are working fine this is likely just a bug or incompatibility in mp3splt. Most/all audiobook players will have support for the tags without the need of a cue file if you’ve done the conversion to m4b.

pmorgan111 commented 1 year ago

I'll give it a shot. Might take me a little while as learning new software is not something that comes easily to me. Thanks for looking at this and recommending a solution. I'll let you know if I am successful.

pmorgan111 commented 1 year ago

As per your instructions I was able to convert the mp3 file to m4b using AudioBookConverter, however, I found the m4b file did not play perfectly on the Smart AudioBook player on my phone. Nothing horrible but there were some minor, annoying issues. Guess I could have tried other players but I really didn't want to take the time plus my wife is used to Smart AudioBook and does not want to change. The good news is I was able to get mp3splt to work perfectly. As you suggested it does have a defect in the way it sets up the recording of the last track. It does not correctly copy the start time of the last track from your .cue file. However, the app does allow for a convenient method of editing the split parameters and as a result the output is perfect. Perhaps you know of another free app that splits mp3 files into chapters so I don't have to bother with an edit (not that that is really much of a bother)? Also, I would like to make a request. Would you be able to include the book's cover in the output of the download? I'm sure you recognize I am trying to deal with things I know very little about and I really appreciate your help and guidance.

zorin1 commented 7 months ago

I've been using mp3splt-gtk on my Windows 10 PC to split the large mp3 file. The Sirin book player on my Android phone can interpret the large mp3 file and cue file and it does split the chapters properly. However, my wife who is the heavy audiobook user prefers the Smart AudioBook player because it displays the chapter names in a more friendly manner. However, Smart AudioBook requires the user to split the chapters into physical files if s/he wants to navigate the chapters Thanks for all your help!

Edit the Que file on the INDEX lines, the format of the starting position should be MM:SS:FF. You need to :00 to then of each of the starting position then mp3splt-gtk will work properly. I ran into the same issue.