Skip to content

YouTubeSortByDuration is the ultimate YouTube userscript that supercharges your playlist management by sorting videos by duration.

License

Notifications You must be signed in to change notification settings

cloph-dsp/YouTubeSortByDuration

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”€ YouTubeSortByDuration πŸš€

Forked from KohGeek/SortYoutubePlaylistByDuration β€” improved UI, speed, and compatibility.

ViolentMonkey Compatible Tampermonkey Compatible Install from Greasy Fork GPL-2.0 License

Overview

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

  1. Install a userscript manager like ViolentMonkey or Tampermonkey.
  2. Install the script from Greasy Fork.
  3. Open a YouTube playlist, and the sort controls will appear automatically.

πŸš€ Usage

  1. Open a YouTube playlist.
  2. Select a sort order (by Longest or by Shortest).
  3. Click Sort Videos to begin.

❀️ Contributing

Contributions, bug reports, and feature requests are welcome! Please fork the repo, create a feature branch, and open a pull request.


⚠️ 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.

About

YouTubeSortByDuration is the ultimate YouTube userscript that supercharges your playlist management by sorting videos by duration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%