morpheus65535
03dc2109f3
no log: pep8 fix
7 months ago
morpheus65535
abc4500443
Additional fix for restart process. #2456
7 months ago
JayZed
9ae684240b
Refactored Shutdown, Restart and exit status codes
9 months ago
morpheus65535
0807bd99b9
Fixed improper closing of resources on exit
11 months ago
Michiel van Baak Jansen
5e68fac4d1
Fixed function to prevent usage of Python 3.7
12 months ago
morpheus65535
c92d574bf2
Added experimental Python 3.11 support
1 year ago
Alexander Regueiro
c501098982
Small fix when getting Python bundle path ( #1854 )
3 years ago
Alexander Regueiro
fcd67c1fb0
Prevent Python dock icon appearing on macOS
3 years ago
morpheus65535
2f01ab8523
Reworked Bazarr file structure to improve support and optimization
3 years ago
morpheus65535
6e52ce2ecf
Added support for Python 3.10 in startup warning.
3 years ago
morpheus65535
402c82d84f
Upgraded some embedded dependencies to be ready for Python 3.10. This doesn't mean that it's fully supported right now.
3 years ago
morpheus65535
3b1b67d701
Added an unsupported warning on startup if using Python 3.9
3 years ago
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)
5 years ago
Louis Vézina
34711665bb
WIP
5 years ago
Louis Vézina
0fb4160407
WIP
5 years ago
Louis Vézina
31ab819079
Fix for #952 .
5 years ago
Louis Vézina
b434ff2666
Simplify daemon mechanism.
5 years ago
Louis Vézina
2c6a4583d0
Simplify daemon mechanism.
5 years ago
Louis Vézina
f319fc4906
Merge remote-tracking branch 'origin/development' into development
5 years ago
Louis Vézina
2bcb5a6030
Bazarr won't start anymore when launched with Python ealier than 3.7. No more compatibility with 2.7.x
5 years ago
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
5 years ago
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.
5 years ago
Louis Vézina
cc61d0188f
Fix for Python 2.7 compatibility regression.
5 years ago
Smaarn
6c0d2926b8
change: log redirection mechanism
...
Rely on native output and error stream printing.
Blocked input reading
5 years ago
ngosang
0083ae3137
code cleanup: bazarr
5 years ago
Smaarn
02c3c98cf8
Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes.
...
Reverted the change for Python 2
5 years ago
Smaarn
e26f7fc49e
Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes.
5 years ago
Louis Vézina
e4b6020f63
Added stdout flush even for Python 2.x.
5 years ago
Louis Vézina
0df9b70558
Fix for stdout/stderr logging under Python 3.x.
5 years ago
Louis Vézina
1eb174d9ef
Fix for restarting since Python 3.
5 years ago
Louis Vézina
96f44c6a80
WIP
5 years ago
Louis Vézina
2b2fd4e8d7
WIP
5 years ago
Louis Vézina
bcc4183ef3
WIP
5 years ago
Louis Vézina
b055d89b4f
Merge branch 'development' into python3
...
# Conflicts:
# bazarr.py
# bazarr/get_subtitle.py
5 years ago
Louis Vézina
e7bebc495f
Fix for Python minor version containing something else than digits.
5 years ago
Louis Vézina
645952c61a
WIP
5 years ago
Louis Vézina
fef399d0a4
Fix for Python version check when there's a "+" sign in revision number.
5 years ago
Louis Vézina
dc510c71e3
Added a check for Python version.
5 years ago
Halali
daa6d87e76
Reformat code
6 years ago
ngosang
42bbd7439e
Reduce CPU, Disk and Memory usage
6 years ago
panni
f692930e26
rewrite get_argv to get_args; use in daemon and bazarr; fix os.path.join usage; PEPify most
6 years ago
panni
6cc97a17cd
make bazarr a module; use centralized getopt in daemon; add --debug option for console handler; add logging dependencies
6 years ago
Louis Vézina
376ee719fb
Fix for arguments not passed correctly to child process.
6 years ago
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.
6 years ago
Louis Vézina
67b722cce1
Continuing development
6 years ago
Louis Vézina
8a1dc9e275
Flushing stdout buffer
6 years ago
Louis Vézina
9c28c30ec8
Add link to restart and manage KeyboardInterrupt
6 years ago
Louis Vézina
a88672070e
Cherrypy test
6 years ago
Louis Vézina
21104b4407
Continuing development
6 years ago
morpheus65535
1cccd810ae
Auto reload after restart
6 years ago