2015-05-28, 01:58
Tested in Helix 14.0 running on Win 7.
This skin uses a $VAR to set the texture for an image control displayed when Container.Content(genre). The idea is to show a genre-specific thumb image. That works. But there is an option for the user to set his own path for the genre textures, so the $VAR gets set to path\$INFO[ListItem.Label].jpg, where the path has been set using a Skin.SetPath.
The thing is, if there is just an image control in the window, it displays the texture. But if the image control is in a list container, it just shows the fallback and the log gives me "CTextureCacheJob::GetImageHash - unable to stat url". If I hard-code the path into the $VAR it works, but when it is set from $INFO[skin.string(genre_path)] it fails. Is there some trick to getting the texture to work in a list?
scott s.
.
This skin uses a $VAR to set the texture for an image control displayed when Container.Content(genre). The idea is to show a genre-specific thumb image. That works. But there is an option for the user to set his own path for the genre textures, so the $VAR gets set to path\$INFO[ListItem.Label].jpg, where the path has been set using a Skin.SetPath.
The thing is, if there is just an image control in the window, it displays the texture. But if the image control is in a list container, it just shows the fallback and the log gives me "CTextureCacheJob::GetImageHash - unable to stat url". If I hard-code the path into the $VAR it works, but when it is set from $INFO[skin.string(genre_path)] it fails. Is there some trick to getting the texture to work in a list?
scott s.
.