summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rwxr-xr-xtransmission-remote-cli.py12
2 files changed, 14 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 353f04d..93d4832 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+1.2.1 2012-04-29
+ BUGFIXES:
+ - Fix crash when enabling compact mode while focusing torrent at
+ bottom
+
+
1.2 2012-04-25
BUGFIXES:
- Rewrite of manpage to eliminate warnings and conform to the man
diff --git a/transmission-remote-cli.py b/transmission-remote-cli.py
index 8a2497b..948d966 100755
--- a/transmission-remote-cli.py
+++ b/transmission-remote-cli.py
@@ -16,7 +16,7 @@
# http://www.gnu.org/licenses/gpl-3.0.txt #
########################################################################
-VERSION = '1.2'
+VERSION = '1.2.1'
TRNSM_VERSION_MIN = '1.90'
TRNSM_VERSION_MAX = '2.51'
@@ -889,11 +889,9 @@ class Interface:
self.manage_layout()
def manage_layout(self):
- self.tlist_item_height = 3 if not self.compact_list else 1
+ self.recalculate_torrents_per_page()
self.pad_height = max((len(self.torrents)+1) * self.tlist_item_height, self.height)
self.pad = curses.newpad(self.pad_height, self.width)
- self.mainview_height = self.height - 2
- self.torrents_per_page = self.mainview_height / self.tlist_item_height
self.detaillistitems_per_page = self.height - 8
if self.selected_torrent > -1:
@@ -930,6 +928,10 @@ class Interface:
new_width = max(self.rateUpload_width, new_width) # don't shrink
return new_width
+ def recalculate_torrents_per_page(self):
+ self.tlist_item_height = 3 if not self.compact_list else 1
+ self.mainview_height = self.height - 2
+ self.torrents_per_page = self.mainview_height / self.tlist_item_height
def run(self):
self.draw_title_bar()
@@ -1387,6 +1389,8 @@ class Interface:
def toggle_compact_torrentlist(self, c):
self.compact_list = not self.compact_list
+ self.recalculate_torrents_per_page()
+ self.follow_list_focus()
def move_torrent(self, c):
if self.focus > -1:
ic-bird-1.htm Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 2018-05-10dtv-scan-tables - dvb-s - update and rename the config file for ↵leny@netcourrier.com1-53/+663 Atlantic-Bird-3-5.0W - Ku Band Hello, The latest update for the file Atlantic-Bird-3-5.0W (Ku Band) is 2015-03-28: https://git.linuxtv.org/dtv-scan-tables.git/log/dvb-s/Atlantic-Bird-3-5.0W but since March 2015 there are a lot of changes in the tranponders list. And now, a lot of transponders for Algerian, French and Italian TV and Radio channels are missing. Attached is an updated config scan file (Atlantic-Bird-3-5.0W.patch file) for Atlantic-Bird-3-5.0W transponders in dvbv5 format. Could you please ensure that this new patch is committed into the DVB source code tree repositery? PS : Attached there is also the full up to date file : Atlantic-Bird-3-5.0W-2017-01-09.NEW.FULL if you need it Thank you Best regards 2018-05-10Add another initial transponder for Ziggo/Netherlands.Jens Peters1-0/+8 Ziggo and UPC had merged, but the initial UPC transponder is still the correct one for former UPC customers. See also https://gathering.tweakers.net/forum/list_message/31632914#31632914