mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
Fix:移除TVList的初始化
This commit is contained in:
@@ -95,8 +95,6 @@ class Request {
|
|||||||
|
|
||||||
fun initYSP(context: Context) {
|
fun initYSP(context: Context) {
|
||||||
ysp = YSP(context)
|
ysp = YSP(context)
|
||||||
//TODO 不确定在哪里初始化
|
|
||||||
TVList.init(context)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var call: Call<LiveInfo>? = null
|
var call: Call<LiveInfo>? = null
|
||||||
@@ -369,7 +367,7 @@ class Request {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
val tv =
|
val tv =
|
||||||
TVList.list[channelType]?.find { it.title == mapping[item.channelName] }
|
TVList.list?.get(channelType)?.find { it.title == mapping[item.channelName] }
|
||||||
if (tv != null) {
|
if (tv != null) {
|
||||||
tv.logo = item.tvLogo
|
tv.logo = item.tvLogo
|
||||||
tv.pid = item.pid
|
tv.pid = item.pid
|
||||||
|
|||||||
Reference in New Issue
Block a user