Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Available formats

Single MP3 file

...

64 kbps

This is a single MP3 file in 128kbps 64kbps quality that is merged based on the set of files sent to Bokbasen by the publisher. Most files are in mono, but stereo also exists (Bokbasen will use the same setting here as provided by the publisher). 

Filename: titleofbookwithnospace.mp3 (example 5664772_15687_4.mp3).

Single MP3 file 48 kbps

Same as previous, except in 48kbps quality.

Filename: titleofbookwithnospace.mp3 (example 5664773_15687_5.mp3).{title_of_book}.mp3.

HLS stream

HTTP live streaming format provided as an .m3u file, based on the same single MP3 file 48kpbs 64kpbs as for download.

Zip file with multiple chapters, MP3

...

64 kps

A zip file with MP3 files, number of files depends on the number of files sent by the publisher (ranging from 1 to over 300).

Filename: {isbn}.zip,

Filename mp3 files: avsnitt_{track number}.mp3 (e.g avsnitt_001.mp3)

...

Same as above except in 48kbps quality

ID3 tags

The following ID3 tags are written into each MP3 files using the metadata available the at the point of file publishing.

...

Title is built using book metadata and creates a concatenated title based on a set of rules. The rules are as this:

  1. If a book has a compiled title (Sammensatt tittel) each of those will be concatenated with ; and used as title

  2. If it has an extended title the title will be: Main Title : extended title

  3. If it only has a main title: Main Title

...


The title on individual files in the zip file is prefixed with track number, eg: 01. title.

Download links returned by DDS

Type

Link

Key response header info

Complete MP3 files

Redirect to Amazon CloudFront URL

302 Found

Location: https://urltofile.com

Direct link to MP3

200 OK

Content-Type: mpeg/audio

Zip files

Direct link to the Zip file

200 OK

Content-Type: application/zip

HLS

Direct link to the HLS stream

http://domain/playlist.m3u8

(.m3u)

200 OK

Content-Type: application/vnd.apple.mpegurl

 

...