FTP Index to M3U8 Playlist Converter

Convert HTTP index directory to M3U8 playlist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
ItzMeBeluga
日安装量
1
总安装量
52
评分
1 0 0
版本
2.6.6
创建于
2025-03-21
更新于
2025-09-26
大小
7.3 KB
许可证
MIT
适用于

FTP Index to M3U8 Playlist Converter - ReadMe

FTP Index to M3U8 Playlist Converter

Version: 2.6.4

Author: Beluga

License: MIT

About

This Tampermonkey user script converts HTTP directory listings (FTP index pages) into an M3U8 playlist, making it easier to stream video files sequentially in a media player such as Potplayer, VLC, etc.

How It Works

  • Scans the current HTTP directory listing for video files.
  • Identifies common video formats such as .mp4, .mkv, .avi, etc.
  • Generates an M3U8 playlist containing links to the detected video files.
  • Provides a download button to save the generated playlist.

Supported Websites

The script runs on specific FTP index websites, including:

  • circleftp.net
  • 172.16.50.4
  • 172.16.50.7
  • 172.16.50.9
  • 172.16.50.12
  • 172.16.50.14
  • ftpbd.net
  • 10.16.100.244
  • freedrivemovie.com
  • movies.discoveryftp.net
  • 172.19.178.62
  • cdn.dflix.live:5050
  • fs.ebox.live
  • cdn.nagordola.com.bd

Installation

  1. Install Tampermonkey for your browser.
  2. Create a new script in Tampermonkey.
  3. Copy and paste the script into the editor.
  4. Save and enable the script.

How to Use

  1. Visit a supported FTP index page.
  2. Look for the "Download Playlist" button in the top-right corner.
  3. Click the button to generate and download an M3U8 playlist.
  4. Alternatively, use the shortcut: Shift + Alt + D to trigger the download.
  5. Open the M3U8 file in a media player like VLC or Kodi to start streaming.

Features

  • Automatic detection of video files in HTTP directories.
  • Customizable filename prompt before downloading the playlist.
  • Stylish download button with smooth hover effects.
  • Keyboard shortcut for quick playlist generation.

Example M3U8 File Output

#EXTM3U
#EXTINF:-1,video1.mp4
http://example.com/video1.mp4
#EXTINF:-1,video2.mkv
http://example.com/video2.mkv
    

Notes

  • The script works only on directory listing pages, not on individual video pages.
  • Ensure the site is supported and matches the defined @match rules.
  • Playlist filenames are auto-generated based on the first detected video.

License

This script is released under the MIT License.

Contact

For issues or suggestions, reach out to the author.