README_en.md 4.0 KB

Television channel menu customization and live source interface update tool

Customize channel menus and automatically obtain and update the latest live source interfaces based on template files, verify, and generate usable channel interface files.

中文 | English

Features

  • Custom templates for creating desired channel categories and order
  • Supports multiple source acquisition methods: online search, multicast source, hotel source, subscription source
  • Interface speed testing and verification, with priority on response time and resolution, filtering out ineffective interfaces
  • Scheduled execution at 6:00 AM and 18:00 PM Beijing time daily
  • Supports various execution methods: workflows, command line, GUI software, Docker
  • For more features, see Config parameter

Config

Config parameter

Quick Start

Method 1: Command Line Update

pip3 install pipenv
pipenv install
pipenv run build

Method 2: GUI Software Update

  1. Download Update tool software, open the software, click update to complete the update

  2. Or run the following command in the project directory to open the GUI software:

pipenv run ui

Update tool software

Method 3: Docker Update

  • requests: Lightweight, low performance requirements, fast update speed, stability uncertain (Recommend using this version for the subscription source)
  • driver: Higher performance requirements, slower update speed, high stability, high success rate (Online search, multicast source use this version)

It's recommended to try each one and choose the version that suits you. If you can get results with requests for online searches and multicast sources, prioritize choosing the version that uses requests.

1. Pull the image:
For requests version:
docker pull guovern/tv-requests:latest

For driver version:
docker pull guovern/tv-driver:latest

2. Run the container:
docker run -d -p 8000:8000 guovern/tv-requests or driver

Volume Mount Parameter (Optional):
-v host path/TV:/tv-requests or tv-driver

This allows synchronization of files between the host machine and the container. Modifying templates, configurations, and retrieving updated result files can be directly operated in the host machine's folder.
Note: Before running the container with this command, be sure to first clone this project to the host machine.

3. Check the update results: Visit (domain:8000)

Note: Link to the result file after updates of methods one to three: http://local ip:8000 or http://localhost:8000

Method 4: Workflow Update

Fork this project and enable workflow updates

More detailed tutorial

If you don't want to bother, and my configuration just meets your needs, you can use the following links:

Changelog

Changelog

License

MIT License © 2024-PRESENT Govin

Appreciate

image