Skip to content

Commit

Permalink
2025-01-21 17:11:46 更新.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 21, 2025
0 parents commit 1c5992f
Show file tree
Hide file tree
Showing 12 changed files with 89,704 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/Pages.yml_
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: pages build and deployment

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
#with:
# Upload entire repository
# path: 'public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
121 changes: 121 additions & 0 deletions .github/workflows/Update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Auto Update

on:
workflow_dispatch:
schedule:
- cron: '0 1,9,17 * * *'
push:
paths-ignore:
- 。github
- 。gitignore
- LICENSE
- logo.png

env:
TZ: Asia/Shanghai

jobs:
Update:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
branch: master
owner: kilvn
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check Repository Owner
id: check_owner
run: |
if [ "${{ github.repository_owner }}" != "${{ matrix.owner }}" ]; then
echo "Repository owner is not ${{ matrix.owner }}. Cancelling the job."
exit 1
fi
- name: GetTime
run: echo "DATE=$(date +'%Y-%m-%d %H:%M:%S CST' | sed 's/ CST$//')" >> $GITHUB_ENV

- name: Update Files
run: |
rm -f fanmingming.m3u && wget https://raw.githubusercontent.com/fanmingming/live/main/tv/m3u/ipv6.m3u -O fanmingming.m3u
# 央视源
cat fanmingming.m3u > CCTV.m3u
sed -i -n '/央视频道/,+1p' CCTV.m3u
sed -i '/^\s*$/d' CCTV.m3u
# 卫视源、地方频道、数字频道、港澳台
cat fanmingming.m3u > CNTV1.m3u && sed -i -n '/卫视频道/,+1p' CNTV1.m3u
cat fanmingming.m3u > CNTV2.m3u && sed -i -n '/数字频道/,+1p' CNTV2.m3u
rm -f zbds.m3u && wget https://raw.githubusercontent.com/vbskycn/iptv/master/tv/iptv4.m3u -O zbds.m3u
cat zbds.m3u > CNTV3.m3u && sed -i -n '/地方频道/,+1p' CNTV3.m3u
cat zbds.m3u > CHC.m3u && sed -i -n '/电影频道/,+1p' CHC.m3u && sed -i -n '/CHC/,+1p' CHC.m3u
# cat zbds.m3u > ZBZG.m3u && sed -i -n '/直播中国/,+1p' ZBZG.m3u
# wget https://raw.githubusercontent.com/yan-sheng-li/tvhub/main/tv.txt -O ZBZG.m3u && sed -i -n '/直播中国/,+1p' ZBZG.m3u
cat live-china.m3u > ZBZG.m3u
wget https://raw.githubusercontent.com/zhumeng11/IPTV/main/IPTV.m3u -O GAT.m3u && sed -i '/#港澳台/d' GAT.m3u && sed -i '/爱尔达/d' GAT.m3u && sed -i -n '/港澳台/,+1p' GAT.m3u
cat CNTV1.m3u >> CNTV.m3u
cat CNTV3.m3u >> CNTV.m3u
cat CHC.m3u >> CNTV.m3u
cat CNTV2.m3u >> CNTV.m3u
cat GAT.m3u >> CNTV.m3u
echo "" >> CNTV.m3u
cat ZBZG.m3u >> CNTV.m3u
rm -f CNTV1.m3u CNTV2.m3u CNTV3.m3u CHC.m3u GAT.m3u ZBZG.m3u fanmingming.m3u zbds.m3u
sed -i '/^\s*$/d' CNTV.m3u
# 整合源
cat CCTV.m3u > iptv.m3u
cat CNTV.m3u >> iptv.m3u
sed -i '/#EXTM3U/d' iptv.m3u
sed -i '1i #EXTM3U x-tvg-url="https://live.kilvn.com/epg.xml.gz,https://e.erw.cc/all.xml.gz,http://epg.51zmt.top:8000/e.xml.gz" catchup="append" catchup-source="?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}"' iptv.m3u
sed -i 's|"https://raw.githubusercontent.com|"https://ghproxy.kilvn.com/https://raw.githubusercontent.com|g' iptv.m3u
sed -i '/^\s*$/d' iptv.m3u
# 大人源
rm -f Adult.m3u && wget http://adultiptv.net/chs.m3u -O Adult.m3u
sed -i -n '/XXX/,+1p' Adult.m3u
sed -i 's/XXX/成人频道/' Adult.m3u
sed -i 's/AdultIPTV.net //g' Adult.m3u
sed -i '/^\s*$/d' Adult.m3u
cat iptv.m3u > iptv+.m3u
echo "" >> iptv+.m3u
cat Adult.m3u >> iptv+.m3u
sed -i '/^\s*$/d' iptv+.m3u
rm -f CCTV.m3u CNTV.m3u Adult.m3u
# FM源
rm -f radio.m3u && wget https://raw.githubusercontent.com/huangsuming/iptv/main/list/radio.txt -O radio.m3u
# 节目源
rm -f epg.xml && wget https://epg.112114.xyz/pp.xml -O epg.xml
sed -i 's/中国教育1台/CETV-1/g' epg.xml
sed -i 's/中国教育2台/CETV-2/g' epg.xml
sed -i 's/中国教育3台/CETV-3/g' epg.xml
sed -i 's/中国教育4台/CETV-4/g' epg.xml
sed -i '/<channel id="中国教育一套">/,/<\/channel>/d; /<programme channel="中国教育一套".*>/,/<\/programme>/d' epg.xml
rm -f epg.xml.gz && gzip -k epg.xml
# README
sed -i "s/已于 [0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\} 自动更新/已于 ${DATE} 自动更新/g" README.md
- name: Commit
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout --orphan latest_branch
git add -A
git commit -am "${DATE} 更新."
git branch -D ${{ matrix.branch }}
git branch -m ${{ matrix.branch }}
- name: Push
run: git push -f origin ${{ matrix.branch }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Amazing Watermelon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<p align="center"><img alt="live.kilvn.com" src="https://live.kilvn.com/logo.png" height="80"></p>
<h3 align="center">✯ 一个每天自动更新的 📺IPTV 直播源项目,开源无广告,支持IPV4/IPV6双栈访问 ✯</h3>

<p align="center">
<a href="https://github.com/kilvn/iptv/" target="_blank"><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/kilvn/iptv"></a>
<a href="https://github.com/kilvn/iptv/fork" target="_blank"><img alt="GitHub forks" src="https://img.shields.io/github/forks/kilvn/iptv"></a>
<img alt="GitHub issues" src="https://img.shields.io/github/issues/kilvn/iptv">
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/kilvn/iptv">
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/kilvn/iptv">
<img alt="GitHub" src="https://img.shields.io/github/license/kilvn/iptv">
</p>

---

> 已于 2025-01-21 17:11:46 自动更新播放源。
## 使用

> 声明: 所有播放源均收集于互联网,仅供测试研究学习,不得商用!
### 直播源
- 加速地址: [https://live.kilvn.com/iptv.m3u](https://live.kilvn.com/iptv.m3u)

### 回看源(112114 EPG-当天回看)
- 压缩地址: [https://live.kilvn.com/epg.xml.gz](https://live.kilvn.com/epg.xml.gz)
- 未压缩地址: [https://live.kilvn.com/epg.xml](https://live.kilvn.com/epg.xml)

#### 其他回看源推荐
- 7天回看EPG: [https://e.erw.cc/all.xml.gz](https://e.erw.cc/all.xml.gz)
- 老张的EPG-今明2天回看: [http://epg.51zmt.top:8000/e.xml.gz](http://epg.51zmt.top:8000/e.xml.gz)

### FM收音机源
- 加速地址: [https://live.kilvn.com/radio.m3u](https://live.kilvn.com/radio.m3u)

## TV软件推荐
- [yaoxieyoulei/mytv-android](https://github.com/yaoxieyoulei/mytv-android) 安卓/TV 墙裂推荐 2.x 版本
- [Televizo](https://televizo.net/) 安卓手机 IPTV播放器
- [ntplayer](https://ntplayer.nilbt.com/) IOS/ipad 免费版就很好用,无数量限制
- [aptv](https://github.com/Kimentanm/aptv) IOS/ipad/Mac 免费版只能添加1个播放源
- [IPTVnator](https://github.com/4gray/iptvnator) 跨平台IPTV播放器应用,适用于Windows、macOS和Linux系统。

## 播放源预览
![央视播放源预览](https://github.com/user-attachments/assets/1acbf06e-982a-4b6d-bfbd-200affb32821)

![直播中国播放源预览](https://github.com/user-attachments/assets/32f4ab3d-0ad9-4b34-ad64-4b16092f6dda)

## 致谢
- [fanmingming/live](https://github.com/fanmingming/live)
- [EPG电子节目单-7天回看](https://e.erw.cc/)
- [老张的EPG Since 2019-今明2天回看](http://epg.51zmt.top:8000/)
- [112114 EPG节目单-当天回看](https://epg.112114.xyz/)

## Star History
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kilvn/iptv&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kilvn/iptv&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kilvn/iptv&type=Date" />
</picture>
Loading

0 comments on commit 1c5992f

Please sign in to comment.