2014-02-12, 16:49
If I want to have statistics displayed on Home menu for custom menu :
I have to scan the entire smart playlist to count how many items are watched or unwatched.
By using the same function Martijn use in skin widget, I think that the script will be faster but as I put a limit on JSON query, JSON will only return 12 items in Ace case, even if smart playlist contains hundreds of movies.
So statistics will be wrong on Home menu for the specific custom menu.
Please user xbmclogs instead of pastebin, pastebin is blocked by my firewall at the office
I have to scan the entire smart playlist to count how many items are watched or unwatched.
By using the same function Martijn use in skin widget, I think that the script will be faster but as I put a limit on JSON query, JSON will only return 12 items in Ace case, even if smart playlist contains hundreds of movies.
So statistics will be wrong on Home menu for the specific custom menu.
Please user xbmclogs instead of pastebin, pastebin is blocked by my firewall at the office