-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audiobook is not playing #1023
Comments
Hello Ken and thanks you for your video ! When i import your audiobook in lpf format, your publication isn't read like an audiobook but like a book. The publication is under "Recently Added" categorie. In that case Thorium open the book reader and not the audiobook player. I have analysed your lpf file and in the "publication.json" file (zip extracted) : In Thorium in the lpf audiobook parser module when "conformsTo" is not equal to "https://www.w3.org/TR/audiobooks/" the publication is converted in "https://schema.org/CreativeWork" which produces a book and not an audiobook. This is the manifest.json (RWPM) generated from publication.json (w3c publication manifest) : {
"@context": "https://readium.org/webpub-manifest/context.jsonld",
"metadata": {
"accessMode": "audio",
"@type": "https://schema.org/CreativeWork",
"title": "Alice in Wonderland",
"identifier": "683c80ac-5a9a-4c20-b234-b4c2955dee05",
"author": "Lewis Carroll",
"narrator": "Kara Shallenberg",
"publisher": "Circular Publishing",
"language": "en-CA",
"modified": "2019-06-06T22:00:00.000Z",
"published": "2020-05-06T22:00:00.000Z",
"type": "Audiobook",
"@id": "ABC123",
"abridged": "false"
},
"readingOrder": [
{
"type": "audio/mpeg",
"title": "01 Down the Rabbit Hole",
"href": "alices_adventures_01_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "02 The Pool of Tears",
"href": "alices_adventures_02_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "03 A Caucus-Race and a Long Tale",
"href": "alices_adventures_03_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "04 The Rabbit Sends in a Little Bill",
"href": "alices_adventures_04_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "05 Advice from a Caterpillar",
"href": "alices_adventures_05_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "06 Pig and Pepper",
"href": "alices_adventures_06_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "07 A Mad Tea-Party",
"href": "alices_adventures_07_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "08 The Queen’s Croquet-Ground",
"href": "alices_adventures_08_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "09 The Mock Turtle’s Story",
"href": "alices_adventures_09_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "10 The Lobster Quadrille",
"href": "alices_adventures_10_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "11 Who Stole the Tarts?",
"href": "alices_adventures_11_carroll_64kb.mp3"
},
{
"type": "audio/mpeg",
"title": "12 Alice’s Evidence",
"href": "alices_adventures_12_carroll_64kb.mp3"
}
],
"resources": [
{
"type": "text/html",
"title": "Table of Contents",
"rel": "contents",
"href": "CircularFLO_Audiobook.html"
},
{
"type": "image/jpeg",
"rel": "cover",
"href": "cover.jpg"
}
]
} nevertheless maybe we should manage this case. What do you think @danielweck ? |
good catch, pierre. |
Note that this also highlights the side issue of dcterms:conformsTo being used for accessibility metadata as well as for declaring the audiobook type. |
here is the current mapping document which is used as a specification fo Thorium’s reference implementation: |
i filed a separate issue for the mapping document, to warn about the possibility of multiple conformsTo metadata values. |
Follow-up issues: #1026 |
macOS 10.14.6
Thorium 1.3.0
Audio LPF here https://www.dropbox.com/s/bcq5lf60wjoajs2/CircularFLO_Audiobook.lpf?dl=0
Explainer video here https://www.dropbox.com/s/koh093wegd2uf9o/Audio_Thorium.mp4?dl=0
The text was updated successfully, but these errors were encountered: