jingai / skin.metropolis

Metropolis skin for Kodi
Other
9 stars 6 forks source link

ERROR: XFILE::CDirectory::GetDirectory - Error getting #22

Open jingai opened 8 years ago

jingai commented 8 years ago

Reproducible by starting the skin, go to pictures and then back to home. Likely due to empty submenus (list with a variable as content with an empty value). See here for reference: https://github.com/BigNoid/Aeon-Nox/commit/7a5004dc72a50d71667d1a7ad48bfac54fde9430

jingai commented 8 years ago

I tried adding the following visibility condition to list id 8000 (line 352 of Includes_HomeDeck.xml, where the issue is occurring):

!IsEmpty(Container(9000).ListItem.Property(widget))

But I'm still getting the error in the log.

jingai commented 8 years ago

From Rutger:

"It has to do with missing widget property tags in the main menu. If i manually add the the widget properties to the main menu items that dont have them, the problem is gone. I am not too experienced with skin shortcuts for main menu, so not sure how to solve in this case, but if it was a static list, I'd add the three widget properties to the menu items that dont currently have them."