Skip to content

Commit

Permalink
release:v1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Aug 12, 2024
1 parent ed43787 commit 61e2ff7
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 82 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# 更新日志(Changelog)

## v1.3.5

### 2024/8/12

- 新增支持地区组播 ip 更新,调整默认以此模式运行,基本实现高清流畅播放(#225
- 新增支持使用 FFmpeg 进行测速排序、获取分辨率信息
- 接口源增加分辨率信息,用于源切换时显示
- 调整配置文件与结果文件路径(config、output 目录),方便 docker 卷挂载(#226
- 修改配置文件类型(config.ini)

## v1.3.4

### 2024/7/31
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ pipenv run ui

### 方式三:Docker 更新

- requests:轻量级,性能要求低,更新速度快,稳定性不确定(推荐订阅源使用此版本
- driver:性能要求较高,更新速度较慢,稳定性、成功率高(在线搜索、组播源使用此版本
- requests:轻量级,性能要求低,更新速度快,稳定性不确定(推荐组播源、订阅源使用此版本
- driver:性能要求较高,更新速度较慢,稳定性、成功率高(推荐在线搜索使用此版本

建议都试用一次,选择自己合适的版本,在线搜索和组播源使用 requests 能拿到结果的话,优先选择 requests 版本。
建议都试用一次,选择自己合适的版本,在线搜索使用 requests 能拿到结果的话,优先选择 requests 版本。

```bash
1. 拉取镜像:
Expand All @@ -76,10 +76,13 @@ docker pull guovern/tv-driver:latest
docker run -d -p 8000:8000 guovern/tv-requests 或 tv-driver

卷挂载参数(可选):
-v 宿主机路径/TV:/tv-requests 或 tv-driver

实现宿主机文件与容器文件同步,修改模板、配置、获取更新结果文件可直接在宿主机文件夹下操作
注:使用此命令运行容器,请务必先clone本项目至宿主机

配置文件:
-v 宿主机路径/config:/tv-requests/config 或 tv-driver/config

结果文件:
-v 宿主机路径/output:/tv-requests/output 或 tv-driver/output

3. 查看更新结果:访问(域名:8000)
```
Expand Down
15 changes: 9 additions & 6 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ pipenv run ui

### 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)
- requests: Lightweight, low performance requirements, fast update speed, stability uncertain (Recommend using this version for the multicast source and the subscription source)
- driver: Higher performance requirements, slower update speed, high stability, high success rate (Online search 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.
It's recommended to try each one and choose the version that suits you. If you can get results with requests for online searches, prioritize choosing the version that uses requests.

```bash
1. Pull the image:
Expand All @@ -76,10 +76,13 @@ docker pull guovern/tv-driver:latest
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.
config:
-v <path>/config:/tv-requests/config or tv-driver/config
result:
-v <path>/output:/tv-requests/output or tv-driver/output
3. Check the update results: Visit (domain:8000)
```
Expand Down
50 changes: 25 additions & 25 deletions docs/config.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
| 配置项 | 默认值 | 描述 |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| open_update | True | 开启更新,若关闭则只运行结果页面服务 |
| open_use_old_result | True | 开启使用历史更新结果,合并至本次更新中 |
| open_driver | False | 开启浏览器运行,若更新无数据可开启此模式,较消耗性能 |
| open_proxy | True | 开启代理,自动获取免费可用代理,若更新无数据可开启此模式 |
| source_file | "demo.txt" | 模板文件名称 |
| final_file | "result.txt" | 生成文件名称 |
| favorite_list | ["广东珠江","CCTV-1","CCTV-5","CCTV-5+","CCTV-13","广东体育","广东卫视","大湾区卫视","浙江卫视","湖南卫视","翡翠台"] | 关注频道名称列表(仅用于与常规频道区分,自定义获取分页数量) |
| open_online_search | False | 开启线上检索源功能 |
| favorite_page_num | 5 | 关注频道获取分页数量 |
| default_page_num | 3 | 常规频道获取分页数量 |
| urls_limit | 10 | 单个频道接口数量 |
| open_keep_all | False | 保留所有检索结果,会保留非模板频道名称的结果,推荐手动维护时开启 |
| open_sort | True | 开启排序功能(响应速度、日期、分辨率) |
| response_time_weight | 0.5 | 响应时间权重值(所有权重值总和应为 1) |
| resolution_weight | 0.5 | 分辨率权重值 (所有权重值总和应为 1) |
| recent_days | 30 | 获取最近时间范围内更新的接口(单位天),适当减小可避免出现匹配问题 |
| ipv_type | "ipv4" | 生成结果中接口的类型,可选值:"ipv4"、"ipv6"、"all" |
| domain_blacklist | ["epg.pw"] | 接口域名黑名单,用于过滤低质量含广告类域名的接口 |
| url_keywords_blacklist | [] | 接口关键字黑名单,用于过滤含特定字符的接口 |
| open_subscribe | True | 开启订阅源功能 |
| subscribe_urls | ["https://m3u.ibert.me/txt/fmml_dv6.txt",<br>"https://m3u.ibert.me/txt/o_cn.txt",<br>"https://m3u.ibert.me/txt/j_iptv.txt"] | 订阅源列表 |
| open_multicast | True | 开启组播源功能 |
| region_list | ["all"] | 组播源地区列表,[更多地区](../multicast/multicast_map.json)"all"表示所有地区 |
| 配置项 | 默认值 | 描述 |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| open_update | True | 开启更新,若关闭则只运行结果页面服务 |
| open_use_old_result | True | 开启使用历史更新结果,合并至本次更新中 |
| open_driver | False | 开启浏览器运行,若更新无数据可开启此模式,较消耗性能 |
| open_proxy | True | 开启代理,自动获取免费可用代理,若更新无数据可开启此模式 |
| source_file | config/demo.txt | 模板文件名称 |
| final_file | output/result.txt | 生成文件名称 |
| favorite_list | 广东珠江,CCTV-1,CCTV-5,CCTV-5+,CCTV-13,广东体育,广东卫视,大湾区卫视,浙江卫视,湖南卫视,翡翠台 | 关注频道名称列表(仅用于与常规频道区分,自定义获取分页数量) |
| open_online_search | False | 开启线上检索源功能 |
| favorite_page_num | 5 | 关注频道获取分页数量 |
| default_page_num | 3 | 常规频道获取分页数量 |
| urls_limit | 10 | 单个频道接口数量 |
| open_keep_all | False | 保留所有检索结果,会保留非模板频道名称的结果,推荐手动维护时开启 |
| open_sort | True | 开启排序功能(响应速度、日期、分辨率) |
| response_time_weight | 0.5 | 响应时间权重值(所有权重值总和应为 1) |
| resolution_weight | 0.5 | 分辨率权重值 (所有权重值总和应为 1) |
| recent_days | 30 | 获取最近时间范围内更新的接口(单位天),适当减小可避免出现匹配问题 |
| ipv_type | ipv4 | 生成结果中接口的类型,可选值:ipv4ipv6all |
| domain_blacklist | epg.pw | 接口域名黑名单,用于过滤低质量含广告类域名的接口 |
| url_keywords_blacklist | | 接口关键字黑名单,用于过滤含特定字符的接口 |
| open_subscribe | True | 开启订阅源功能 |
| subscribe_urls | https://m3u.ibert.me/txt/fmml_dv6.txt,<br>https://m3u.ibert.me/txt/o_cn.txt,<br>https://m3u.ibert.me/txt/j_iptv.txt | 订阅源列表 |
| open_multicast | True | 开启组播源功能 |
| region_list | 广东 | 组播源地区列表,[更多地区](../updates/multicast/multicast_map.json),all 表示所有地区 |
Loading

0 comments on commit 61e2ff7

Please sign in to comment.