trackma 0.6.2__py3.4.egg → 0.7__py3.4.egg

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. EGG-INFO/PKG-INFO +1 -1
  2. EGG-INFO/SOURCES.txt +9 -6
  3. trackma/__pycache__/__init__.cpython-34.pyc +0 -0
  4. trackma/__pycache__/accounts.cpython-34.pyc +0 -0
  5. trackma/__pycache__/data.cpython-34.pyc +0 -0
  6. trackma/__pycache__/engine.cpython-34.pyc +0 -0
  7. trackma/__pycache__/messenger.cpython-34.pyc +0 -0
  8. trackma/__pycache__/utils.cpython-34.pyc +0 -0
  9. trackma/data/kitsu.png +0 -0
  10. trackma/data.py +26 -16
  11. trackma/engine.py +60 -16
  12. trackma/extras/AnimeInfoExtractor.py +1 -1
  13. trackma/extras/__pycache__/AnimeInfoExtractor.cpython-34.pyc +0 -0
  14. trackma/extras/__pycache__/__init__.cpython-34.pyc +0 -0
  15. trackma/lib/__pycache__/__init__.cpython-34.pyc +0 -0
  16. trackma/lib/__pycache__/lib.cpython-34.pyc +0 -0
  17. trackma/lib/__pycache__/libanilist.cpython-34.pyc +0 -0
  18. trackma/lib/__pycache__/libkitsu.cpython-34.pyc +0 -0
  19. trackma/lib/__pycache__/libmal.cpython-34.pyc +0 -0
  20. trackma/lib/__pycache__/libshikimori.cpython-34.pyc +0 -0
  21. trackma/lib/__pycache__/libvndb.cpython-34.pyc +0 -0
  22. trackma/lib/libanilist.py +3 -3
  23. trackma/lib/libkitsu.py +478 -0
  24. trackma/lib/libmal.py +6 -6
  25. trackma/lib/libshikimori.py +3 -3
  26. trackma/lib/libvndb.py +12 -9
  27. trackma/messenger.py +1 -1
  28. trackma/tracker/__init__.py +0 -0
  29. trackma/tracker/__pycache__/__init__.cpython-34.pyc +0 -0
  30. trackma/tracker/__pycache__/inotify.cpython-34.pyc +0 -0
  31. trackma/tracker/__pycache__/plex.cpython-34.pyc +0 -0
  32. trackma/tracker/__pycache__/polling.cpython-34.pyc +0 -0
  33. trackma/tracker/__pycache__/pyinotify.cpython-34.pyc +0 -0
  34. trackma/tracker/__pycache__/tracker.cpython-34.pyc +0 -0
  35. trackma/tracker/__pycache__/win32.cpython-34.pyc +0 -0
  36. trackma/tracker/inotify.py +123 -0
  37. trackma/tracker/plex.py +99 -0
  38. trackma/tracker/polling.py +55 -0
  39. trackma/tracker/pyinotify.py +143 -0
  40. trackma/tracker/tracker.py +213 -0
  41. trackma/tracker/win32.py +74 -0
  42. trackma/ui/__pycache__/__init__.cpython-34.pyc +0 -0
  43. trackma/ui/__pycache__/cli.cpython-34.pyc +0 -0
  44. trackma/ui/__pycache__/curses.cpython-34.pyc +0 -0
  45. trackma/ui/__pycache__/gtkui.cpython-34.pyc +0 -0
  46. trackma/ui/__pycache__/qt4ui.cpython-34.pyc +0 -0
  47. trackma/ui/__pycache__/qtui.cpython-34.pyc +0 -0
  48. trackma/ui/cli.py +109 -12
  49. trackma/ui/curses.py +87 -29
  50. trackma/ui/gtkui.py +81 -45
  51. trackma/ui/qtui.py +95 -34
  52. trackma/utils.py +15 -9
  53. trackma/__pycache__/tracker.cpython-34.pyc +0 -0
  54. trackma/data/hb.jpg +0 -0
  55. trackma/data/melative.jpg +0 -0
  56. trackma/extras/__pycache__/plex.cpython-34.pyc +0 -0
  57. trackma/extras/plex.py +0 -101
  58. trackma/lib/__pycache__/libhb.cpython-34.pyc +0 -0
  59. trackma/lib/__pycache__/libmelative.cpython-34.pyc +0 -0
  60. trackma/lib/libhb.py +0 -239
  61. trackma/lib/libmelative.py +0 -204
  62. trackma/tracker.py +0 -430
trackma/ui/gtkui.py CHANGED
@@ -692,21 +692,32 @@ class Trackma_gtk():
692
692
  self.error(e)
693
693
 
694
694
  def __do_update_next(self, show, played_ep):
695
- # Thread safe
696
695
  GObject.idle_add(self.task_update_next, show, played_ep)
697
696
 
698
697
  def changed_show(self, show):
698
+ GObject.idle_add(self.task_changed_show, show)
699
+
700
+ def changed_show_title(self, show, altname):
701
+ GObject.idle_add(self.task_changed_show_title, show, altname)
702
+
703
+ def changed_show_status(self, show, old_status=None):
704
+ GObject.idle_add(self.task_changed_show_status, show, old_status)
705
+
706
+ def playing_show(self, show, is_playing, episode):
707
+ GObject.idle_add(self.task_playing_show, show, is_playing, episode)
708
+
709
+ def task_changed_show(self, show):
699
710
  status = show['my_status']
700
711
  self.show_lists[status].update(show)
701
712
  if show['id'] == self.selected_show:
702
713
  self.show_ep_button.set_label(str(show['my_progress']))
703
714
  self.show_score.set_value(show['my_score'])
704
715
 
705
- def changed_show_title(self, show, altname):
716
+ def task_changed_show_title(self, show, altname):
706
717
  status = show['my_status']
707
718
  self.show_lists[status].update_title(show, altname)
708
719
 
709
- def changed_show_status(self, show, old_status=None):
720
+ def task_changed_show_status(self, show, old_status):
710
721
  # Rebuild lists
711
722
  status = show['my_status']
712
723
 
@@ -719,7 +730,7 @@ class Trackma_gtk():
719
730
 
720
731
  self.show_lists[status].select(show)
721
732
 
722
- def playing_show(self, show, is_playing, episode):
733
+ def task_playing_show(self, show, is_playing, episode):
723
734
  status = show['my_status']
724
735
  self.show_lists[status].playing(show, is_playing)
725
736
 
@@ -1801,18 +1812,20 @@ class Settings(Gtk.Window):
1801
1812
  ### Play Next ###
1802
1813
  lbl_player = Gtk.Label('Media Player')
1803
1814
  lbl_player.set_size_request(120, -1)
1815
+ lbl_player.set_xalign(0)
1804
1816
  self.txt_player = Gtk.Entry()
1805
1817
  self.txt_player.set_max_length(4096)
1806
1818
  playerbrowse_button = Gtk.Button('Browse...')
1807
1819
  playerbrowse_button.connect("clicked", self.__do_browse, 'Select player', self.txt_player)
1808
1820
 
1809
1821
  header0 = Gtk.Label()
1810
- header0.set_text('<span size="10000"><b>Play Next</b></span>')
1822
+ header0.set_text('<b>Play Next</b>')
1811
1823
  header0.set_use_markup(True)
1824
+ header0.set_xalign(0)
1812
1825
 
1813
1826
  line0 = Gtk.HBox(False, 5)
1814
- line0.pack_start(lbl_player, False, False, 0)
1815
- line0.pack_start(self.txt_player, False, False, 0)
1827
+ line0.pack_start(lbl_player, False, False, 5)
1828
+ line0.pack_start(self.txt_player, True, True, 0)
1816
1829
  line0.pack_start(playerbrowse_button, False, False, 0)
1817
1830
 
1818
1831
  ### Tracker ###
@@ -1820,16 +1833,22 @@ class Settings(Gtk.Window):
1820
1833
  # Labels
1821
1834
  lbl_process = Gtk.Label('Process Name')
1822
1835
  lbl_process.set_size_request(120, -1)
1836
+ lbl_process.set_xalign(0)
1823
1837
  lbl_searchdir = Gtk.Label('Library Directory')
1824
1838
  lbl_searchdir.set_size_request(120, -1)
1839
+ lbl_searchdir.set_xalign(0)
1825
1840
  lbl_tracker_enabled = Gtk.Label('Enable Tracker')
1826
1841
  lbl_tracker_enabled.set_size_request(120, -1)
1842
+ lbl_tracker_enabled.set_xalign(0)
1827
1843
  lbl_tracker_plex_host_port = Gtk.Label('Host and Port')
1828
1844
  lbl_tracker_plex_host_port.set_size_request(120, -1)
1845
+ lbl_tracker_plex_host_port.set_xalign(0)
1829
1846
  lbl_tracker_update_wait = Gtk.Label('Wait before update')
1830
1847
  lbl_tracker_update_wait.set_size_request(120, -1)
1848
+ lbl_tracker_update_wait.set_xalign(0)
1831
1849
  lbl_tracker_update_options = Gtk.Label('Update options')
1832
1850
  lbl_tracker_update_options.set_size_request(120, -1)
1851
+ lbl_tracker_update_options.set_xalign(0)
1833
1852
 
1834
1853
  # Entries
1835
1854
  self.txt_process = Gtk.Entry()
@@ -1869,43 +1888,45 @@ class Settings(Gtk.Window):
1869
1888
 
1870
1889
  # HBoxes
1871
1890
  header1 = Gtk.Label()
1872
- header1.set_text('<span size="10000"><b>Tracker Options</b></span>')
1891
+ header1.set_text('<b>Tracker Options</b>')
1873
1892
  header1.set_use_markup(True)
1893
+ header1.set_xalign(0)
1874
1894
 
1875
1895
  line1 = Gtk.HBox(False, 5)
1876
- line1.pack_start(lbl_searchdir, False, False, 0)
1896
+ line1.pack_start(lbl_searchdir, False, False, 5)
1877
1897
  line1.pack_start(self.txt_searchdir, True, True, 0)
1878
1898
  line1.pack_start(self.browse_button, False, False, 0)
1879
1899
 
1880
1900
  line2 = Gtk.HBox(False, 5)
1881
- line2.pack_start(lbl_process, False, False, 0)
1901
+ line2.pack_start(lbl_process, False, False, 5)
1882
1902
  line2.pack_start(self.txt_process, True, True, 0)
1883
1903
 
1884
1904
  line7 = Gtk.HBox(False, 5)
1885
- line7.pack_start(lbl_tracker_plex_host_port, False, False, 0)
1905
+ line7.pack_start(lbl_tracker_plex_host_port, False, False, 5)
1886
1906
  line7.pack_start(self.txt_plex_host, True, True, 0)
1887
1907
  line7.pack_start(self.txt_plex_port, True, True, 0)
1888
1908
 
1889
1909
  line3 = Gtk.HBox(False, 5)
1890
- line3.pack_start(lbl_tracker_enabled, False, False, 0)
1910
+ line3.pack_start(lbl_tracker_enabled, False, False, 5)
1891
1911
  line3.pack_start(self.chk_tracker_enabled, False, False, 0)
1892
1912
  line3.pack_start(self.rbtn_tracker_local, False, False, 0)
1893
1913
  line3.pack_start(self.rbtn_tracker_plex, False, False, 0)
1894
1914
 
1895
1915
  line8 = Gtk.HBox(False, 5)
1896
- line8.pack_start(lbl_tracker_update_wait, False, False, 0)
1916
+ line8.pack_start(lbl_tracker_update_wait, False, False, 5)
1897
1917
  line8.pack_start(self.spin_tracker_update_wait, False, False, 0)
1898
1918
  line8.pack_start(Gtk.Label('seconds'), False, False, 0)
1899
1919
 
1900
1920
  line9 = Gtk.HBox(False, 5)
1901
- line9.pack_start(lbl_tracker_update_options, False, False, 0)
1921
+ line9.pack_start(lbl_tracker_update_options, False, False, 5)
1902
1922
  line9.pack_start(self.chk_tracker_update_close, False, False, 0)
1903
1923
  line9.pack_start(self.chk_tracker_update_prompt, False, False, 0)
1904
1924
 
1905
1925
  ### Auto-retrieve ###
1906
1926
  header2 = Gtk.Label()
1907
- header2.set_text('<span size="10000"><b>Auto-retrieve</b></span>')
1927
+ header2.set_text('<b>Auto-retrieve</b>')
1908
1928
  header2.set_use_markup(True)
1929
+ header2.set_xalign(0)
1909
1930
 
1910
1931
  # Radio buttons
1911
1932
  self.rbtn_autoret_off = Gtk.RadioButton.new_with_label_from_widget(None, 'Disabled')
@@ -1929,24 +1950,25 @@ class Settings(Gtk.Window):
1929
1950
 
1930
1951
  ### Auto-send ###
1931
1952
  header3 = Gtk.Label()
1932
- header3.set_text('<span size="10000"><b>Auto-send</b></span>')
1953
+ header3.set_text('<b>Auto-send</b>')
1933
1954
  header3.set_use_markup(True)
1955
+ header3.set_xalign(0)
1934
1956
 
1935
1957
  # Radio buttons
1936
1958
  self.rbtn_autosend_off = Gtk.RadioButton.new_with_label_from_widget(None, 'Disabled')
1937
1959
  self.rbtn_autosend_always = Gtk.RadioButton.new_with_label_from_widget(self.rbtn_autosend_off, 'After every change')
1938
1960
  self.rbtn_autosend_at_exit = Gtk.CheckButton('Auto-send at exit')
1939
1961
 
1940
- self.rbtn_autosend_hours = Gtk.RadioButton.new_with_label_from_widget(self.rbtn_autosend_off, 'After')
1941
- self.spin_autosend_hours = Gtk.SpinButton()
1942
- self.spin_autosend_hours.set_adjustment(Gtk.Adjustment(value=5, lower=1, upper=1000, step_incr=1, page_incr=10))
1943
- self.spin_autosend_hours.set_sensitive(False)
1944
- self.rbtn_autosend_hours.connect("toggled", self.radio_toggled, self.spin_autosend_hours)
1945
- lbl_autosend_hours = Gtk.Label('hours')
1946
- line_autosend_hours = Gtk.HBox(False, 5)
1947
- line_autosend_hours.pack_start(self.rbtn_autosend_hours, False, False, 0)
1948
- line_autosend_hours.pack_start(self.spin_autosend_hours, False, False, 0)
1949
- line_autosend_hours.pack_start(lbl_autosend_hours, False, False, 0)
1962
+ self.rbtn_autosend_minutes = Gtk.RadioButton.new_with_label_from_widget(self.rbtn_autosend_off, 'After')
1963
+ self.spin_autosend_minutes = Gtk.SpinButton()
1964
+ self.spin_autosend_minutes.set_adjustment(Gtk.Adjustment(value=60, lower=1, upper=1000, step_incr=1, page_incr=10))
1965
+ self.spin_autosend_minutes.set_sensitive(False)
1966
+ self.rbtn_autosend_minutes.connect("toggled", self.radio_toggled, self.spin_autosend_minutes)
1967
+ lbl_autosend_minutes = Gtk.Label('minutes')
1968
+ line_autosend_minutes = Gtk.HBox(False, 5)
1969
+ line_autosend_minutes.pack_start(self.rbtn_autosend_minutes, False, False, 0)
1970
+ line_autosend_minutes.pack_start(self.spin_autosend_minutes, False, False, 0)
1971
+ line_autosend_minutes.pack_start(lbl_autosend_minutes, False, False, 0)
1950
1972
 
1951
1973
  self.rbtn_autosend_size = Gtk.RadioButton.new_with_label_from_widget(self.rbtn_autosend_off, 'After the queue is larger than')
1952
1974
  self.spin_autosend_size = Gtk.SpinButton()
@@ -1962,29 +1984,33 @@ class Settings(Gtk.Window):
1962
1984
  line5 = Gtk.VBox(False, 5)
1963
1985
  line5.pack_start(self.rbtn_autosend_off, False, False, 0)
1964
1986
  line5.pack_start(self.rbtn_autosend_always, False, False, 0)
1965
- line5.pack_start(line_autosend_hours, False, False, 0)
1987
+ line5.pack_start(line_autosend_minutes, False, False, 0)
1966
1988
  line5.pack_start(line_autosend_size, False, False, 0)
1967
1989
  line5.pack_start(self.rbtn_autosend_at_exit, False, False, 0)
1968
1990
 
1969
1991
  ### Additional options
1970
1992
  header_additional = Gtk.Label()
1971
- header_additional.set_text('<span size="10000"><b>Additional options</b></span>')
1993
+ header_additional.set_text('<b>Additional options</b>')
1972
1994
  header_additional.set_use_markup(True)
1995
+ header_additional.set_xalign(0)
1973
1996
 
1974
1997
  self.chk_auto_status_change = Gtk.CheckButton('Change status automatically')
1975
1998
  self.chk_auto_status_change_if_scored = Gtk.CheckButton('Change status automatically only if scored')
1976
1999
  self.chk_auto_status_change_if_scored.set_sensitive(False)
1977
2000
  self.chk_auto_status_change.connect("toggled", self.radio_toggled, self.chk_auto_status_change_if_scored)
1978
2001
  self.chk_auto_date_change = Gtk.CheckButton('Change start and finish dates automatically')
2002
+ line_auto_status_change_if_scored = Gtk.HBox(False, 5)
2003
+ line_auto_status_change_if_scored.pack_start(self.chk_auto_status_change_if_scored, False, False, 20)
1979
2004
  line_additional = Gtk.VBox(False, 5)
1980
2005
  line_additional.pack_start(self.chk_auto_status_change, False, False, 0)
1981
- line_additional.pack_start(self.chk_auto_status_change_if_scored, False, False, 0)
2006
+ line_additional.pack_start(line_auto_status_change_if_scored, False, False, 0)
1982
2007
  line_additional.pack_start(self.chk_auto_date_change, False, False, 0)
1983
2008
 
1984
2009
  ### GTK Interface ###
1985
2010
  header4 = Gtk.Label()
1986
- header4.set_text('<span size="10000"><b>GTK Interface</b></span>')
2011
+ header4.set_text('<b>GTK Interface</b>')
1987
2012
  header4.set_use_markup(True)
2013
+ header4.set_xalign(0)
1988
2014
 
1989
2015
  self.chk_show_tray = Gtk.CheckButton('Show Tray Icon')
1990
2016
  self.chk_close_to_tray = Gtk.CheckButton('Close to Tray')
@@ -1998,18 +2024,27 @@ class Settings(Gtk.Window):
1998
2024
  self.chk_show_tray.connect("toggled", self.radio_toggled, self.chk_close_to_tray)
1999
2025
  self.chk_show_tray.connect("toggled", self.radio_toggled, self.chk_start_in_tray)
2000
2026
  self.chk_show_tray.connect("toggled", self.radio_toggled, self.chk_tray_api_icon)
2027
+
2028
+ line_close_to_tray = Gtk.HBox(False, 5)
2029
+ line_close_to_tray.pack_start(self.chk_close_to_tray, False, False, 20)
2030
+ line_start_in_tray = Gtk.HBox(False, 5)
2031
+ line_start_in_tray.pack_start(self.chk_start_in_tray, False, False, 20)
2032
+ line_tray_api_icon = Gtk.HBox(False, 5)
2033
+ line_tray_api_icon.pack_start(self.chk_tray_api_icon, False, False, 20)
2034
+
2001
2035
  line6 = Gtk.VBox(False, 5)
2002
2036
  line6.pack_start(self.chk_show_tray, False, False, 0)
2003
- line6.pack_start(self.chk_close_to_tray, False, False, 0)
2004
- line6.pack_start(self.chk_start_in_tray, False, False, 0)
2005
- line6.pack_start(self.chk_tray_api_icon, False, False, 0)
2037
+ line6.pack_start(line_close_to_tray, False, False, 0)
2038
+ line6.pack_start(line_start_in_tray, False, False, 0)
2039
+ line6.pack_start(line_tray_api_icon, False, False, 0)
2006
2040
  line6.pack_start(self.chk_remember_geometry, False, False, 0)
2007
2041
  line6.pack_start(self.chk_classic_progress, False, False, 0)
2008
2042
 
2009
2043
  ### Colors ###
2010
2044
  header5 = Gtk.Label()
2011
- header5.set_text('<span size="10000"><b>Color Scheme</b></span>')
2045
+ header5.set_text('<b>Color Scheme</b>')
2012
2046
  header5.set_use_markup(True)
2047
+ header5.set_xalign(0)
2013
2048
  self.colors = {}
2014
2049
  pages = [('rows', 'Row text'),
2015
2050
  ('progress','Progress widget')]
@@ -2028,11 +2063,12 @@ class Settings(Gtk.Window):
2028
2063
 
2029
2064
  col_notebook = Gtk.Notebook()
2030
2065
  for (key,tab_title) in pages:
2031
- rows = Gtk.VBox(False, 10)
2066
+ rows = Gtk.VBox(False, 5)
2067
+ rows.set_border_width(10)
2032
2068
  rows_lines = []
2033
2069
  for (c_key,text) in self.colors[key]: # Generate widgets for each color
2034
2070
  line = Gtk.HBox(False, 5)
2035
- label = Gtk.Label(text)
2071
+ label = Gtk.Label(text, xalign=0)
2036
2072
  picker = Gtk.ColorButton.new_with_color(getColor(self.config['colors'][c_key]))
2037
2073
  self.col_pickers[c_key] = picker
2038
2074
  line.pack_start(label, True, True, 0)
@@ -2047,7 +2083,7 @@ class Settings(Gtk.Window):
2047
2083
  notebook = Gtk.Notebook()
2048
2084
 
2049
2085
  page0 = Gtk.VBox(False, 10)
2050
- page0.set_border_width(5)
2086
+ page0.set_border_width(10)
2051
2087
  page0.pack_start(header0, False, False, 0)
2052
2088
  page0.pack_start(line0, False, False, 0)
2053
2089
  page0.pack_start(header1, False, False, 0)
@@ -2059,7 +2095,7 @@ class Settings(Gtk.Window):
2059
2095
  page0.pack_start(line9, False, False, 0)
2060
2096
 
2061
2097
  page1 = Gtk.VBox(False, 10)
2062
- page1.set_border_width(5)
2098
+ page1.set_border_width(10)
2063
2099
  page1.pack_start(header2, False, False, 0)
2064
2100
  page1.pack_start(line4, False, False, 0)
2065
2101
  page1.pack_start(header3, False, False, 0)
@@ -2068,7 +2104,7 @@ class Settings(Gtk.Window):
2068
2104
  page1.pack_start(line_additional, False, False, 0)
2069
2105
 
2070
2106
  page2 = Gtk.VBox(False, 10)
2071
- page2.set_border_width(5)
2107
+ page2.set_border_width(10)
2072
2108
  page2.pack_start(header4, False, False, 0)
2073
2109
  page2.pack_start(line6, False, False, 0)
2074
2110
  page2.pack_start(header5, False, False, 0)
@@ -2111,13 +2147,13 @@ class Settings(Gtk.Window):
2111
2147
 
2112
2148
  if self.engine.get_config('autosend') == 'always':
2113
2149
  self.rbtn_autosend_always.set_active(True)
2114
- elif self.engine.get_config('autosend') == 'hours':
2115
- self.rbtn_autosend_hours.set_active(True)
2150
+ elif self.engine.get_config('autosend') in ('minutes', 'hours'):
2151
+ self.rbtn_autosend_minutes.set_active(True)
2116
2152
  elif self.engine.get_config('autosend') == 'size':
2117
2153
  self.rbtn_autosend_size.set_active(True)
2118
2154
 
2119
2155
  self.spin_autoret_days.set_value(self.engine.get_config('autoretrieve_days'))
2120
- self.spin_autosend_hours.set_value(self.engine.get_config('autosend_hours'))
2156
+ self.spin_autosend_minutes.set_value(self.engine.get_config('autosend_minutes'))
2121
2157
  self.spin_autosend_size.set_value(self.engine.get_config('autosend_size'))
2122
2158
 
2123
2159
  self.chk_auto_status_change.set_active(self.engine.get_config('auto_status_change'))
@@ -2162,15 +2198,15 @@ class Settings(Gtk.Window):
2162
2198
  # Auto-send
2163
2199
  if self.rbtn_autosend_always.get_active():
2164
2200
  self.engine.set_config('autosend', 'always')
2165
- elif self.rbtn_autosend_hours.get_active():
2166
- self.engine.set_config('autosend', 'hours')
2201
+ elif self.rbtn_autosend_minutes.get_active():
2202
+ self.engine.set_config('autosend', 'minutes')
2167
2203
  elif self.rbtn_autosend_size.get_active():
2168
2204
  self.engine.set_config('autosend', 'size')
2169
2205
  else:
2170
2206
  self.engine.set_config('autosend', 'off')
2171
2207
 
2172
2208
  self.engine.set_config('autoretrieve_days', self.spin_autoret_days.get_value_as_int())
2173
- self.engine.set_config('autosend_hours', self.spin_autosend_hours.get_value_as_int())
2209
+ self.engine.set_config('autosend_minutes', self.spin_autosend_minutes.get_value_as_int())
2174
2210
  self.engine.set_config('autosend_size', self.spin_autosend_size.get_value_as_int())
2175
2211
 
2176
2212
  self.engine.set_config('auto_status_change', self.chk_auto_status_change.get_active())