mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 21:20:18 +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,6 +463,10 @@ if __name__ == "__main__":
|
||||||
server = PlexServer("http://%s:32400" % opts.advertise_ip)
|
server = PlexServer("http://%s:32400" % opts.advertise_ip)
|
||||||
if opts.accept_eula:
|
if opts.accept_eula:
|
||||||
server.settings.get("acceptedEULA").set(True)
|
server.settings.get("acceptedEULA").set(True)
|
||||||
|
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()
|
server.settings.save()
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in a new issue