JayZed
9ae684240b
Refactored Shutdown, Restart and exit status codes
2024-03-03 12:00:50 -05:00
morpheus65535
0807bd99b9
Fixed improper closing of resources on exit
2024-01-10 23:04:23 -05:00
Michiel van Baak Jansen
5e68fac4d1
Fixed function to prevent usage of Python 3.7
2023-12-11 18:03:56 -05:00
morpheus65535
c92d574bf2
Added experimental Python 3.11 support
2023-06-23 00:03:23 -04:00
Alexander Regueiro
c501098982
Small fix when getting Python bundle path ( #1854 )
2022-05-28 22:04:26 -04:00
Alexander Regueiro
fcd67c1fb0
Prevent Python dock icon appearing on macOS
2022-05-08 09:19:38 -04:00
morpheus65535
2f01ab8523
Reworked Bazarr file structure to improve support and optimization
2022-05-01 08:00:20 -04:00
morpheus65535
6e52ce2ecf
Added support for Python 3.10 in startup warning.
2021-12-29 11:52:47 -05:00
morpheus65535
402c82d84f
Upgraded some embedded dependencies to be ready for Python 3.10. This doesn't mean that it's fully supported right now.
2021-12-01 15:47:00 -05:00
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