-
Hi, I'm attempting to use Beets to automatically tag audiobooks that I've ripped from audible. I'm in the process of writing a plugin similar to the discogs one which fetches album data (i.e, book information) and return them as candidates for matching. I've uploaded what I have here: https://github.com/Neurrone/beets-audible I'm finding that the data is being fetched correctly, just that my plugin's results never gets returned as possible matches.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I notice that when I implement the get_candidates function, I am seeing it being called and it does get the book data from Audible. However, I never see that album info being passed into the get_album_distance function, which means that the data that I'm trying to get from Audible never gets considered as a possible album choice for tagging. I'm wondering if I'm just not doing something correctly here? Essentially, it would be ideal if I can replace musicbrains as the source of the data to use a custom data source instead, in this case Audible. |
Beta Was this translation helpful? Give feedback.
-
I found the problem: it was because I didn't provide the list of tracks for the album (i.e, chapters of a book). When I have a folder with a book divided into mp3s (1 file per chapter), this works wonderfully. However, this doesn't work well when the audiobook is in the form of a single mp3, or an .m4b that has individual chapter markers as Beets is assuming one file per track. I'll mark this as the answer and will continue the conversation on enhancing support for audiobooks in a separate discussion. |
Beta Was this translation helpful? Give feedback.
I found the problem: it was because I didn't provide the list of tracks for the album (i.e, chapters of a book). When I have a folder with a book divided into mp3s (1 file per chapter), this works wonderfully.
However, this doesn't work well when the audiobook is in the form of a single mp3, or an .m4b that has individual chapter markers as Beets is assuming one file per track.
I'll mark this as the answer and will continue the conversation on enhancing support for audiobooks in a separate discussion.