diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d051a08..dfe78d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v1.4.24 (2017-10-01) + +* Fix: New Plex Web urls. (Thanks @Joshua1337) +* Fix: Fallback to the product name if the player title is blank. +* New: Added no forking option to startup arguments. (Thanks @Vashypooh) + + ## v1.4.23 (2017-09-30) * Fix: Playstation 4 platform name. diff --git a/PlexPy.py b/PlexPy.py index c5ec2373..1b1bc3b4 100755 --- a/PlexPy.py +++ b/PlexPy.py @@ -92,7 +92,9 @@ def main(): '--nolaunch', action='store_true', help='Prevent browser from launching on startup') parser.add_argument( '--pidfile', help='Create a pid file (only relevant when running as a daemon)') - + parser.add_argument( + '--nofork', action='store_true', help='Start PlexPy as a service, do not fork when restarting') + args = parser.parse_args() if args.verbose: @@ -116,6 +118,10 @@ def main(): plexpy.DAEMON = True plexpy.QUIET = True + if args.nofork: + plexpy.NOFORK = True + logger.info("PlexPy is running as a service, it will not fork when restarted.") + if args.pidfile: plexpy.PIDFILE = str(args.pidfile) diff --git a/data/interfaces/default/info.html b/data/interfaces/default/info.html index cf57413d..f85136a2 100644 --- a/data/interfaces/default/info.html +++ b/data/interfaces/default/info.html @@ -116,9 +116,9 @@ DOCUMENTATION :: END