Repository navigation
v0.1.6
v0.1.6
New Features
- Added League of Legends in-game player name detection
- Real-time monitoring of in-game player names via Riot API
- Configurable blacklist words for player names
- Automatic stream shutdown when blacklisted names are detected
- Modify the ffmpeg command to cache and buffer the stream before sending it.
Configuration Requirements
- Added
riot_api_keyfield in config.yaml - New required files:
puuid.txtandinvalid_words.txt - Python3 and riotwatcher library are required
How to Use New Features
- Obtain API Key from Riot Developer Portal
- Configure channels and their PUUIDs in puuid.txt
- Set up blacklisted words in invalid_words.txt
- Set stream category to League of Legends (area_v2: 86)
For detailed instructions, please refer to the updated README documentation.
v0.1.6
可选新功能
- 添加了英雄联盟游戏内玩家名称检测功能
- 支持通过 Riot API 实时监控游戏内玩家名称
- 可配置屏蔽词列表,当检测到违规玩家名称时自动停止直播
- ffmpeg转播前增加缓冲时间,提高稳定性
新功能配置要求
- 需要在 config.yaml 中添加
riot_api_key字段 - 需要创建
puuid.txt和invalid_words.txt文件 - 需要安装 Python3 和 riotwatcher 库
如何使用新功能
- 从 Riot Developer Portal 获取 API Key
- 在 puuid.txt 中配置频道和对应的 PUUID
- 在 invalid_words.txt 中设置需要检测的屏蔽词(每行一个)
- 将直播分区设置为英雄联盟(area_v2: 86)
详细说明请参考更新后的 README 文档。