From a8d4e2b8c19bc8d7eca2adf1c20b9b8caf5c9771 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 9 Oct 2017 22:12:30 +0200 Subject: [PATCH] Fix ValueError for channels --- resources/lib/PlexAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index 9017ec9a..da08ea42 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -2558,7 +2558,7 @@ class API(): """ Add media stream information to xbmcgui.ListItem """ - for key, value in self.getMediaStreams(): + for key, value in self.getMediaStreams().iteritems(): if value: listItem.addStreamInfo(key, value)