bugfix
This commit is contained in:
parent
c79991e5ec
commit
c939ee990b
@ -1,4 +1,4 @@
|
||||
url = params_kw.m3u_url
|
||||
url = params_kw.url
|
||||
debug(f'{params_kw=}, {url=}')
|
||||
try:
|
||||
x = await load_url_iptv('iptv', url, 'iptvdb')
|
||||
|
||||
@ -2,41 +2,31 @@
|
||||
"widgettype":"PopupWindow",
|
||||
"options":{
|
||||
"width":"80%",
|
||||
"cheight":16,
|
||||
"cheight":36,
|
||||
"widget":"center",
|
||||
"auto_open":true,
|
||||
"moving":true,
|
||||
"modal":true,
|
||||
"archor":"cc",
|
||||
"movable": true,
|
||||
"icon":"/imgs/tv.png",
|
||||
"title":"添加频道"
|
||||
},
|
||||
"subwidgets":[
|
||||
{
|
||||
"widgettype":"VBox",
|
||||
"options":{
|
||||
"width":"100%",
|
||||
"height":"100%"
|
||||
},
|
||||
"subwidgets":[
|
||||
{
|
||||
"widgettype":"Text",
|
||||
"options":{
|
||||
"otext":"we can ONLY import m3u8 channels in m3u format, please input m3u url"
|
||||
,"i18n":true,
|
||||
"wrap":true,
|
||||
"rate":1.5,
|
||||
"dynsize":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype":"Form",
|
||||
"description":"we can ONLY import m3u8 channels in m3u format, please input m3u url",
|
||||
"id":"form",
|
||||
"options":{
|
||||
"width":"100%",
|
||||
"height":"100%",
|
||||
"fields":[
|
||||
{
|
||||
"width":"100%",
|
||||
"height":"100%",
|
||||
"name":"m3u_url",
|
||||
"uitype":"str"
|
||||
"label":"m3u网址",
|
||||
"value":"m3u url",
|
||||
"uitype":"text"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -52,8 +42,6 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"binds":[
|
||||
{
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
{
|
||||
"widgettype":"Icon",
|
||||
"options":{
|
||||
"url":"{{entire_url('/imgs/atvoe.png')}}",
|
||||
"url":"{{entire_url('/imgs/atvoe.svg')}}",
|
||||
"cursor":"pointer",
|
||||
"rate":1.5
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user