h0me5k1n / iptv-strmmaker

Download m3u file with vod links and create strm files
22 stars 9 forks source link

iptv-strmmaker

Downloads an m3u file from a http location and creates strm files from the tv series and movie entries in dedicated "STRM Movie" and "STRM TV" folders. strm files for movies are created in a folder named after each movie and episodes for TV series' are saved in numbered season folders in a parent folder named after the show. The script will also compare files that exist and ones recently processed in order to purge strl files for entries that no longer exist.

Tested on ubuntu and a QNAP NAS server.

Usage

iptv-strmmaker.sh [m3u url] [output folder]

where:

The following files should be edited and saved without the ".sample" extensions to customise the m3u entries to match (the script will not work without one of each file - without ".sample" extension):

Notes

A log file is created - check the output for details of errors and processing activity. The m3u playlist can have live tv channels - these will be ignored as long as the urls do not have "/series/", "/movie/" or "/movies/" in them.