morpheus65535
3b1b67d701
Added an unsupported warning on startup if using Python 3.9
2021-07-07 13:30:12 -04:00
Smaarn
7e304001b6
Rework on child process management.
...
When receiving the SIGTERM signal, swallow it and terminate latest created child process
Catch ChildProcessError (occurs when child process is terminated by the current python script on mac os x)
2020-05-24 14:58:41 +02:00
Louis Vézina
34711665bb
WIP
2020-05-18 19:28:21 -04:00
Louis Vézina
0fb4160407
WIP
2020-05-18 08:56:16 -04:00
Louis Vézina
31ab819079
Fix for #952 .
2020-04-27 23:03:24 -04:00
Louis Vézina
b434ff2666
Simplify daemon mechanism.
2020-04-15 12:54:07 -04:00
Louis Vézina
2c6a4583d0
Simplify daemon mechanism.
2020-04-14 22:21:09 -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
cc61d0188f
Fix for Python 2.7 compatibility regression.
2020-02-16 10:37:55 -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
ngosang
0083ae3137
code cleanup: bazarr
2020-01-31 23:47:18 +01: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
Halali
20b315a368
fix for DeprecationWarning #162
2018-09-29 19:31:31 +02:00
Halali
bfdc6200b7
minor search engine changes
2018-09-26 14:31:47 +02:00
morpheus65535
8d13e5b548
Version bump
2018-09-22 18:10:35 -04:00
morpheus65535
54329b0d2b
Fix for providers auth not used
2018-09-22 18:07:46 -04:00
morpheus65535
0551f2d0b8
Version bump
2018-09-18 00:08:32 -04:00