mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
cetv1
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
<provider
|
||||
android:name=".InitializerProvider"
|
||||
android:authorities="${applicationId}.InitializerProvider"
|
||||
android:exported="false"
|
||||
android:initOrder="900" />
|
||||
android:exported="false"/>
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -47,6 +47,10 @@ class InfoFragment : Fragment() {
|
||||
.load(R.drawable.bingtuan)
|
||||
.into(binding.infoLogo)
|
||||
|
||||
"CETV1" -> Glide.with(this)
|
||||
.load(R.drawable.cetv1)
|
||||
.into(binding.infoLogo)
|
||||
|
||||
else -> Glide.with(this)
|
||||
.load(tvViewModel.logo.value)
|
||||
.into(binding.infoLogo)
|
||||
|
||||
@@ -54,6 +54,10 @@ class Request {
|
||||
handler.post(tokenRunnable)
|
||||
}
|
||||
|
||||
fun onDestroy() {
|
||||
handler.removeCallbacks(tokenRunnable)
|
||||
}
|
||||
|
||||
fun initYSP(context: Context) {
|
||||
ysp = YSP(context)
|
||||
}
|
||||
|
||||
@@ -873,10 +873,24 @@ object TVList {
|
||||
true,
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
57,
|
||||
"CETV1",
|
||||
"CETV1",
|
||||
listOf(),
|
||||
0,
|
||||
"地方",
|
||||
"",
|
||||
"600171827",
|
||||
"2022823801",
|
||||
"",
|
||||
true,
|
||||
mustToken = false
|
||||
),
|
||||
),
|
||||
"港澳台" to listOf(
|
||||
TV(
|
||||
57,
|
||||
58,
|
||||
"凤凰卫视资讯台",
|
||||
"",
|
||||
listOf(),
|
||||
@@ -890,7 +904,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
58,
|
||||
59,
|
||||
"凤凰卫视中文台",
|
||||
"",
|
||||
listOf(),
|
||||
@@ -904,7 +918,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
59,
|
||||
60,
|
||||
"凤凰卫视香港台",
|
||||
"",
|
||||
listOf(),
|
||||
@@ -920,7 +934,7 @@ object TVList {
|
||||
),
|
||||
"国际" to listOf(
|
||||
TV(
|
||||
60,
|
||||
61,
|
||||
"CGTN",
|
||||
"CGTN",
|
||||
listOf("http://live.cgtn.com/1000/prog_index.m3u8"),
|
||||
@@ -934,7 +948,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
61,
|
||||
62,
|
||||
"CGTN 法语频道",
|
||||
"CGTN法语频道",
|
||||
listOf("https://livefr.cgtn.com/1000f/prog_index.m3u8"),
|
||||
@@ -948,7 +962,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
62,
|
||||
63,
|
||||
"CGTN 俄语频道",
|
||||
"CGTN俄语频道",
|
||||
listOf("http://liveru.cgtn.com/1000r/prog_index.m3u8"),
|
||||
@@ -962,7 +976,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
63,
|
||||
64,
|
||||
"CGTN 阿拉伯语频道",
|
||||
"CGTN阿拉伯语频道",
|
||||
listOf("http://livear.cgtn.com/1000a/prog_index.m3u8"),
|
||||
@@ -976,7 +990,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
64,
|
||||
65,
|
||||
"CGTN 西班牙语频道",
|
||||
"CGTN西班牙语频道",
|
||||
listOf(
|
||||
@@ -993,7 +1007,7 @@ object TVList {
|
||||
mustToken = false
|
||||
),
|
||||
TV(
|
||||
65,
|
||||
66,
|
||||
"CGTN 纪录频道",
|
||||
"CGTN外语纪录频道",
|
||||
listOf("https://livedoc.cgtn.com/500d/prog_index.m3u8"),
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.lizongying.mytv.api
|
||||
|
||||
|
||||
data class Info(
|
||||
val code: Int?,
|
||||
val msg: String?,
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -863,7 +863,7 @@
|
||||
{
|
||||
"id": 56,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a72dff758ca1c17cd0ecc8cedc11b893d208f409d5e6302faa0e9d298848abc3.png?imageMogr2/format/webp",
|
||||
"pid": "600014550",
|
||||
"sid": "2001656803",
|
||||
@@ -878,7 +878,7 @@
|
||||
{
|
||||
"id": 57,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/a8d0046a47433d952bf6ed17062deb8bd2184ba9aec0f7781df6bf9487a3ffcf.png?imageMogr2/format/webp",
|
||||
"pid": "600084704",
|
||||
"sid": "2010153503",
|
||||
@@ -893,7 +893,7 @@
|
||||
{
|
||||
"id": 58,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/bf0a820893cbaf20dd0333e27042e1ef9c8806e5b602b6a8c95af399db0bc77a.png?imageMogr2/format/webp",
|
||||
"pid": "600084758",
|
||||
"sid": "2010152603",
|
||||
@@ -908,7 +908,7 @@
|
||||
{
|
||||
"id": 59,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202306/2e44e2aa3e7a1cedf07fd0ae59fe69e86a60a2632660a006e3e9e7397b2d107e.png?imageMogr2/format/webp",
|
||||
"pid": "600084782",
|
||||
"sid": "2010155203",
|
||||
@@ -923,7 +923,7 @@
|
||||
{
|
||||
"id": 60,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/7c337e3dbe64402ec7e4678a619a4a6d95144e42f35161181ff78e143b7cf67a.png?imageMogr2/format/webp",
|
||||
"pid": "600084744",
|
||||
"sid": "2010152503",
|
||||
@@ -939,7 +939,7 @@
|
||||
{
|
||||
"id": 61,
|
||||
"videoIndex": 0,
|
||||
"channel": "国际频道",
|
||||
"channel": "国际",
|
||||
"logo": "https://resources.yangshipin.cn/assets/oms/image/202309/74d3ac436a7e374879578de1d87a941fbf566d39d5632b027c5097891ed32bd5.png?imageMogr2/format/webp",
|
||||
"pid": "600084781",
|
||||
"sid": "2010155403",
|
||||
|
||||
Reference in New Issue
Block a user