FTP Index to M3U8 Playlist Converter

Convert HTTP index directory to M3U8 playlist

作者
ItzMeBeluga
今日安裝
0
安裝總數
10
評價
1 0 0
版本
2.6.4
建立日期
2025-03-21
更新日期
2025-03-28
尺寸
5.4 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

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.