2018-09-25, 18:00
@manfeed
im unsure if it ll work , but using skinhelper could help to check if file existing.
Check if file exists
This command will check the filesystem if a particular file exists and will write the results to either a skin string or window property. If the file exists, the result will be written as EXISTS in the property or skinstring, if it doesn't exist, the property/string will be empty.
Didnt test, but maybe that helps to solve the one issue.
so add in myvideonav.xml
and add check conditions within the custom files (+ skinsetting if existing)
im unsure if it ll work , but using skinhelper could help to check if file existing.
Check if file exists
xml:RunScript(script.skin.helper.service,action=fileexists,file=[filenamepath],skinstring=[skinstring to store the result],windowprop=[windowprop to store the result])
This command will check the filesystem if a particular file exists and will write the results to either a skin string or window property. If the file exists, the result will be written as EXISTS in the property or skinstring, if it doesn't exist, the property/string will be empty.
Didnt test, but maybe that helps to solve the one issue.
so add in myvideonav.xml
xml:
<onload contition="*****">RunScript(script.skin.helper.service,action=fileexists,file=$INFO[ListItem.Path,,theme.mp3],skinstring=ListItem.OSTtheme,windowprop=Propert(ListItem.OSTtheme))</onload>
and add check conditions within the custom files (+ skinsetting if existing)