Tweak use of in memory cache.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 11 Jun 2017 11:59:21 +0000 (13:59 +0200)
committers.golasch <s.golasch@telekom.de>
Sat, 5 Aug 2017 18:09:16 +0000 (20:09 +0200)
commit885d0084883d67d0c9a58669baebb25f097b47dc
tree04b512b7ac78d0f9c79a02854d1b6f0ac278afc3
parent284dd0d3f0a7763fafe1a71c4a45d45b21a7d217
Tweak use of in memory cache.

Previously we used to load the cache once to check if the requested
item was in there, and then another time to actually load it.

Combine both functions into one for less overhead.

Signed-off-by: s.golasch <s.golasch@telekom.de>
resources/lib/KodiHelper.py
resources/lib/Navigation.py