How packjc/youtubetomp3 works
YoutubeToMP3 is a Windows Forms desktop app for downloading YouTube videos and converting them to user-selected audio formats. Users add URLs, choose a format, and start downloads; the form delegates each URL to the downloader, which fetches video details and streams, prompts for a save path, downloads to a temporary file with progress updates, converts the file, and reports completion. The app also provides URL-list controls, themes, an About window, and a GitHub release update check. The main workflow is supported by excerpts; unsampled form behavior is not assumed.
Main entry points: downloadAsync.cs Download and convert · Form1.cs Main window · AboutBox1.cs About window · Program.cs App startup
Components 16
Desktop interface
- App startup
Program.cs - Main window
Form1.cs - URL list controls
Form1.cs - Format selection
Form1.cs - Download progress
Form1.cs - Theme controls
Form1.cs - About window
AboutBox1.cs - Release updater
Form1.cs
Download and conversion
- Download and convert
downloadAsync.cs - Save location dialog
downloadAsync.cs - Temporary video file
downloadAsync.cs - Converted audio file
downloadAsync.cs
External services
- YouTube streams
- MediaToolkit
- GitHub releases API
Other components
- User
Connections 18
- User → Main window: uses
README.md - App startup → Main window: launches
Program.cs - User → URL list controls: enters URLs
README.md - User → Format selection: chooses format
Form1.cs - Main window → Download and convert: starts downloads
Form1.cs - URL list controls → Download and convert: provides URLs
Form1.cs - Format selection → Download and convert: provides format
Form1.cs - Download and convert → YouTube streams: fetches video and streams
downloadAsync.cs - Download and convert → Save location dialog: prompts save path
downloadAsync.cs - Download and convert → Temporary video file: downloads video
downloadAsync.cs - Download and convert → Download progress: updates progress
downloadAsync.cs - Download and convert → MediaToolkit: converts video
downloadAsync.cs - MediaToolkit → Converted audio file: writes audio
downloadAsync.cs - User → Theme controls: toggles theme
Form1.cs - User → About window: opens About
- Main window → About window: opens window
Form1.cs - User → Release updater: checks updates
Form1.cs - Release updater → GitHub releases API: checks latest release
Form1.cs