mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 03:33:08 +00:00
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:
parent
f4229050d4
commit
0b66396f69
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue