Giter Site home page Giter Site logo

gitv-ott-m3u-epg's Introduction

GITV OTT M3U EPG

为银河互联网电视(GITV)生成可供 Kodi 使用的 M3U 信号源和 EPG 节目表,支持 HTTP 访问和自动更新。

使用方法

  1. 通过对 OTT 设备(例如:移动机顶盒)抓包获取 channel_info_urlepg_list_url 两个 URL 并填写在 config.json 中。

  2. config.json 中设置更新时间间隔 update_interval,单位为秒。

  3. config.json 中设置 listen_addresslisten_port,用于监听 HTTP 请求。

  4. 运行 python3 main.py,将会在目录下生成 gitv.m3ugitv.xml。可以通过访问 http://<listen_address>:<listen_port>/gitv.m3uhttp://<listen_address>:<listen_port>/gitv.xml 来获取 M3U 信号源和 EPG 节目表。

  5. 通过 Kodi 的 PVR 客户端 PVR IPTV Simple Client 导入 M3U 信号源和 EPG 节目表。建议设置自动更新。

注意事项

HTTP 访问利用 SimpleHTTPRequestHandler 实现,可以获取到目录下全部文件。因此 listen_address 应尽量设置为 127.0.0.1localhost 以防止安全问题产生。

gitv-ott-m3u-epg's People

Contributors

mythologyli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.