Readium LCP for Audiobooks 1.0
Revision: 1
Copyright 2020, Readium Foundation. All Rights Reserved.
Contributors: Laurent Le Meur (EDRLab), Hadrien Gardeur (De Marque)
Requirements
- LCP for Audiobooks is based on the Audiobook Profile of the Readium Web Publication Manifest and follows its requirements for packaging
- All LCP for Audiobooks packages must use:
- the
.lcpa
extension - the
application/audiobook+lcp
media type
- the
- Audio resources referenced in the
readingOrder
must not be compressed in the package - A cover should be referenced in
resources
ofmanifest.json
and must not be encrypted - An embedded LCP License Document must be located at
license.lcpl
- All encrypted resources must indicate in the
properties
of their Link Object anencrypted
element where:scheme
must be set tohttp://readium.org/2014/01/lcp
profile
andalgorithm
must be set properly based on the LCP Encryption Profile of the License
Example
{
"@context": "http://readium.org/webpub-manifest/context.jsonld",
"metadata": {
"@type": "http://schema.org/Audiobook",
"identifier": "urn:isbn:9780000000001",
"title": "Moby-Dick",
"author": "Herman Melville",
"narrator": ["Joe Speaker", "Lucy Narrator"],
"language": "en",
"publisher": "Whale Publishing Ltd.",
"published": "2016-02-01",
"modified": "2016-02-18T10:32:18Z",
"duration": 4320
},
"links": [
{
"rel": "self",
"href": "manifest.json",
"type": "application/audiobook+json"
}
],
"readingOrder": [
{
"href": "part1.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1980,
"title": "Part 1",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"profile": "http://readium.org/lcp/basic-profile",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
},
{
"href": "part2.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1200,
"title": "Part 2",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"profile": "http://readium.org/lcp/basic-profile",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
},
{
"href": "part3.mp3",
"type": "audio/mpeg",
"bitrate": 128,
"duration": 1140,
"title": "Part 3",
"properties": {
"encrypted": {
"scheme": "http://readium.org/2014/01/lcp",
"profile": "http://readium.org/lcp/basic-profile",
"algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
}
}
}
],
"resources": [
{
"rel": "cover",
"href": "cover.jpeg",
"type": "image/jpeg",
"height": 300,
"width": 300
}
]
}