2017-08-11, 22:23
(2017-08-11, 20:26)stevo629 Wrote: It would be great if we could type in the location for the background overlay image. I'd like to use a different image, and save that image within the kodi folder so it's easy to transfer my build to other devices, but I can't navigate to the .kodi folder on android because it's hidden.
Also, is there any way for me to manually set/lock the viewtype per app or even app menu? I know you can do it by general types like addons, movies, tv episodes, etc, but many addons that don't fit these types choose a viewtype that isn't preferable. I know other questions on this topic have been asked before, but wanted to see if there was a settings file that I could even manually enter the viewtype codes into for each addon.
Well, it doesn't really work that way. Skins reference specific files within their resource folders (like the media folder), and the given image has to conform to the location and title. So, the way to replace a particular image resource is to place a different one in its place under its name. Here's where things get complicated. Skins also reuse files and image resources. In the case of the panel image resource (media/common/white.png), it is reused many times over in various parts of the skin, so changing it would change all of them simultaneously.
On top of that, the dimensions and settings for the image used within the skin may vary greatly depending on the view-type, so if you changed an image, you'd practically need to find or make an ideal replacement, or otherwise be prepared to modify dozens of lines of code or write completely new code to accommodate the difference in images. Also, keep in mind that choosing any other image except the existing clear white will invalidate the colour selection options, as white is their basis. Again, this is not so much a quirk of the skin as the requirement of the colour picker add-on.
As far as per add-on locking, Kodi simply doesn't provide us with that mechanic. The settings which force view-types in certain add-ons actually use the same mechanic the skin already does, which is why there is mutual bleed through - If you force a view-type within an add-on it will be mirrored in your library and you'll probably get some skin bugs, and if you do it within the skin mechanic, it will affect the add-ons.
Basically, the discrepancies you see are a consequence of poorly written add-ons. Kodi reads only what you give it, and if some images inside the add-ons are mismatched, that's because they were not defined as the right ones. That's why everything looks properly in libraries. There's absolutely no way to control this.