How hmidani-abdelilah/media_downloader works
Media Downloader is a cross-platform GUI for retrieving and processing online audio/video. The main workflow starts in the desktop app, passes user-selected options from the GUI to the download layer, and saves the resulting media; optional stages include subtitles, clipping, and FFmpeg compression. The README documents playlist ranges, cookies, Aria2, notifications, and platform-specific yt-dlp updates. The graph uses those documented capabilities alongside sampled imports and calls; unsampled feature-level wiring is not inferred beyond the README.
Main entry points: downloader.py Media download · gui.py Downloader GUI · ytdlp_manager.py yt-dlp manager · app.py App startup
Components 22
Application UI
- App startup
app.py - Downloader GUI
gui.py - Language resources
languages
Media workflow
- Media download
downloader.py - Playlist selection
downloader.py - Subtitle handling
downloader.py - Clip processing
downloader.py - Video compression
convert.py - Downloaded media
Runtime support
- Completion alerts
notification.py - Aria2 availability
aria2_check.py - FFmpeg availability
ffmpeg_check.py - FFmpeg discovery
path_ffmpeg.py - Resource paths
utils.py - yt-dlp manager
ytdlp_manager.py - Update state
External tools
- yt-dlp
- Aria2c
- FFmpeg
- PyPI
- Media platforms
Other components
- User
Connections 24
- User → App startup: launches
README.md - App startup → Downloader GUI: creates
app.py - User → Downloader GUI: sets options
README.md - Downloader GUI → Media download: starts download
gui.py - Downloader GUI → Aria2 availability: checks availability
gui.py - Downloader GUI → FFmpeg availability: checks availability
gui.py - Downloader GUI → Completion alerts: notifies completion
gui.py - Downloader GUI → Language resources: selects language
README.md - Media download → Playlist selection: selects entries
downloader.py - Media download → Subtitle handling: handles subtitles
downloader.py - Media download → Clip processing: cuts media
downloader.py - Media download → Video compression: compresses video
README.md - Media download → yt-dlp: extracts and downloads
downloader.py - Media download → Aria2c: uses downloader
README.md - Media download → Media platforms: retrieves media
README.md - Media download → Downloaded media: writes media
README.md - Video compression → FFmpeg: encodes media
convert.py - FFmpeg availability → FFmpeg discovery: finds executable
ffmpeg_check.py - FFmpeg discovery → Resource paths: resolves bundled path
path_ffmpeg.py - Aria2 availability → Resource paths: resolves bundled path
aria2_check.py - yt-dlp manager → Update state: reads and writes
ytdlp_manager.py - yt-dlp manager → PyPI: checks and fetches releases
ytdlp_manager.py - Media download → yt-dlp manager: loads package
downloader.py - Downloader GUI → yt-dlp manager: updates package
gui.py