cetv1
This commit is contained in:
parent
e2145f8d0d
commit
558fe7e4e7
|
|
@ -19,8 +19,8 @@ body:
|
||||||
label: my-ty 版本
|
label: my-ty 版本
|
||||||
description: 请选择正在使用的版本
|
description: 请选择正在使用的版本
|
||||||
options:
|
options:
|
||||||
- 最新稳定版
|
- 通用版
|
||||||
- 最新 CI 版
|
- 专用版
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|
|
||||||
15
README.md
15
README.md
|
|
@ -14,6 +14,17 @@
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
### v1.6.4(通用)
|
||||||
|
|
||||||
|
* 增加CETV1
|
||||||
|
* 增加凤凰卫视
|
||||||
|
* 默认关闭开机启动
|
||||||
|
|
||||||
|
### v1.6.3(安卓5及以上专用)
|
||||||
|
|
||||||
|
* 增加CETV1
|
||||||
|
* 默认关闭开机启动
|
||||||
|
|
||||||
### v1.6.2(通用)
|
### v1.6.2(通用)
|
||||||
|
|
||||||
* 修复按键无效的问题
|
* 修复按键无效的问题
|
||||||
|
|
@ -200,16 +211,14 @@ adb install my-tv.apk
|
||||||
|
|
||||||
* 音量不同
|
* 音量不同
|
||||||
* 大湾区卫视、广东4k超高清、广东珠江、三沙卫视
|
* 大湾区卫视、广东4k超高清、广东珠江、三沙卫视
|
||||||
* CETV教育频道
|
|
||||||
* CHC高清三个电影频道
|
* CHC高清三个电影频道
|
||||||
* 地方频道
|
* 地方频道
|
||||||
* 收藏夹
|
* 收藏夹
|
||||||
* 自定义源
|
* 自定义源
|
||||||
* 凤凰卫视、凤凰资讯台
|
|
||||||
* 海外
|
* 海外
|
||||||
* 1.5.0 无法安装,1.5.1 可以安装
|
|
||||||
* 节目增加预告
|
* 节目增加预告
|
||||||
* 频道列表优化
|
* 频道列表优化
|
||||||
|
* 自动更新
|
||||||
|
|
||||||
## 赞赏
|
## 赞赏
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@
|
||||||
<provider
|
<provider
|
||||||
android:name=".InitializerProvider"
|
android:name=".InitializerProvider"
|
||||||
android:authorities="${applicationId}.InitializerProvider"
|
android:authorities="${applicationId}.InitializerProvider"
|
||||||
android:exported="false"
|
android:exported="false"/>
|
||||||
android:initOrder="900" />
|
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
@ -47,6 +47,10 @@ class InfoFragment : Fragment() {
|
||||||
.load(R.drawable.bingtuan)
|
.load(R.drawable.bingtuan)
|
||||||
.into(binding.infoLogo)
|
.into(binding.infoLogo)
|
||||||
|
|
||||||
|
"CETV1" -> Glide.with(this)
|
||||||
|
.load(R.drawable.cetv1)
|
||||||
|
.into(binding.infoLogo)
|
||||||
|
|
||||||
else -> Glide.with(this)
|
else -> Glide.with(this)
|
||||||
.load(tvViewModel.logo.value)
|
.load(tvViewModel.logo.value)
|
||||||
.into(binding.infoLogo)
|
.into(binding.infoLogo)
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,10 @@ class Request {
|
||||||
handler.post(tokenRunnable)
|
handler.post(tokenRunnable)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun onDestroy() {
|
||||||
|
handler.removeCallbacks(tokenRunnable)
|
||||||
|
}
|
||||||
|
|
||||||
fun initYSP(context: Context) {
|
fun initYSP(context: Context) {
|
||||||
ysp = YSP(context)
|
ysp = YSP(context)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -873,10 +873,24 @@ object TVList {
|
||||||
true,
|
true,
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
|
TV(
|
||||||
|
57,
|
||||||
|
"CETV1",
|
||||||
|
"CETV1",
|
||||||
|
listOf(),
|
||||||
|
0,
|
||||||
|
"地方",
|
||||||
|
"",
|
||||||
|
"600171827",
|
||||||
|
"2022823801",
|
||||||
|
"",
|
||||||
|
true,
|
||||||
|
mustToken = false
|
||||||
|
),
|
||||||
),
|
),
|
||||||
"港澳台" to listOf(
|
"港澳台" to listOf(
|
||||||
TV(
|
TV(
|
||||||
57,
|
58,
|
||||||
"凤凰卫视资讯台",
|
"凤凰卫视资讯台",
|
||||||
"",
|
"",
|
||||||
listOf(),
|
listOf(),
|
||||||
|
|
@ -890,7 +904,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
58,
|
59,
|
||||||
"凤凰卫视中文台",
|
"凤凰卫视中文台",
|
||||||
"",
|
"",
|
||||||
listOf(),
|
listOf(),
|
||||||
|
|
@ -904,7 +918,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
59,
|
60,
|
||||||
"凤凰卫视香港台",
|
"凤凰卫视香港台",
|
||||||
"",
|
"",
|
||||||
listOf(),
|
listOf(),
|
||||||
|
|
@ -920,7 +934,7 @@ object TVList {
|
||||||
),
|
),
|
||||||
"国际" to listOf(
|
"国际" to listOf(
|
||||||
TV(
|
TV(
|
||||||
60,
|
61,
|
||||||
"CGTN",
|
"CGTN",
|
||||||
"CGTN",
|
"CGTN",
|
||||||
listOf("http://live.cgtn.com/1000/prog_index.m3u8"),
|
listOf("http://live.cgtn.com/1000/prog_index.m3u8"),
|
||||||
|
|
@ -934,7 +948,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
61,
|
62,
|
||||||
"CGTN 法语频道",
|
"CGTN 法语频道",
|
||||||
"CGTN法语频道",
|
"CGTN法语频道",
|
||||||
listOf("https://livefr.cgtn.com/1000f/prog_index.m3u8"),
|
listOf("https://livefr.cgtn.com/1000f/prog_index.m3u8"),
|
||||||
|
|
@ -948,7 +962,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
62,
|
63,
|
||||||
"CGTN 俄语频道",
|
"CGTN 俄语频道",
|
||||||
"CGTN俄语频道",
|
"CGTN俄语频道",
|
||||||
listOf("http://liveru.cgtn.com/1000r/prog_index.m3u8"),
|
listOf("http://liveru.cgtn.com/1000r/prog_index.m3u8"),
|
||||||
|
|
@ -962,7 +976,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
63,
|
64,
|
||||||
"CGTN 阿拉伯语频道",
|
"CGTN 阿拉伯语频道",
|
||||||
"CGTN阿拉伯语频道",
|
"CGTN阿拉伯语频道",
|
||||||
listOf("http://livear.cgtn.com/1000a/prog_index.m3u8"),
|
listOf("http://livear.cgtn.com/1000a/prog_index.m3u8"),
|
||||||
|
|
@ -976,7 +990,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
64,
|
65,
|
||||||
"CGTN 西班牙语频道",
|
"CGTN 西班牙语频道",
|
||||||
"CGTN西班牙语频道",
|
"CGTN西班牙语频道",
|
||||||
listOf(
|
listOf(
|
||||||
|
|
@ -993,7 +1007,7 @@ object TVList {
|
||||||
mustToken = false
|
mustToken = false
|
||||||
),
|
),
|
||||||
TV(
|
TV(
|
||||||
65,
|
66,
|
||||||
"CGTN 纪录频道",
|
"CGTN 纪录频道",
|
||||||
"CGTN外语纪录频道",
|
"CGTN外语纪录频道",
|
||||||
listOf("https://livedoc.cgtn.com/500d/prog_index.m3u8"),
|
listOf("https://livedoc.cgtn.com/500d/prog_index.m3u8"),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package com.lizongying.mytv.api
|
package com.lizongying.mytv.api
|
||||||
|
|
||||||
|
|
||||||
data class Info(
|
data class Info(
|
||||||
val code: Int?,
|
val code: Int?,
|
||||||
val msg: String?,
|
val msg: String?,
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
|
|
@ -863,7 +863,7 @@
|
||||||
{
|
{
|
||||||
"id": 56,
|
"id": 56,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a72dff758ca1c17cd0ecc8cedc11b893d208f409d5e6302faa0e9d298848abc3.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a72dff758ca1c17cd0ecc8cedc11b893d208f409d5e6302faa0e9d298848abc3.png?imageMogr2/format/webp",
|
||||||
"pid": "600014550",
|
"pid": "600014550",
|
||||||
"sid": "2001656803",
|
"sid": "2001656803",
|
||||||
|
|
@ -878,7 +878,7 @@
|
||||||
{
|
{
|
||||||
"id": 57,
|
"id": 57,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a8d0046a47433d952bf6ed17062deb8bd2184ba9aec0f7781df6bf9487a3ffcf.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a8d0046a47433d952bf6ed17062deb8bd2184ba9aec0f7781df6bf9487a3ffcf.png?imageMogr2/format/webp",
|
||||||
"pid": "600084704",
|
"pid": "600084704",
|
||||||
"sid": "2010153503",
|
"sid": "2010153503",
|
||||||
|
|
@ -893,7 +893,7 @@
|
||||||
{
|
{
|
||||||
"id": 58,
|
"id": 58,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/bf0a820893cbaf20dd0333e27042e1ef9c8806e5b602b6a8c95af399db0bc77a.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/bf0a820893cbaf20dd0333e27042e1ef9c8806e5b602b6a8c95af399db0bc77a.png?imageMogr2/format/webp",
|
||||||
"pid": "600084758",
|
"pid": "600084758",
|
||||||
"sid": "2010152603",
|
"sid": "2010152603",
|
||||||
|
|
@ -908,7 +908,7 @@
|
||||||
{
|
{
|
||||||
"id": 59,
|
"id": 59,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/2e44e2aa3e7a1cedf07fd0ae59fe69e86a60a2632660a006e3e9e7397b2d107e.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/2e44e2aa3e7a1cedf07fd0ae59fe69e86a60a2632660a006e3e9e7397b2d107e.png?imageMogr2/format/webp",
|
||||||
"pid": "600084782",
|
"pid": "600084782",
|
||||||
"sid": "2010155203",
|
"sid": "2010155203",
|
||||||
|
|
@ -923,7 +923,7 @@
|
||||||
{
|
{
|
||||||
"id": 60,
|
"id": 60,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/7c337e3dbe64402ec7e4678a619a4a6d95144e42f35161181ff78e143b7cf67a.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/7c337e3dbe64402ec7e4678a619a4a6d95144e42f35161181ff78e143b7cf67a.png?imageMogr2/format/webp",
|
||||||
"pid": "600084744",
|
"pid": "600084744",
|
||||||
"sid": "2010152503",
|
"sid": "2010152503",
|
||||||
|
|
@ -939,7 +939,7 @@
|
||||||
{
|
{
|
||||||
"id": 61,
|
"id": 61,
|
||||||
"videoIndex": 0,
|
"videoIndex": 0,
|
||||||
"channel": "国际频道",
|
"channel": "国际",
|
||||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/74d3ac436a7e374879578de1d87a941fbf566d39d5632b027c5097891ed32bd5.png?imageMogr2/format/webp",
|
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/74d3ac436a7e374879578de1d87a941fbf566d39d5632b027c5097891ed32bd5.png?imageMogr2/format/webp",
|
||||||
"pid": "600084781",
|
"pid": "600084781",
|
||||||
"sid": "2010155403",
|
"sid": "2010155403",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue