Git Product home page Git Product logo

hdhr2plex's Introduction

HDHR2PLEX

A small project called to develop some python scripts to aid in archiving SiliconDust HDHomerun DVR recordings to plex. It uses the thetvdb for season and episode information for when the guide from SiliconDust doesn't.

Prerequisites

Current Status
At this stage scripts are still in development and dependent on updates from SiliconDust.
The parse-folder.py is now parked once Silicondust added the feature for the DVR recorder to save to separate folders. I will hopefully get to this again soon.
The fix_filenames.py iterates through all the files in the HDHR recordings folder, scans the TS file for meta data and then does a look up on thetvdb for missing info before renaming the file to match Plex requirements (and optionally the folder).

Tested Platforms
QNAP-x51 with QTS 4.1.4/4.2 (linux)

Usage

$ python fix-filenames.py --config <config file>

Config File
all the configuration details are stored in a section titled [HDHR-DVR] the parameters include

logfile:

  • location of the log file to output to - leave blank to print to STDOUT

loglevel:

  • logging level to use [debug, info, warn, error, critical]

dvrpath:

  • Path to the HDHomerun DVR recordings (whatever you set RecordPath to)

plexpath:

  • Path to the where Plex will scan for the HDHomerun recordings

renamefile:

  • Set to True to rename the file

renamedir:

  • Set to True to move the file to a folder with the correct showname

forceupdate:

  • force the script to update every file found - disables the skipping

winaction:

  • Not implemented at this time

hdhr2plex's People

Contributors

demonrik avatar

Watchers

James Cloos avatar andrea lee avatar

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.