BookPlayer icon indicating copy to clipboard operation
BookPlayer copied to clipboard

[Feature request] Bulk download / Support for Downloading Audiobooks from .m3u Files

Open swefd opened this issue 11 months ago • 1 comments

Feature request

As a user with a large catalog of audiobook URLs stored in .m3u files, I want to import these playlists into the app so that all contained URLs are automatically downloaded as audiobooks (Or one audiobook with many chapters) .

Many audiobook URLs stored within .m3u playlist files. Currently, the application does not allow importing these .m3u files for batch downloading. This feature would streamline the audiobook import process for users who have large catalogs listed in .m3u files.

How the .m3u file looks like in my case:

https://website.com/5038/01.mp3
https://website.com/5038/02.mp3
https://website.com/5038/03.mp3
https://website.com/5038/04.mp3
https://website.com/5038/05.mp3

download .m3u file example

So basically this is just a list of URLs (One audiobook with many chapters). It shouldn't even necessarily need to be .m3u file, it could be a simple .txt file.

In other words, I would like to have the possibility to download many files using a list of URLs and group downloaded files into one audiobook.

Proposed Solution

Local .m3u Import

Scenario: The user already has the .m3u file stored on their device. Action: The user selects “Import from .m3u file” in the app’s import menu, navigates to the file, and confirms. Result: The app parses the file, extracts the URLs, and initiates the batch download of the audiobooks.

Remote .m3u Import

Scenario: The user only has a link (URL) to the .m3u file online. Action: The user selects “Import from .m3u URL,” pastes the link, and confirms. Result: The app fetches the .m3u file from the given URL, parses it, and starts downloading the audiobooks.

Resources

  1. Wiki - m3u
  2. .m3u file example

Related issues

#1243

Design

Add options to trigger this feature to this import context context menu. Image

Acceptance Criteria

  1. Successful Parsing The app must correctly parse simple .m3u files that contain one URL per line.

  2. Batch Download Initiation Once the file is parsed, the app should initiate downloads for each valid URL. Any invalid or unreachable URL should be reported back to the user (e.g., “Unable to fetch content from URL: …”).

  3. User Feedback The user should see a clear progress indicator or status update showing how many files have successfully downloaded versus failed.

  4. Error Handling If the .m3u file is missing or corrupted, the app should display an informative error message. If the remote .m3u file cannot be accessed (network issues, invalid link, etc.), the user should see a descriptive error message.

swefd avatar Feb 25 '25 15:02 swefd

Currently, I'm using a shortcut to bulk download files

swefd avatar Feb 27 '25 14:02 swefd