Remove unused/broken torrent list info calls

This commit is contained in:
Correl Roush 2014-07-02 19:39:31 -04:00
parent 9306ad115d
commit 98bfc62c5c

View file

@ -90,8 +90,6 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
l.setProperty('TorrentStatusIcon', STATUS_ICONS.get(torrent.status, 'pending.png')) l.setProperty('TorrentStatusIcon', STATUS_ICONS.get(torrent.status, 'pending.png'))
l.setProperty('TorrentID', str(i)) l.setProperty('TorrentID', str(i))
l.setProperty('TorrentProgress', "%3d%%" % torrent.progress) l.setProperty('TorrentProgress', "%3d%%" % torrent.progress)
l.setInfo('torrent', torrent.fields)
l.setInfo('video', {'episode': int(torrent.progress)})
removed = [id for id in self.list.keys() if id not in self.torrents.keys()] removed = [id for id in self.list.keys() if id not in self.torrents.keys()]
if len(removed) > 0: if len(removed) > 0: