Skip to content

Commit

Permalink
v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuk committed Nov 7, 2017
1 parent 724ff53 commit 5c78fa3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.plex"
name="Plex"
version="0.1.2"
version="0.1.3"
provider-name="Plex">
<requires>
<import addon="xbmc.python" version="2.24.0"/>
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[- 0.1.3 -]

Fix incompatibility with requests module update

[- 0.1.2 -]

Fix issue with hubs not showing with (newer?) server versions
Expand Down
2 changes: 1 addition & 1 deletion lib/_included_packages/plexnet/asyncadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def cancel(self):


class AsyncPoolManager(PoolManager):
def _new_pool(self, scheme, host, port):
def _new_pool(self, scheme, host, port, request_context=None):
"""
Create a new :class:`ConnectionPool` based on host, port and scheme.
Expand Down
22 changes: 14 additions & 8 deletions lib/windows/kodigui.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,19 @@ def _updateItems(self, bottom=None, top=None):
bottom = 0
top = self.size()

for idx in range(bottom, top):
li = self.control.getListItem(idx)
mli = self.items[idx]
self._properties.update(mli.properties)
mli._manager = self
mli._listItem = li
mli._updateListItem()
try:
for idx in range(bottom, top):
li = self.control.getListItem(idx)
mli = self.items[idx]
self._properties.update(mli.properties)
mli._manager = self
mli._listItem = li
mli._updateListItem()
except RuntimeError:
xbmc.log('kodigui.ManagedControlList._updateItems: Runtime error', xbmc.LOGNOTICE)
return False

return True

def _nextID(self):
self._idCounter += 1
Expand Down Expand Up @@ -440,7 +446,7 @@ def replaceItem(self, pos, mli):
def replaceItems(self, managed_items):
if not self.items:
self.addItems(managed_items)
return
return True

oldSize = self.size()

Expand Down

0 comments on commit 5c78fa3

Please sign in to comment.