/bookcasts

Turn audiobooks into podcasts.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

📚🔈 BookCasts

Turn audiobooks into podcasts.

Do you have a folder of audio-files? Do you want to listen to it in your favorite podcast-app?

Requirements

  • Web-hosting space (enough to fit your audio-files)
  • PHP running on it

Setup:

  • Copy the file bookcast.xml.php into your folder of audio-files.

  • Add an optional coverart.jpg/jpeg/png file

  • Add an optional metadata or metadata.ini file with , for example, this contents: (all optional)

    language = en
    title = The Audio-book
    description = A description of the audio-book.
    copyright = 2020, The Publisher
    link = https://example.com/book/
  • Upload the folder to your web-host.

  • Add the URL (your-webhost.example.com/this-bookcast/bookcast.xml.php) to your podcast-app.

  • Start downloading & listening!

Configuration / Options

You can tweak the following options: (in the top of bookcast.xml.php):

  • META_DATA_FILE_NAME
    If you want to use a different metadata file.
  • COVER_ART_FILE_NAME
    If you want to include different image-files/formats.
  • AUDIO_FILE_TYPES
    If you want to use different audio-files.

The syntax used is from glob(), see an explanation in the PHP manual.

Supported / Testing

About

This thing is just an idea and very 'work-in-progress'. It was created to scratch my own itch; Maybe it also works for you.

Suggestions and ideas are always welcome.
Create an issue or take a look at all the 'things I already thought of but didn't get to yet'.

Or take a look at another piece of php software: dir2cast
It probably has the feature you're looking for.