Fix:移除TVList的初始化
This commit is contained in:
parent
825a872a09
commit
700c8b4c04
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue