Commit Graph

215 Commits

Author SHA1 Message Date
Louis Vézina 63c60b2c1f WIP 2020-04-15 11:32:40 -04:00
Louis Vézina 1b0e721a9d WIP 2020-04-15 00:02:44 -04:00
Louis Vézina b2d8d49495 WIP 2020-04-12 09:29:43 -04:00
Louis Vézina 1f25fdde2f Merge branch 'development' into hermes
# Conflicts:
#	bazarr.py
#	bazarr/main.py
#	views/menu.tpl
2020-04-12 09:02:17 -04:00
Louis Vézina f319fc4906 Merge remote-tracking branch 'origin/development' into development 2020-04-12 08:52:37 -04:00
Louis Vézina 2bcb5a6030 Bazarr won't start anymore when launched with Python ealier than 3.7. No more compatibility with 2.7.x 2020-04-12 08:50:25 -04:00
Smaarn 2ee437e45b [Python 3 only] Changed SIGTERM signal handling.
Now the first SIGTERM will propagate a SIGINT to child processes.

A second SIGTERM signal would send a SIGTERM to child processes and "interrupt" itself.

A third SIGTERM signal would actually follow the default system behaviour.

# Conflicts:
#	bazarr.py
2020-04-11 18:15:15 +02:00
Louis Vézina 8f1d6883e7 Increased minimal version of Python 3.x to 3.7 instead of 3.6. We have too much trouble with 3.6 and some of our dependencies don't support it anymore. 2020-04-11 08:05:12 -04:00
Louis Vézina 710db7e94f WIP 2020-02-16 11:42:16 -05:00
Louis Vézina fc3923ad81 Merge branch 'development' into hermes
# Conflicts:
#	bazarr/main.py
#	libs/version.txt
#	views/menu.tpl
2020-02-16 11:41:17 -05:00
Louis Vézina cc61d0188f Fix for Python 2.7 compatibility regression. 2020-02-16 10:37:55 -05:00
Louis Vézina d933108766 Merge branch 'development' into hermes
# Conflicts:
#	bazarr.py
#	bazarr/get_series.py
#	bazarr/list_subtitles.py
#	bazarr/main.py
2020-02-10 19:42:17 -05:00
Smaarn 6c0d2926b8 change: log redirection mechanism
Rely on native output and error stream printing.
Blocked input reading
2020-02-09 13:23:56 +01:00
Louis Vézina 1f82645e1d WIP 2020-01-31 22:24:47 -05:00
Louis Vézina a8e27a6a79 Merge branch 'development' into Flask
# Conflicts:
#	bazarr.py
#	bazarr/get_series.py
#	bazarr/main.py
#	bazarr/scheduler.py
#	views/historymovies.tpl
#	views/historyseries.tpl
#	views/menu.tpl
2020-01-31 21:54:53 -05:00
ngosang 0083ae3137 code cleanup: bazarr 2020-01-31 23:47:18 +01:00
Louis Vézina 21fe339d3f WIP 2020-01-30 10:36:33 -05:00
Louis Vézina 091f9270fb Merge branch 'development' into Flask
# Conflicts:
#	bazarr.py
#	bazarr/main.py
#	views/menu.tpl
#	views/providers.tpl
#	views/settings.tpl
#	views/settings_general.tpl
#	views/settings_radarr.tpl
#	views/settings_subtitles.tpl
2020-01-30 10:33:58 -05:00
Louis Vézina 2a77abc918 WIP 2020-01-30 10:14:51 -05:00
Smaarn 02c3c98cf8 Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes.
Reverted the change for Python 2
2020-01-19 14:46:27 +01:00
Smaarn e26f7fc49e Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes. 2020-01-14 20:54:57 +01:00
Louis Vézina e4b6020f63 Added stdout flush even for Python 2.x. 2019-12-14 09:30:58 -05:00
Louis Vézina 0df9b70558 Fix for stdout/stderr logging under Python 3.x. 2019-12-08 20:43:09 -05:00
Louis Vézina 1eb174d9ef Fix for restarting since Python 3. 2019-12-06 22:40:40 -05:00
Louis Vézina 96f44c6a80 WIP 2019-09-28 12:38:26 -04:00
Louis Vézina 2b2fd4e8d7 WIP 2019-09-23 16:21:24 -04:00
Louis Vézina bcc4183ef3 WIP 2019-09-22 22:27:23 -04:00
Louis Vézina b055d89b4f Merge branch 'development' into python3
# Conflicts:
#	bazarr.py
#	bazarr/get_subtitle.py
2019-09-22 20:38:43 -04:00
Louis Vézina e7bebc495f Fix for Python minor version containing something else than digits. 2019-09-18 11:35:19 -04:00
Louis Vézina 645952c61a WIP 2019-09-13 15:12:26 -04:00
Louis Vézina fef399d0a4 Fix for Python version check when there's a "+" sign in revision number. 2019-09-08 07:59:08 -04:00
Louis Vézina dc510c71e3 Added a check for Python version. 2019-09-05 11:30:14 -04:00
Halali daa6d87e76 Reformat code 2019-06-11 20:45:48 +02:00
ngosang 42bbd7439e Reduce CPU, Disk and Memory usage 2019-06-01 01:14:40 +02:00
panni f692930e26 rewrite get_argv to get_args; use in daemon and bazarr; fix os.path.join usage; PEPify most 2018-10-31 20:34:40 +01:00
panni 6cc97a17cd make bazarr a module; use centralized getopt in daemon; add --debug option for console handler; add logging dependencies 2018-10-31 18:09:46 +01:00
Louis Vézina 376ee719fb Fix for arguments not passed correctly to child process. 2018-10-16 21:55:30 -04:00
Louis Vézina e124e1c3fd Fix to create daemon stop and restart file in config_dir. Add a fix for automatic reloading after restart when using a reverse proxy with SSL. 2018-10-16 21:15:42 -04:00
Louis Vézina 67b722cce1 Continuing development 2018-10-16 10:58:25 -04:00
Louis Vézina 8a1dc9e275 Flushing stdout buffer 2018-10-16 08:48:25 -04:00
Louis Vézina 9c28c30ec8 Add link to restart and manage KeyboardInterrupt 2018-10-14 09:32:16 -04:00
Louis Vézina a88672070e Cherrypy test 2018-10-11 20:50:33 -04:00
Louis Vézina 21104b4407 Continuing development 2018-10-10 21:23:30 -04:00
morpheus65535 1cccd810ae Auto reload after restart 2018-10-10 07:15:06 -04:00
morpheus65535 3008c7a746 Fix for main.py not found 2018-10-09 19:47:32 -04:00
Louis Vézina 1137090735 Moving everything else bazarr.py to a bazarr subdirectory. 2018-10-04 14:16:49 -04:00
Louis Vézina 53b52d364e More development 2018-10-03 17:01:10 -04:00
morpheus65535 f2497685e8 Renamed bazarr.py in main.py and daemon.py in bazarr.py 2018-10-03 06:53:22 -04:00
morpheus65535 cb385d8706 Initial commit 2018-10-02 22:31:20 -04:00
Halali a6da80645d add fix for #151 to save_settings 2018-09-29 21:31:31 +02:00