Disable media scanning jobs in bootstrap (#618)

* Disable intro scanning and thumbnail generation in bootstrap

* Also disable chapter thumbnails and audio loudness analysis
This commit is contained in:
jjlawren 2020-12-04 16:26:26 -06:00 committed by GitHub
parent f4229050d4
commit 0b66396f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,7 +463,11 @@ if __name__ == "__main__":
server = PlexServer("http://%s:32400" % opts.advertise_ip)
if opts.accept_eula:
server.settings.get("acceptedEULA").set(True)
server.settings.save()
server.settings.get("GenerateBIFBehavior").set("never")
server.settings.get("GenerateChapterThumbBehavior").set("never")
server.settings.get("GenerateIntroMarkerBehavior").set("never")
server.settings.get("LoudnessAnalysisBehavior").set("never")
server.settings.save()
except KeyboardInterrupt:
break