summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccroha@tau.local>2012-11-03 14:12:35 +0000
committerJonathan McCrohan <jmccroha@tau.local>2012-11-03 14:12:35 +0000
commitd2881e172435f194febad15ea0403ab5bc4f8fb3 (patch)
treea80d02a65125be0020f10231c300e3e3c7db8a23
parenta5d2e744d59f5b8d1638f44591bdaf5d538c3443 (diff)
downloadtransmission-remote-cli-d2881e172435f194febad15ea0403ab5bc4f8fb3.tar.gz
Imported Upstream version 1.4.4upstream/1.4.4
Diffstat (limited to '')
-rw-r--r--NEWS5
-rwxr-xr-xtransmission-remote-cli14
2 files changed, 13 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index b26ae4b..cb9a117 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+1.4.4 2012-10-30
+ BUGFIXES:
+ - Fix crash when changing priority of all files of a torrent
+
+
1.4.3 2012-10-18
- Support for Transmission version 2.73
diff --git a/transmission-remote-cli b/transmission-remote-cli
index 3a3eac8..067b22c 100755
--- a/transmission-remote-cli
+++ b/transmission-remote-cli
@@ -16,7 +16,7 @@
# http://www.gnu.org/licenses/gpl-3.0.txt #
########################################################################
-VERSION = '1.4.3'
+VERSION = '1.4.4'
TRNSM_VERSION_MIN = '1.90'
TRNSM_VERSION_MAX = '2.73'
@@ -1953,17 +1953,19 @@ class Interface:
break
def create_filelist(self):
- filelist = []
files = sorted(self.torrent_details['files'], cmp=lambda x,y: cmp(x['name'], y['name']))
+ # Build new mapping between sorted local files and transmission-daemon's unsorted files
+ self.file_index_map = {}
+ for index,file in enumerate(files):
+ self.file_index_map[index] = self.torrent_details['files'].index(file)
+
+ filelist = []
current_folder = []
current_depth = 0
- index = 0
pos = 0
pos_before_focus = 0
- # Build new mapping between sorted local files and transmission-daemon's unsorted files
- self.file_index_map = {}
+ index = 0
for file in files:
- self.file_index_map[index] = self.torrent_details['files'].index(file)
f = file['name'].split('/')
f_len = len(f) - 1
if f[:f_len] != current_folder:
GPS plugin V0.2 by michumichael1-69/+267 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@841 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-09-09email address changedmichael107-109/+109 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@840 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-07-27Fix compilation with kernel 2.6.22 by Guillaume LECERFmichael1-1/+4 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@833 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-07-27MPD plugin patch from michumichael1-1/+22 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@832 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-07-27GPS plugin update by michumichael1-131/+248 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@831 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-07-27indentationmichael2-106/+108 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@830 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-21default for Brightness is 255volker1-1/+1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@813 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-20LCD::brightness in drv_X11 correctedvolker1-2/+10 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@812 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-20global variable for backlight colorvolker1-0/+1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@810 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-20keypad support completed; new property brightness implementedvolker1-40/+175 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@809 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-20maximum value for brightness is 8volker1-2/+2 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@808 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-17buttons for X11 driver (thanks to Volker Gering)michael1-8/+49 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@807 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-17Apple has no utsbuf.domainname (thanks to Volker Gering)michael1-1/+1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@806 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-17strndup() replacementmichael1-0/+24 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@805 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-17better usage output by Volker Geringmichael1-4/+20 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@804 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-08Image driver libgd dependancy fixmichael5-6/+31 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@803 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-06-04big MPD patch from Robert Buchholzmichael1-79/+86 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@802 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-05-19gps plugin, code by michu / www.neophob.commichael7-0/+580 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@801 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-05-17compile error on m68k fixed (debian bug 405898)michael3-10/+170 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@799 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-05-04typo in LUIse driver fixedmichael1-1/+1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@798 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-05-02some compiler warnings fixedmichael6-8/+14 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@797 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-04-30LCD4Linux-0.10.1-RC2michael1-1/+1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@796 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-04-30ChangeLog updatedmichael1-1782/+3099 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@795 3ae390bd-cb1e-0410-b409-cd5a39f66f1f 2007-04-30svn2cl moved and optimizedmichael1-6/+0 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@794 3ae390bd-cb1e-0410-b409-cd5a39f66f1f