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: uniqueid{title_bookid_format.mp3 (example 5664772_15687_4.mp3).

Single MP3 file 48 kbps

Same as previous, except in 48kbps quality.

Filename: uniqueid_bookid_format.mp3 (example 5664773_15687_5.mp3)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. book title}.mp3 (e.g 01. Tsarens kurér)

Zip file with multiple chapters, MP3 48 kps

Same as above except in 48kbps qualityavsnitt_001.mp3)

ID3 tags

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

...

Title: Title of book (see details)

Artist: Author (firstname lastname, firstnamemultiple authors separated by &)

Album: same as title

Genre: Audiobook

...

Cover image: Embedded cover image in jpg format 

Title structure

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

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 (.m3u)

200 OK

Content-Type: application/vnd.apple.mpegurl