Problem with the Librivox API
Posted: March 24th, 2021, 4:54 am
A PARABLE
There once was a wealthy citizen who had, over many years, amassed a library of books. Eventually he wanted to make a list of them with their titles and authors, etc.
One morning, he called in his laboratory wretch, Igor, and said, "Igor. Bring me all the books on my office shelf, a few at a time so that I can work with them."
Igor asked, "How many shall I bring at a time, Master?"
"Four," was the reply.
Drooling and limping down the hallway, Igor left and returned with the requisite number of books.
"OK, I'll call when I want more of the books."
And, soon enough, Igor was called upon to bring another group of four books.
And so it went until Igor brought only three books.
"That's all there were left on the shelf, Master."
"Wait until I've finished these last three, then re-shelve all of them, Igor."
"Yes, Master."
Time passes...
"Igor, come here! We've handled 23 books this morning. You've done well. Tell Cook to give you an extra ladle of swill in your food dish. "
"Thank you, Master! Thank you!"
More time passes...
"Dammit, Igor!! I've made a mistake. I need to re-do all the books. This time bring them to me SIX at a time."
And so, Igor once more paraded up and down the hall with armloads of books.
Eventually, Igor reported that there were no more books on the shelf.
"What?!?!" cried The Master. "That can't be! Twenty-three isn't evenly divisible by six. Let's start all over and bring me FIVE books at a time."
The process was repeated and when Igor reported that his last load had only 1 book in it. The master swatted Igor and yelled: "What the holy hell is going on Igor. Are you playing tricks on me?"
Igor was made to parade up and down the streets of the town with a sign hung about his neck:
I AM A FOOL.
My name is
LibriVox API.
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
This little story illustrates how non-dependable the Librivox API is. When I try to get *ALL* the 15,000+ books in the LV catalog, retrieving modest gulps at at a time, I get different totals depending on how many I retrieve at a time. I've tried retrieving 5, 50, 100, 200, 500, 1000 and 2000 books at a time. I get a different total number of books depending on the "gulp size". This is not logical. There is something amiss with the API.
Is there anyone out there who knows something I need to know...about the API, I mean ?
There once was a wealthy citizen who had, over many years, amassed a library of books. Eventually he wanted to make a list of them with their titles and authors, etc.
One morning, he called in his laboratory wretch, Igor, and said, "Igor. Bring me all the books on my office shelf, a few at a time so that I can work with them."
Igor asked, "How many shall I bring at a time, Master?"
"Four," was the reply.
Drooling and limping down the hallway, Igor left and returned with the requisite number of books.
"OK, I'll call when I want more of the books."
And, soon enough, Igor was called upon to bring another group of four books.
And so it went until Igor brought only three books.
"That's all there were left on the shelf, Master."
"Wait until I've finished these last three, then re-shelve all of them, Igor."
"Yes, Master."
Time passes...
"Igor, come here! We've handled 23 books this morning. You've done well. Tell Cook to give you an extra ladle of swill in your food dish. "
"Thank you, Master! Thank you!"
More time passes...
"Dammit, Igor!! I've made a mistake. I need to re-do all the books. This time bring them to me SIX at a time."
And so, Igor once more paraded up and down the hall with armloads of books.
Eventually, Igor reported that there were no more books on the shelf.
"What?!?!" cried The Master. "That can't be! Twenty-three isn't evenly divisible by six. Let's start all over and bring me FIVE books at a time."
The process was repeated and when Igor reported that his last load had only 1 book in it. The master swatted Igor and yelled: "What the holy hell is going on Igor. Are you playing tricks on me?"
Igor was made to parade up and down the streets of the town with a sign hung about his neck:
I AM A FOOL.
My name is
LibriVox API.
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.
This little story illustrates how non-dependable the Librivox API is. When I try to get *ALL* the 15,000+ books in the LV catalog, retrieving modest gulps at at a time, I get different totals depending on how many I retrieve at a time. I've tried retrieving 5, 50, 100, 200, 500, 1000 and 2000 books at a time. I get a different total number of books depending on the "gulp size". This is not logical. There is something amiss with the API.
Is there anyone out there who knows something I need to know...about the API, I mean ?