Cambio de la vista principal de Alfavoritos
This commit is contained in:
@@ -238,10 +238,14 @@ def render_items(itemlist, parent_item):
|
|||||||
if config.get_setting("forceview"):
|
if config.get_setting("forceview"):
|
||||||
# ...forzamos segun el viewcontent
|
# ...forzamos segun el viewcontent
|
||||||
xbmcplugin.setContent(int(sys.argv[1]), parent_item.viewcontent)
|
xbmcplugin.setContent(int(sys.argv[1]), parent_item.viewcontent)
|
||||||
elif parent_item.channel not in ["channelselector", ""]:
|
|
||||||
|
elif parent_item.channel not in ["channelselector", "", "alfavorites"]:
|
||||||
# ... o segun el canal
|
# ... o segun el canal
|
||||||
xbmcplugin.setContent(int(sys.argv[1]), "movies")
|
xbmcplugin.setContent(int(sys.argv[1]), "movies")
|
||||||
|
|
||||||
|
elif parent_item.channel == "alfavorites" and parent_item.action == 'mostrar_perfil':
|
||||||
|
xbmcplugin.setContent(int(sys.argv[1]), "movies")
|
||||||
|
|
||||||
# Fijamos el "breadcrumb"
|
# Fijamos el "breadcrumb"
|
||||||
if parent_item.list_type == '':
|
if parent_item.list_type == '':
|
||||||
breadcrumb = parent_item.category.capitalize()
|
breadcrumb = parent_item.category.capitalize()
|
||||||
|
|||||||
Reference in New Issue
Block a user