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
- Install Tampermonkey for your browser.
- Create a new script in Tampermonkey.
- Copy and paste the script into the editor.
- Save and enable the script.
How to Use
- Visit a supported FTP index page.
- Look for the "Download Playlist" button in the top-right corner.
- Click the button to generate and download an M3U8 playlist.
- Alternatively, use the shortcut:
Shift + Alt + D
to trigger the download. - 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.