Ciao a tutti,
today an extension to listen Audiobooks from Librivox database with more 45000 free public domain books.
First perform a search in the database to find a book list using one of these:
id: the unique book id, if we know it.
title: the book title or a part of it
author: the author name or part of it
genre: the genre book
After the search there is this result
responseCode: 200 is the correct response
response: the complete json response
id: a list with all the books id found
title: a list with all the books titles found
description: a list with all the books descriptions found
language: a list with all the books languages found
rss:a list with all the books rss found (chapters,times)
urlForCover: a list with all the books url cover found
time: a list with all the books time (total duration) found
author: a list with all the books authors found
message: if there is an error
To get the book chapters, and the cover image I use:
rss: I use one rss previously found with GotBookList
image: I use one urlForCover previously found with GotBookList
After the GetBook there is this result
responseCode: 200 is the correct response
response: the complete json response
chapter: a list with all the book chapters
duration: a list with every chapter duration
chapterUrl: a list with the chapter to listen
cover: the book cover image
message: if there is an error
Extension:
AudioBooks.aix (22.4 KB)
Sample:
AudioBooksSample.aia (124.1 KB)
How the sample works:
I hope You find useful
Ciao
Marco