Giter Club home page Giter Club logo

auditarr's Introduction

Auditarr


A simple script that compares a plex library to a radarr library and reports where the differences are.

Usage


pyhton3 auditarr.py [-h] [-library LIBRARYID] [-v] radarrdb plexdb

Where:

  • radarrdb is the path to the radarr database (usually found in the /radarr)

  • plexdb is the path to the plex databse, (usually /Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db )

  • LIBRARYID is the library id in plex.

    • If none is given the script will use 1.
    • You can usually find the id of your library in the url on the plex web app. For example, when on the 'Movies' library, my url shows source=1

Example Usage with Library ID and Paths

python3 auditarr.py -library 1 /opt/radarr/radarr.db '/opt/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db'

Why?


From time to time a file got corrupted on my server and radarr wouldnt care but plex would. This meant that the Movie Files figure reported by radarr was different to the amount of movies on plex. I created this to easily locate the file that was causing the issue.

Further, I have also found it useful to run periodically as sometimes my plex scanner has not picked up a new media item.

auditarr's People

Contributors

jolbol1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

auditarr's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.