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
|
Add media stream information to xbmcgui.ListItem
|
||||||
"""
|
"""
|
||||||
mediastreams = self.getMediaStreams()
|
for key, value in self.getMediaStreams():
|
||||||
for key, value in mediastreams.iteritems():
|
|
||||||
if value:
|
if value:
|
||||||
listItem.addStreamInfo(key, value)
|
listItem.addStreamInfo(key, value)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue