YT Playlist Sorter

Sorts YouTube playlists by video duration

当前为 2025-07-04 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
kastru
评分
0 0 0
版本
4.2
创建于
2025-03-17
更新于
2025-07-04
大小
30.8 KB
许可证
GPL-2.0-only
适用于

🔀 YouTubeSortByDuration 🚀

Forked from KohGeek/SortYoutubePlaylistByDuration — improved UI, speed, and compatibility.

ViolentMonkey Compatible Tampermonkey Compatible 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:
  2. Add the sortPlaylist.user.js script to your userscript manager.
  3. Enable the script and open any YouTube playlist to see the controls appear.

🚀 Usage

  1. Open a YouTube playlist.
  2. Click the ⚙️ Sort button above the playlist controls.
  3. Choose your sort order:
    • 📈 Longest first
    • 📉 Shortest first
  4. Click Sort Videos and enjoy! 🪄

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

© 2025 YouTubeSortByDuration | Licensed under GPL-2.0