Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
treyzania c436597b83 Added support for overriding the simple-rename action via envvar. il y a 5 ans
.gitignore Set up main script and dev config files. il y a 6 ans
LICENSE.txt Initial commit. il y a 6 ans
README.md Updated README. il y a 5 ans
booty.py Added support for overriding the simple-rename action via envvar. il y a 5 ans
localconfig-plunder Started the "plunder" script. il y a 6 ans
plunder.sh Started the "plunder" script. il y a 6 ans



This is a script for doing things with Plex that make it easier to do other things. I’m not going to say what things those are, but we all know.


  • Filebot

  • unrar

  • Python 3


The default config location is ~/.config/bootybot.conf. Below is an example.

	"outdir": "/mnt/xvol1/plexdata",
	"extractdir": "/tmp/bootybot_extract",
	"simpleaction": "copy",
	"overrides": [
			"name": "The Simpsons",
			"pattern": "The\\.Simpsons\\..*"

The outdir property has the {plex} formatter from Filebot appended to it, so you should not have to worry about handling different media classes (TV, Movies, etc.).

The extractdir is where we extract data from RAR archives into. It usually ends up being emptied after we finish processing, as we move data out of here after extraction.

The simpleaction property is passed to Filebot when processing simple, non-archived media files. I use copy because of how I want to handle dealing with data after it’s been loaded into Plex, but you might want to use move, hardlink, or keeplink depending on what you’re situation is like.

The overrides section is used to enforce that TV shows have their names properly auto-detected, as occasionally Filebot trips up and misses it. If none of the entries match the file then we just hope that Filebot figures it out on its own. Note that the regexes must match the entire filename. So it’s a good idea to put a .* at the end to make sure it matches every file format and from any “distributor”.


Once you’ve configured it, you can just run booty.py in the directory of the “media” you’re trying to prepare.

You can set the BOOTYCFG envvar to override the config location.