Code optimization

This commit is contained in:
croneter 2017-10-06 08:42:04 +02:00
parent f3c71fadf2
commit e3dba1974f

View file

@ -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)