a helper tool to remove and filter movies based on ratings

Plex-helper

A helper tool to remove and filter movies based on Rotton Tomatoes ratings. This is built primarly for my own use but I figured I would share it. I was trying to clear some space in my Plex and I realized how many old movies I downloaded that were high quality 10GB files of absolute shit (Jupiter Ascending in 4k). This helps clear out some of the cruft.

Setup

  • Download binary from release
  • chmod +x the binary to make it executable chmod +x plex-helper-*
  • rename the binary to be plex-helper if it makes it easier on you mv plex-helper-* plex-helper
  • Move binary to /usr/local/bin or /usr/bin/ mv plex-helper /usr/local/bin/
  • If you are on mac you may have to allow permissions for a non apple store app (Apple menu > System Preferences, click Security & Privacy , click General)
  • Know the ip (public or private) of your Plex server
  • Retrieve plex auth token https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Use Cases

  • Allows users to list/delete movies/shows based on rating
  • Allows users to choose movies(or shows) to keep (because we all have those 40% RT cult classics that we love...Eurotrip)

Common Commands

plex-helper list <movies|shows> --ip-addr <plex-ipaddr> --token <token> --rating 5 # list movies or shows with RT score of 5 or less

plex-helper list <movies|shows> --ip-addr <plex-ipaddr> --token <token> --rating 5 --minimal # non pretty output of shows/movies

plex-helper delete <movies|shows> --ip-addr <plex-ipaddr> --token <token> --rating 5 # delete shows with RT score of 5 or less

plex-helper list <movies|shows> --ip-addr <plex-ipaddr> --token <token> --rating 10 --minimal # just get a list of all your movies or shows

Attention

  • Be careful when using this!! This can wipe out alot of shows/movies by accident if you are not careful. There are prompts to help guide you but it can't save you from yourself

Notes

  • I have only really used this on Mac or some kind of linux distribution. I have no idea how this will work on windows (even though i will build a binary for it)
Similar Resources

The Markdown-based note-taking app that doesn't suck.

The Markdown-based note-taking app that doesn't suck.

Notable I couldn't find a note-taking app that ticked all the boxes I'm interested in: notes are written and rendered in GitHub Flavored Markdown, no

Jan 2, 2023

Generate markdown formatted sprint updates based on the Jira tickets were involved in the given sprint.

Generate markdown formatted sprint updates based on the Jira tickets were involved in the given sprint.

Nov 15, 2021

Effortless customization for markdown-based SvelteKit blogs!

reece Effortless customization for markdown-based SvelteKit blogs! Installation Install using: One-Script Installation (Linux): curl -sfL https://gith

Dec 11, 2021

PipeIt is a text transformation, conversion, cleansing and extraction tool.

PipeIt is a text transformation, conversion, cleansing and extraction tool.

PipeIt PipeIt is a text transformation, conversion, cleansing and extraction tool. Features Split - split text to text array by given separator. Regex

Aug 15, 2022

A Package Searching and Installation tool for Go Projects.

Gosearch A Package Searching and Installation tool for Go Projects. Installation go install github.com/kinensake/[email protected] Usage gosearch pack

Dec 19, 2022

OAS 3.1 Validation and Diff CLI Tool

oas-diff OAS 3.1 Validation and Diff Tool Requisits Go 1.17+ Run Build make build Run ./build/oasdiff --help Examples Validate ./build/oasdiff valid

May 12, 2022

Go Resume is a resume tailoring tool with super powers 🚀

Go Resume is a resume tailoring tool with super powers 🚀 Building 🛠 Dependencies Go NodeJS Latex Installation Steps Clone the repo with gi

Jan 13, 2022

Your dev tool to manage /etc/hosts like a pro!

Your dev tool to manage /etc/hosts like a pro!

hostctl This tool gives you more control over the use of your hosts file. You can have multiple profiles and switch them on/off as you need. Why? It i

Jan 2, 2023

A targeted word list generation tool

A targeted word list generation tool

dirtywords Inspired by gau, dirtywords builds targeted wordlists for a given domain using "dirty" knowledge from AlienVault's Open Threat Exchange, th

Dec 3, 2022
Comments
  • Setup Airbrake for your Go application

    Setup Airbrake for your Go application

    Installing with the CLI

    The Airbrake CLI installs the Airbrake Go notifier automatically in your Go project. To install the notifier directly without using the CLI, please scroll down to the Installing manually section.

    Install the CLI via Homebrew

    brew install airbrake/airbrake-cli/airbrake
    

    Authenticate via config command

    Authenticate by setting your user-key with the config command:

    airbrake config set user-key YOUR_USER_KEY_HERE
    

    You can find your user key in your profile settings page.

    Install command

    Invoke the following to have the Airbrake CLI install the Airbrake notifier for your project:

    airbrake install --project-id YOUR_PROJECT_ID_HERE
    

    You can find your project ID in your project's settings.

    After this, you are set! Check out the Testing your installation section to send a test error to Airbrake.

    Installing manually

    Install in existing project

    Navigate to your project's main directory and install our Go package, gobrake:

    go get github.com/airbrake/gobrake/v5
    

    Install in new app

    Create a new directory, initialize a new module and go get the library:

    mkdir airbrake_example && cd airbrake_example
    go mod init airbrake_example
    go get github.com/airbrake/gobrake/v5
    

    Configuration

    Import and initialize the gobrake package in your application:

    (You can find your project ID and project key in your project's settings)

    package main
    
    import "github.com/airbrake/gobrake/v5"
    
    var airbrake = gobrake.NewNotifierWithOptions(&gobrake.NotifierOptions{
    	ProjectId: <Your project ID>,
    	ProjectKey: "<Your project ID>",
    	Environment: "production",
    })
    
    func main() {
    	defer airbrake.Close()
    	defer airbrake.NotifyOnPanic()
    }
    

    That's it! The airbrake.NotifyOnPanic() call will handle automatic panic reporting.

    Testing your installation

    You can use airbrake.Notify() to send handled errors. Let's use it now to check if gobrake is installed correctly:

    import "errors"
    
    func testAirbrake() {
    	airbrake.Notify(errors.New("Error Test from Airbrake"), nil)
    }
    

    You should see this dashboard updating with your test error soon after you run that function.

    Full documentation

    Check out our official GitHub repo for info on advanced features like ignoring errors, setting error severity and more.

This package provides Go (golang) types and helper functions to do some basic but useful things with mxGraph diagrams in XML, which is most famously used by app.diagrams.net, the new name of draw.io.

Go Draw - Golang MX This package provides types and helper functions to do some basic but useful things with mxGraph diagrams in XML, which is most fa

Aug 30, 2022
Chix -- helper middleware and functionality for go-chi/chi

chix -- helper middleware and functionality for go-chi/chi ?? Table of Contents Usage Features Support & Assistance Contributing License ⚙️ Usage $ go

Oct 2, 2022
A terminal based preview tool for markdown 🍪
A terminal based preview tool for markdown 🍪

Smooth Smooth is a terminal based preview tool for markdown. Features Turning: turn next/previous slide Scroll: scroll up/down slide Search: search wo

May 22, 2022
Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler
Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler

Pagser Pagser inspired by page parser。 Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and str

Dec 13, 2022
Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI.💅🏻
Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI.💅🏻

Glow Render markdown on the CLI, with pizzazz! What is it? Glow is a terminal based markdown reader designed from the ground up to bring out the beaut

Dec 30, 2022
yview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

wview wview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application. Contents Instal

Dec 5, 2021
A clean, Markdown-based publishing platform made for writers. Write together, and build a community.
A clean, Markdown-based publishing platform made for writers. Write together, and build a community.

WriteFreely is a clean, minimalist publishing platform made for writers. Start a blog, share knowledge within your organization, or build a community

Jan 4, 2023
A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library

goq Example import ( "log" "net/http" "astuart.co/goq" ) // Structured representation for github file name table type example struct { Title str

Dec 12, 2022
Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️
Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️

Glamour Write handsome command-line tools with Glamour. glamour lets you render markdown documents & templates on ANSI compatible terminals. You can c

Jan 1, 2023
A full-featured regex engine in pure Go based on the .NET engine

regexp2 - full featured regular expressions for Go Regexp2 is a feature-rich RegExp engine for Go. It doesn't have constant time guarantees like the b

Jan 9, 2023