Merge pull request from Guovin/master

Update
This commit is contained in:
Govin 2024-07-10 11:46:38 +08:00 committed by GitHub
commit 3a89420328
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 102 additions and 24 deletions

@ -1,7 +1,25 @@
# TVBox 电视频道菜单自定义与直播源接口自动校验与更新工具
# 电视频道菜单自定义与直播源接口更新工具
自定义频道菜单,根据模板文件的直播源接口,自动获取并更新最新的直播源接口,校验并生成可用的频道接口文件
<p align="center">
<a href="https://github.com/Guovin/TV/releases/latest">
<img src="https://img.shields.io/github/v/release/guovin/tv" />
</a>
<a href="https://www.python.org/">
<img src="https://img.shields.io/badge/python-%20%3E%3D%203.8-47c219" />
</a>
<a href="https://github.com/Guovin/TV/releases/latest">
<img src="https://img.shields.io/github/downloads/guovin/tv/total" />
</a>
<a href="https://hub.docker.com/repository/docker/guovern/tv-requests">
<img src="https://img.shields.io/docker/pulls/guovern/tv-requests?label=docker:requests" />
</a>
<a href="https://hub.docker.com/repository/docker/guovern/tv-driver">
<img src="https://img.shields.io/docker/pulls/guovern/tv-driver?label=docker:driver" />
</a>
</p>
[English](./README_en.md) | 中文
## 特点
@ -37,10 +55,12 @@ pipenv run build
pipenv run ui
```
![更新工具软件](./docs/images/ui.png '更新工具软件')
### 方式三Docker 更新
- requests轻量级性能要求低更新速度快成功率较低
- driver占用大,性能要求较高,更新速度慢,稳定性、成功率高
- requests轻量级性能要求低更新速度快稳定性不确定(只使用订阅源推荐此版本)
- driver性能要求较高更新速度慢,稳定性、成功率高(使用在线搜索、组播源使用此版本)
```bash
1. 拉取镜像:
@ -51,9 +71,17 @@ docker pull guovern/tv-requests:latest
driver版本
docker pull guovern/tv-driver:latest
2. 运行容器docker run -d -p 8000:8000 tv
2. 运行容器docker run --name tv-requests或driver -d -p 8000:8000 guovern/tv-requests或driver
3. 访问(域名:8000查看更新结果
3. 查看更新结果:访问(域名:8000
4. 自定义(可选):
- 修改模板:
docker cp 系统路径/user-demo.txt tv-requests或driver:/app/user-demo.txt
- 修改配置:
docker cp 系统路径/user-config.py tv-requests或driver:/app/user-config.py
```
#### 注方式一至三更新完成后的结果文件链接http://本地 ip:8000

@ -1,7 +1,25 @@
# TVBox Custom TV Channel Menu and Live Source Interface Automatic Verification and Update Tool
# 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.
<p align="center">
<a href="https://github.com/Guovin/TV/releases/latest">
<img src="https://img.shields.io/github/v/release/guovin/tv" />
</a>
<a href="https://www.python.org/">
<img src="https://img.shields.io/badge/python-%20%3E%3D%203.8-47c219" />
</a>
<a href="https://github.com/Guovin/TV/releases/latest">
<img src="https://img.shields.io/github/downloads/guovin/tv/total" />
</a>
<a href="https://hub.docker.com/repository/docker/guovern/tv-requests">
<img src="https://img.shields.io/docker/pulls/guovern/tv-requests?label=docker:requests" />
</a>
<a href="https://hub.docker.com/repository/docker/guovern/tv-driver">
<img src="https://img.shields.io/docker/pulls/guovern/tv-driver?label=docker:driver" />
</a>
</p>
[中文](./README.md) | English
## Features
@ -37,23 +55,33 @@ pipenv run build
pipenv run ui
```
![Update tool software](./docs/images/ui.png 'Update tool software')
### Method 3: Docker Update
- requests: lightweight, low performance requirements, fast update speed, lower success rate
- driver: large footprint, higher performance requirements, slow update speed, high stability and success rate
- requests: Lightweight, low performance requirements, fast update speed, stability uncertain (recommend this version only for subscription sources)
- driver: Higher performance requirements, slower update speed, high stability, high success rate (use this version for online search, multicast sources)
```bash
1. Pull the image:
requests version:
For requests version:
docker pull guovern/tv-requests:latest
driver version:
For driver version:
docker pull guovern/tv-driver:latest
2. Run the container: docker run -d -p 8000:8000 tv
2. Run the container: docker run --name tv-requests or driver -d -p 8000:8000 guovern/tv-requests or driver
3. Access (domain:8000) to check the update results
3. Check the update results: Visit (domain:8000)
4. Customization (optional):
- Modify the template:
docker cp your_system_path/user-demo.txt tv-requests or driver:/app/user-demo.txt
- Modify the configuration:
docker cp your_system_path/user-config.py tv-requests or driver:/app/user-config.py
```
#### Note: Link to the result file after updates of methods one to three: http://local ip:8000

BIN
docs/images/ui.png Normal file

Binary file not shown.

After

(image error) Size: 38 KiB

@ -75,17 +75,20 @@ pipenv run build
### 方式二:界面软件更新
```python
1. 下载[更新工具软件](https://github.com/Guovin/TV/releases),打开软件,点击更新,即可完成更新
2. 或者在项目目录下运行以下命令,即可打开界面软件:
```python
pipenv run ui
```
![更新工具软件](./images/ui.png '更新工具软件')
### 方式三Docker 更新
- requests轻量级性能要求低更新速度快成功率较低
- driver占用大,性能要求较高,更新速度慢,稳定性、成功率高
- requests轻量级性能要求低更新速度快稳定性不确定(只使用订阅源推荐此版本)
- driver性能要求较高更新速度慢,稳定性、成功率高(使用在线搜索、组播源使用此版本)
```bash
1. 拉取镜像:
@ -96,9 +99,17 @@ docker pull guovern/tv-requests:latest
driver版本
docker pull guovern/tv-driver:latest
2. 运行容器docker run -d -p 8000:8000 tv
2. 运行容器docker run --name tv-requests或driver -d -p 8000:8000 guovern/tv-requests或driver
3. 访问(域名:8000查看更新结果
3. 查看更新结果:访问(域名:8000
4. 自定义(可选):
- 修改模板:
docker cp 系统路径/user-demo.txt tv-requests或driver:/app/user-demo.txt
- 修改配置:
docker cp 系统路径/user-config.py tv-requests或driver:/app/user-config.py
```
#### 注方式一至三更新完成后的结果文件链接http://本地 ip:8000

@ -75,30 +75,41 @@ pipenv run build
### Method 2: GUI Software Update
```python
1. Download the update tool software, open the software, click update to complete the update.
2. Alternatively, run the following command in the project directory to open the GUI software:
```python
pipenv run ui
```
![Update tool software](./images/ui.png 'Update tool software')
### Method 3: Docker Update
- requests: lightweight, low performance requirements, fast update speed, lower success rate
- driver: large footprint, higher performance requirements, slow update speed, high stability and success rate
- requests: Lightweight, low performance requirements, fast update speed, stability uncertain (recommend this version only for subscription sources)
- driver: Higher performance requirements, slower update speed, high stability, high success rate (use this version for online search, multicast sources)
```bash
1. Pull the image:
requests version:
For requests version:
docker pull guovern/tv-requests:latest
driver version:
For driver version:
docker pull guovern/tv-driver:latest
2. Run the container: docker run -d -p 8000:8000 tv
2. Run the container: docker run --name tv-requests or driver -d -p 8000:8000 guovern/tv-requests or driver
3. Access (domain:8000) to check the update results
3. Check the update results: Visit (domain:8000)
4. Customization (optional):
- Modify the template:
docker cp your_system_path/user-demo.txt tv-requests or driver:/app/user-demo.txt
- Modify the configuration:
docker cp your_system_path/user-config.py tv-requests or driver:/app/user-config.py
```
#### Note: Link to the result file after updates of methods one to three: http://local ip:8000