Code optimization
This commit is contained in:
parent
f3c71fadf2
commit
e3dba1974f
1 changed files with 1 additions and 2 deletions
|
@ -2558,8 +2558,7 @@ class API():
|
|||
"""
|
||||
Add media stream information to xbmcgui.ListItem
|
||||
"""
|
||||
mediastreams = self.getMediaStreams()
|
||||
for key, value in mediastreams.iteritems():
|
||||
for key, value in self.getMediaStreams():
|
||||
if value:
|
||||
listItem.addStreamInfo(key, value)
|
||||
|
||||
|
|
Loading…
Reference in a new issue