Skip to content

Commit

Permalink
Merge pull request #798 from Guovin/dev
Browse files Browse the repository at this point in the history
Release:v1.5.9
  • Loading branch information
Guovin authored Jan 8, 2025
2 parents 4d613e1 + c3ccc75 commit c7dc5e1
Show file tree
Hide file tree
Showing 16 changed files with 193 additions and 87 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: IPTV
name: IPTV-API
path: dist

- name: Get version from version.json
Expand Down Expand Up @@ -76,6 +76,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/IPTV.exe
asset_name: IPTV.exe
asset_path: dist/IPTV-API.exe
asset_name: IPTV-API.exe
asset_content_type: application/octet-stream
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# 更新日志(Changelog)

## v1.5.9

### 2025/1/8

- ❤️ 2025年第一次更新,祝大家新年快乐,万事如意
- ✨ 公众号详细教程文章已发布,欢迎关注`Govin`公众号获取
- ✨ 新增支持`rtmp`协议接口(#780
- ✨ 新增支持修改更新时间位置(`update_time_position`)(#755
- ✨ 新增支持修改时区(`time_zone`)(#759
- ✨ 更新组播源与酒店源离线数据,增加`广东移动组播RTP`#773
- ✨ 更新Github CDN代理地址(#796
- ✨ GUI使用Github工作流基于源码自动构建并发布,唯一下载途径是[Release](https://github.com/Guovin/iptv-api/releases)
,若安全软件有误报,请添加信任
- ✨ 增加版本信息打印输出
- ✨ 更新部分教程文档图片
- 🐛 修复m3u更新时间logo显示问题(#794
- 🐛 修复测速阶段出现`cookie illegal key`问题(#728,#787
- 🐛 修复白名单接口排序与接口信息命名问题(#765
- 🐛 修复组播源更新结果异常问题
- 🐛 修复写入结果目录为空问题
- 🪄 调整接口状态码判断,只处理`200`状态码(#779

<details>
<summary>English</summary>

- ❤️ First update of 2025, wishing everyone a Happy New Year and all the best
- ✨ Detailed tutorial articles have been published on the `Govin` public account, welcome to follow for more information
- ✨ Added support for `rtmp` protocol interface (#780)
- ✨ Added support for modifying update time position (`update_time_position`) (#755)
- ✨ Added support for modifying time zone (`time_zone`) (#759)
- ✨ Updated offline data for multicast sources and hotel sources, added `Guangdong Mobile Multicast RTP` (#773)
- ✨ Updated GitHub CDN proxy address (#796)
- ✨ GUI is automatically built and released based on the source code using GitHub workflows, the only download method
is [Release](https://github.com/Guovin/iptv-api/releases). If there are false positives from security software, please
add it to the trust list
- ✨ Added version information print output
- ✨ Updated some tutorial document images
- 🐛 Fixed m3u update time logo display issue (#794)
- 🐛 Fixed `cookie illegal key` issue during speed test phase (#728, #787)
- 🐛 Fixed whitelist interface sorting and interface information naming issue (#765)
- 🐛 Fixed abnormal results issue for multicast source updates
- 🐛 Fixed empty result directory issue
- 🪄 Adjusted interface status code judgment to only process `200` status code (#779)

</details>

## v1.5.8

### 2024/12/30
Expand Down
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ flask = "*"
opencc-python-reimplemented = "*"
pillow = "*"
m3u8 = "*"
pytz = "*"

[packages]
requests = "*"
Expand All @@ -37,6 +38,7 @@ opencc-python-reimplemented = "*"
gunicorn = "*"
pillow = "*"
m3u8 = "*"
pytz = "*"

[requires]
python_version = "3.13"
18 changes: 17 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json
| open_subscribe | 开启订阅源功能 | False |
| open_update | 开启更新,用于控制是否更新接口,若关闭则所有工作模式(获取接口和测速)均停止 | True |
| open_update_time | 开启显示更新时间 | True |
| open_url_info | 开启显示接口说明信息,用于控制是否显示接口来源、分辨率、协议类型等信息,为$符号后的内容,播放软件使用该信息对接口进行描述,若部分播放器(如PotPlayer)不支持解析导致无法播放可关闭 | True |
| open_url_info | 开启显示接口说明信息,用于控制是否显示接口来源、分辨率、协议类型等信息,为$符号后的内容,播放软件使用该信息对接口进行描述,若部分播放器(如PotPlayer)不支持解析导致无法播放可关闭 | False |
| open_use_cache | 开启使用本地缓存数据,适用于查询请求失败场景(仅针对酒店源与组播源) | True |
| open_use_old_result | 开启使用历史更新结果(包含模板与结果文件的接口),合并至本次更新中 | True |
| app_port | 页面服务端口,用于控制页面服务的端口号 | 8000 |
Expand All @@ -190,7 +190,9 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json
| sort_timeout | 单个接口测速超时时长,单位秒(s);数值越大测速所属时间越长,能提高获取接口数量,但质量会有所下降;数值越小测速所需时间越短,能获取低延时的接口,质量较好;调整此值能优化更新时间 | 10 |
| source_file | 模板文件路径 | config/demo.txt |
| subscribe_num | 结果中偏好的订阅源接口数量 | 10 |
| time_zone | 时区,可用于控制更新时间显示的时区,可选值:Asia/Shanghai 或其它时区编码 | Asia/Shanghai |
| urls_limit | 单个频道接口数量 | 10 |
| update_time_position | 更新时间显示位置,需要开启 open_update_time 才能生效,可选值:top、bottom,top: 显示于结果顶部,bottom: 显示于结果底部 | top |

## 快速上手

Expand Down
4 changes: 3 additions & 1 deletion README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json
| open_subscribe | Enable subscription source feature | True |
| open_update | Enable updates, if disabled then only the result page service is run | True |
| open_update_time | Enable show update time | True |
| open_url_info | Enable to display interface description information, used to control whether to display interface source, resolution, protocol type and other information, the content after the $ symbol, the playback software uses this information to describe the interface, if some players (such as PotPlayer) do not support parsing and cannot play, you can turn it off | True |
| open_url_info | Enable to display interface description information, used to control whether to display interface source, resolution, protocol type and other information, the content after the $ symbol, the playback software uses this information to describe the interface, if some players (such as PotPlayer) do not support parsing and cannot play, you can turn it off | False |
| open_use_cache | Enable the use of local cache data, applicable to the query request failure scenario (only for hotel sources and multicast sources) | True |
| open_use_old_result | Enable the use of historical update results (including the interface for template and result files) and merge them into the current update | True |
| app_port | Page service port, used to control the port number of the page service | 8000 |
Expand All @@ -190,7 +190,9 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json
| sort_timeout | The timeout duration for speed testing of a single interface, in seconds (s). A larger value means a longer testing period, which can increase the number of interfaces obtained but may decrease their quality. A smaller value means a shorter testing time, which can obtain low-latency interfaces with better quality. Adjusting this value can optimize the update time. | 10 |
| source_file | Template file path | config/demo.txt |
| subscribe_num | The number of preferred subscribe source interfaces in the results | 10 |
| time_zone | Time zone, can be used to control the time zone displayed by the update time, optional values: Asia/Shanghai or other time zone codes | Asia/Shanghai |
| urls_limit | Number of interfaces per channel | 10 |
| update_time_position | Update time display position, need to enable open_update_time to take effect, optional values: top, bottom, top: display at the top of the result, bottom: display at the bottom of the result | top |

## Quick Start

Expand Down
8 changes: 6 additions & 2 deletions config/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ open_update = True
# 开启显示更新时间; 可选值: True, False | Enable display update time; Optional values: True, False
open_update_time = True
# 开启显示接口说明信息,用于控制是否显示接口来源、分辨率、协议类型等信息,为$符号后的内容,播放软件使用该信息对接口进行描述,若部分播放器(如PotPlayer)不支持解析导致无法播放可关闭; 可选值: True, False | Enable to display interface description information, used to control whether to display interface source, resolution, protocol type and other information, the content after the $ symbol, the playback software uses this information to describe the interface, if some players (such as PotPlayer) do not support parsing and cannot play, you can turn it off; Optional values: True, False
open_url_info = True
open_url_info = False
# 开启使用本地缓存数据,适用于查询请求失败场景(仅针对酒店源与组播源); 可选值: True, False | Enable to use local cached data, suitable for query request failure scenarios (only for hotel source and multicast source); Optional values: True, False
open_use_cache = True
# 开启使用历史更新结果(包含模板与结果文件的接口),合并至本次更新中; 可选值: True, False | Enable to use historical update results (including interfaces of templates and result files), merged into this update; Optional values: True, False
Expand Down Expand Up @@ -93,5 +93,9 @@ sort_timeout = 10
source_file = config/demo.txt
# 结果中偏好的订阅源接口数量 | Preferred number of subscription source interfaces in the result
subscribe_num = 10
# 时区,可用于控制更新时间显示的时区,可选值:Asia/Shanghai 或其它时区编码 | Time zone, can be used to control the time zone displayed by the update time, optional values: Asia/Shanghai or other time zone codes
time_zone = Asia/Shanghai
# 单个频道接口数量 | Number of interfaces per channel
urls_limit = 10
urls_limit = 10
# 更新时间显示位置,需要开启 open_update_time 才能生效,可选值:top、bottom,top: 显示于结果顶部,bottom: 显示于结果底部 | Update time display position, need to enable open_update_time to take effect, optional values: top, bottom, top: display at the top of the result, bottom: display at the bottom of the result
update_time_position = top
Loading

0 comments on commit c7dc5e1

Please sign in to comment.