mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2024-11-24 19:19:56 +00:00
Remove unused/broken torrent list info calls
This commit is contained in:
parent
9306ad115d
commit
98bfc62c5c
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue