Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

27 lines (24 loc) · 1.25 KB

m3u Stream Checker & Filter

A script to check if the streams in a m3u file are working and filter working streams into a new m3u

Requirements

Node.js
VLC
m3u file to check

Setup

Make sure VLC folder location is set to path/environmental variables
Check VLC is able to run in cmd/terminal by doing vlc --version
If it displays the version number than you are good to go
git clone https://github.com/purplescorpion1/m3u-stream-checker-and-filter.git
cd m3u-stream-checker-and-filter
Open m3ucheck.js and/or m3ucheck-filtered.js with notepad++ or any code text editor
Change file.m3u at the top of the script to the name of your m3u file
Note if the script is not in the same location as the m3u file put the full path to the file

How to run

Just check stream status in m3u
node m3ucheck.js
Result of Working or Failed streams will output in the console and will also be saved to stream_results.txt

Check and filter working streams to new m3u
node m3ucheck-filtered.js
Result of Working or Failed streams will output in the console and will also be saved to stream_results.txt
New m3u will be outputted to [name_of_orig_m3u]-filtered.m3u