Skip to content

burntcookie90/librofm-downloader

Repository files navigation

Libro.fm Audiobook Downloader

Small tool for checking your libro.fm library and downloading new books.

The tool is set to recheck the library every hour and download new books. Books will be skipped if the Author Name/Book Name folder already exists.

Extra Features

enable RENAME_CHAPTERS to rename files from Track - #.mp3 to ### <Book Title> - <Chapter Title> as provided by libro.fm

enable WRITE_TITLE_TAG to update each track's ID3 title field to ### <Chapter Title> as provided by libro.fm.

bind a host port to 8080 to access the service's /update webhook. This allows you to manually force a refresh (ie: when you just purchased a book).

services:
  librofm-downloader:
    image: ghcr.io/burntcookie90/librofm-downloader:latest
    volumes:
      - /mnt/runtime/appdata/librofm-downloader:/data
      - /mnt/user/media/audiobooks:/media
    ports:
      # optional if you want to use the /update webhook
      - 8080:8080 
    environment:
      - LIBRO_FM_USERNAME=<>
      - LIBRO_FM_PASSWORD=<>
      # extra optional: setting these enables them, dont add them if you dont want them.
      - DRY_RUN=true 
      - VERBOSE=true
      - RENAME_CHAPTERS=true
      - WRITE_TITLE_TAG=true #this one requires RENAME_CHAPTERS to be true as well
      - SYNC_INTERVAL="h/d/w" #choose one