cmcconomy / iptv-filter

21 stars 7 forks source link

iptv-filter

I was sick of trying to parse through 13000+ "Channels" on an IPTV service so I decided to write this and share it. I've never used Django before (and I'm a python beginner) so I'm sure there is improvement available in the codebase.

Concept

This application pulls an m3u file and an epg file and stores their components in a database; users tag the groups they wish to subscribe to within that subset and the app serves up an m3u file on the fly composed of the segments that are included.

Launching iptv-filter

There are two options for running this: Docker, and Plain Python. In both cases you will setting up the prerequisite libraries and initial backing database via the below commands.

Docker

Initialization

Running

Run the container: docker-compose up

Python

Linux

Initialization

Running

Upgrading

Windows

Initialization

Running

Upgrading

Scheduled retrieval

API URLs

(Assuming you want to access this from the same box, you'll be using 'localhost' as the URL) The following are the common URLs to use:

These are utility URLs and probably won't be needed.