2017-03-04, 17:55
(2017-03-04, 16:47)tocinillo Wrote: Hi Alanon!
I noticied that my Linux HTPC based was 100% CPU Usage when I use yout Eminence 2 MOD skin. If I switch to official Eminence 2 the problem is gone. So I'm testing replacing the xml files and finaly I found the problem.
The problem is the Includes_Object.xml file. If I delete these lines:
The CPU usage is perfect. With the lines, 100% CPU usage again.
I found that problem is only present in Linux distro...I don't know why.
Thanks and regards
First off, let me say I've never used Linux, so I can't comment on that side of things. However, if I had to guess, I'd say that the problem is not in the code, but what the code enables. That include defines the use of the alphabet scrollbar, which is a special feature of Skin Helper. It enumerates the contents of whatever container you're in (videos, tvshows, add-ons, etc.) in order to present you with an alphabet bar. When you click on a letter in that bar, it leads you to the point in the list which starts in that letter name. It starts processing this info every time a new list is entered, which should explain the constancy of the CPU bottleneck, as I presume linux has certain ways of dealing with the load that's not congenial to the add-on.
There's no real way of fixing this in the skin, I'll write to marcel, hopefully he might have an idea. In the meantime, I think you can find the same feature in skins like Madnox or Titan, have you had similar issues there as well?
Also, instead of deleting the code, have you tried ticking the skin setting off? "Use alphabet scrollbar" controls whether the include will be used in the views. It should be the easiest way to bypass the issue, since the plugin wouldn't even be started. Could you test this?
Hope I've been of some help.