amir1376 / amir1376/ab-download-manager

Cannot download HLS or MPD streaming files

Ouverte
#685 1 commentaire 6 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Kotlin
Étoiles
17.9k
Forks
913
Merge moyen
7 h 1 min
PR mergées (30 j)
7

Description

## Description

The download manager is currently unable to handle streaming URLs that use HLS (`.m3u8`) or MPEG-DASH (`.mpd`). When these types of URLs are added, the download either does not start, fails silently, or completes instantly without downloading the actual media segments.

## Steps to Reproduce

1. Open the app and attempt to add an HLS URL (e.g., `https://example.com/video/stream.m3u8`)
2. Or add an MPD URL (e.g., `https://example.com/video/manifest.mpd`)
3. Start the download
4. Observe the following behavior:
- The download does not start
- Or only the manifest file is downloaded
- Or the download finishes immediately without fetching media segments

## Expected Behavior

- The app should recognize HLS or DASH streaming URLs
- It should parse the `.m3u8` or `.mpd` manifest file
- It should download all associated media segments (e.g., `.ts` or `.m4s` files)
- It should optionally merge segments into a playable file

## Actual Behavior

- The `.m3u8` or `.mpd` file may be downloaded, but no media segments are fetched
- In some cases, the download appears to finish instantly
- No errors are shown to the user

## Environment

- **App Version**: [please specify]
- **Platform**: [Windows / Linux / macOS / Android]
- **Java/Kotlin Version**: [please specify]

## Additional Notes

- Other tools like `ffmpeg`, `yt-dlp`, or `IDM` can handle these URLs successfully
- Adding support for HLS and DASH streams would greatly improve the app’s ability to download modern video content

Would love to know if this feature is planned, or if you'd be open to contributions to help implement it.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.