Skip to content

Commit

Permalink
Disable media scanning jobs in bootstrap (#618)
Browse files Browse the repository at this point in the history
* Disable intro scanning and thumbnail generation in bootstrap

* Also disable chapter thumbnails and audio loudness analysis
  • Loading branch information
jjlawren authored Dec 4, 2020
1 parent f422905 commit 0b66396
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/plex-bootstraptest.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,11 @@ def alert_callback(data):
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
Expand Down

0 comments on commit 0b66396

Please sign in to comment.