2022-12-31, 21:08
Been a while!, sorry !!!
Anyway, earlier this year, or sometime last year ( I forget when), someone asked me about improved handling of audiobooks. Really, what they were after was Kodi being able to handle audiobooks based on mp3/flac/mp4/ape/some-audio-format rather than just m4b/mka (mka could actually be anything really - I have one floyd album that's mka......).
Anyway, I did some thinking and came up with some code that not only improves the handling of audiobooks as it is currently (doesn't just depend on file extension but improves the adding of m4b/mka files to the library) but also extends it to cover any other audio format that Kodi understands. Resuming an mp3/flac/some-audio-codec audiobook works the same as resuming an m4b book now (resumes from the beginning of the chapter you were listening to when you stopped Kodi). Filtering can be done via a smart playlist or a custom node (I have considered adding an auto-created 'audiobook' node in the same way that the boxset node is created, just haven't implemented it yet!).
No JSON support as of now but could be added easily I guess. (HATE the JSON API!!!!).
So, code is written, works fine as far as I can tell but hasn't yet been PR'd to Kodi. Note, this won't be backported so it will only ever be a new feature for V21.
Extending albums/singles to include (possibly podcasts) and audiobooks just seems sensible to me. The tags already exist (certainly for audiobooks) and if you use MB and Picard to tag with, then likely they are already set correctly.
Still, I'd like to get other opinions on whether extending the music library to be more of an audio library is something that would be worthwhile.
All your thoughts, criticisms, or other ideas are most welcome, as always. Oh, and Happy New Year to you all.
Cheers,
BE.
Anyway, earlier this year, or sometime last year ( I forget when), someone asked me about improved handling of audiobooks. Really, what they were after was Kodi being able to handle audiobooks based on mp3/flac/mp4/ape/some-audio-format rather than just m4b/mka (mka could actually be anything really - I have one floyd album that's mka......).
Anyway, I did some thinking and came up with some code that not only improves the handling of audiobooks as it is currently (doesn't just depend on file extension but improves the adding of m4b/mka files to the library) but also extends it to cover any other audio format that Kodi understands. Resuming an mp3/flac/some-audio-codec audiobook works the same as resuming an m4b book now (resumes from the beginning of the chapter you were listening to when you stopped Kodi). Filtering can be done via a smart playlist or a custom node (I have considered adding an auto-created 'audiobook' node in the same way that the boxset node is created, just haven't implemented it yet!).
No JSON support as of now but could be added easily I guess. (HATE the JSON API!!!!).
So, code is written, works fine as far as I can tell but hasn't yet been PR'd to Kodi. Note, this won't be backported so it will only ever be a new feature for V21.
Extending albums/singles to include (possibly podcasts) and audiobooks just seems sensible to me. The tags already exist (certainly for audiobooks) and if you use MB and Picard to tag with, then likely they are already set correctly.
Still, I'd like to get other opinions on whether extending the music library to be more of an audio library is something that would be worthwhile.
All your thoughts, criticisms, or other ideas are most welcome, as always. Oh, and Happy New Year to you all.
Cheers,
BE.