This is a web application that allows you to calculate the total duration of a YouTube playlist. You can also specify a custom playback speed and a range of videos within the playlist to calculate the duration for.
- Playlist Duration Calculation: Quickly calculates the total duration of a YouTube playlist.
- Custom Playback Speed: Allows you to calculate the duration at a custom playback speed (e.g., 1.5x, 2x).
- Range Selection: Enables you to specify a start and end video within the playlist to calculate the duration of a specific section.
- Flexible Input: Accepts a YouTube playlist link, playlist ID or a video link from the playlist.
- Detailed Output: Displays the playlist title and total duration in hours, minutes, and seconds.
- Batch Processing: Calculate durations for multiple playlists simultaneously.
- User-Friendly Interface: Simple and intuitive design for easy navigation.
- Dark Mode: Includes a dark mode option for a comfortable user experience.
- No Sign-Up Required: Start calculating instantly without the need for an account.
- Multi-Platform Compatibility: Optimized for desktop and mobile devices.
- Accurate: Uses the YouTube API to fetch accurate video durations.
- Enter Playlist Link/ID/Video Link: In the provided text area, paste a YouTube playlist link, the playlist ID, or a link to a video within the playlist.
- Specify Range (Optional): If you want to calculate the duration for a specific range of videos, enter the starting and ending video numbers in the "Start Range" and "End Range" fields. If you don't, the whole playlist will be calculated.
- Enter Custom Speed (Optional): If you want to calculate the duration at a specific speed, enter the desired playback speed (e.g., 1.5, 2.25) in the "playback speed" field.
- Enter Your API Key (Optional): You may provide your own YouTube API key if you wish to increase rate limit or to support the developer.
- Click Calculate: Press the "Calculate" button to get the total duration.
- View Results: The calculated duration will be displayed below the input form, along with other informations.
- Frontend: HTML, CSS (Halfmoon framework), JavaScript
- Backend: Python (FastApi)
- YouTube API: For fetching video durations
app.py: Main Flask application.static/: Contains assets likefavicon.ico,form_validation.js,logo.png.templates/: Holdsindex.htmlfor the main page.README.md: This file.manifest.json: PWA manifest.
You can access the live demo of the project at: [https://ytplaylist.in/] (https://ytplaylist.in/)
Feel free to contribute to the project by opening issues or submitting pull requests.
This project is open source and available under the MIT License.
Consider giving feedback at Ko-fi