Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1816

Crash on Kodi 18 nightly with conditional variable

$
0
0
I display a label on videos window based on the media container focuseditem. The label is a variable. When I add the following to the variable:
Code:
<value condition="![Control.IsVisible(608) | Control.IsVisible(65)] + String.IsEqual(ListItem.DBType,musicvideo) + Window.IsVisible(videos) + String.StartsWith(ListItem.Label,ListItem.Artist)">$INFO[ListItem.Title] - $INFO[ListItem.Album]</value>

Kodi crashes (Exception caught in main loop / Kodi has stopped working) when I focus on one of the listitems in the container.
Kodi Win32 18 0820 nightly. Kodi debug log logs an error when it crashes:
Code:
ERROR: exception in CApplication::FrameMove()

From some testing it seems like the specific problem is the boolean
Code:
String.StartsWith(ListItem.Label,ListItem.Artist)

My full log https://pastebin.com/ffzET9gL

Is that not permitted?

scott s.
.

Viewing all articles
Browse latest Browse all 1816

Trending Articles