47 lines
817 B
XML
47 lines
817 B
XML
{
|
|
"id":"search_result",
|
|
"widgettype":"Container",
|
|
"options":{
|
|
"loader":{
|
|
"dataurl":"{{entire_url('./channel_search.dspy')}}",
|
|
"rows":60
|
|
},
|
|
"idField":"id",
|
|
"do_scroll_x":false,
|
|
"layout":{
|
|
"widgettype":"VBox",
|
|
"options":{
|
|
"size_hint":[1,null]
|
|
}
|
|
},
|
|
"viewer":{
|
|
"widgettype":"PressableBoxLayout",
|
|
"options":{
|
|
"orientation":"horizontal",
|
|
"height":"40",
|
|
"size_hint_y":null
|
|
},
|
|
"subwidgets":[
|
|
{
|
|
"widgettype":"Text",
|
|
"options":{
|
|
"i18n":false,
|
|
"wrap":true,
|
|
"halign":"left",
|
|
"otext":"{% raw -%}{{tv_name}}{%- endraw %}"
|
|
}
|
|
}
|
|
],
|
|
"binds":[
|
|
{
|
|
"wid":"self",
|
|
"event":"on_press",
|
|
"actiontype":"script",
|
|
"target":"app",
|
|
"script":"{% raw -%}self.play('{{url}}'){%- endraw %}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|