FTP Index to M3U8 Playlist Converter

Convert HTTP index directory to M3U8 playlist

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.