YouTubeSortByDuration is the ultimate YouTube userscript that supercharges your playlist management by sorting videos by duration. Choose fastest-to-slowest or vice versa and watch your playlist get optimized instantly! ⚡
✨ Key Features
- 🎬 Sort playlists by video length: shortest-to-longest or longest-to-shortest
- 🛠️ Blazing-fast reordering engine with adaptive delays
- 🎨 Sleek, modern UI with intuitive controls and live status updates
- 🌐 Broad compatibility: Works on all YouTube playlist types and browsers
- 🚀 Lightweight & open-source: Zero dependencies, GPL-2.0 licensed
📦 Installation
- Install a userscript manager like ViolentMonkey or Tampermonkey.
- Click the "Install" button on this page.
- Open a YouTube playlist, and the sort controls will appear automatically.
🚀 Usage
- Open a YouTube playlist.
- Select a sort order (
by Longest or by Shortest).
- Click Sort Videos to begin.
❤️ Contributing
Contributions, bug reports, and feature requests are welcome! Please visit the GitHub repository to contribute.
⚠️ Known Issues
- Tampermonkey 5.1.0 & Chrome Canary 124: If you encounter issues, set Inject Mode to Instant and enable synchronous mutation events.
- Large Playlists (500+ videos): Sorting may take longer due to adaptive delays for reliability.