mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2024-11-21 19:18:41 +00:00
Correctly showing downloads with various statuses
Fixed the bug causing an error when a torrent has a status other than 'stopped', 'seeding' or 'downloading'.
This commit is contained in:
parent
50e9e2f286
commit
9e98d1a26b
2 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
|
|||
'downloading': 'down.png'}
|
||||
l.setLabel(torrent.name)
|
||||
l.setLabel2(statusline)
|
||||
l.setProperty('TorrentStatusIcon', statusicons[torrent.status])
|
||||
l.setProperty('TorrentStatusIcon', statusicons.get(torrent.status, 'pending.png'))
|
||||
l.setProperty('TorrentID', str(i))
|
||||
l.setProperty('TorrentProgress', "%.2f" % torrent.progress)
|
||||
l.setInfo('torrent', torrent.fields)
|
||||
|
|
BIN
resources/skins/Default/media/icons/pending.png
Normal file
BIN
resources/skins/Default/media/icons/pending.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in a new issue