ForceGT / Tata-Sky-IPTV

Generate direct m3u playlist for all the channels subscribed in the Tata Sky portal
651 stars 129 forks source link
api iptv-channels iptv-m3u kodi live-tv-streams livestream python reverse-engineering script scripts tata-sky tivimate

Tata Sky/ Play IPTV Script generator

A script to generate the m3u playlist containing direct streamable file (.mpd or MPEG-DASH or DASH) based on the channels that the user has subscribed on the Tata Sky portal.

NOTE: Low maintainance, PRs will be accepted

GitHub forks GitHub stars made-with-python MIT license

Migration notice

This repository is now maintained via Github Actions only, and I don't personally maintain it. It initially began as a proof of concept code for being able to generate an m3u from Tata Play servers. It was not very user friendly, as it was just done for curiosity. Shravan has rendered my research into a very user friendly method of generation, which you can take a look here. Saif has also done a brilliant job here. However, if you've come here and are reading this, kindly star the repository and go to any one of these

Requirements

How to use

I know you would love to get your hands on how this works, but hold on and read before you proceed further

The methods are divided into Easy and Difficult based on how comfortable you are with the commandline. The Easy guide is recommended if you have no working knowledge of Python or scripting in general

The Easy Way (Using an App)

The Difficult Way (Using a Script)

Setting up your environment

Running the scripts

Some Good M3U Players for different platforms

Find some good M3u players here

Auto Generating Playlists in 24 hours

The issue with the playlist, is that it expires in 24 hours as the access tokens have a validity of 24 hours. So the straightforward way would be do the entire process (without login) again after the playlist expires but man is lazy and so there are two brilliant solutions so that you lazy bums don't have to re-generate after a day

How it works

If you're interested in how this mechanism works, Refer to docs

Discussion and Support

homepage

License and Disclosures

This code is just a CASE STUDY on how the authentication mechanism and live streaming using IPTV works I am in no way responsible if you misuse the code and cause revenue loss to the concerned parties and owners of the portal

This code is protected under the MIT license