Giter VIP home page Giter VIP logo

smarthash's Introduction

smarthash

SmartHash is a command line application for the BitTorrent Peer-to-Peer network. It allows users to more easily prepare and publish content and metadata

Capabilities include:

  • Creating metadata (.torrent) files Identifying audio and video files Extracting screenshots from video files Extracting mediainfo and tagging information Parsing accompanying release information, extracting IMDb IDs

Handlers

Smarthash uses pluggable handlers, allowing for custom actions in different usage scenarios. By default, a .torrent file is saved. An additional provided handler writes out the .torrent, screenshots, MediaInfo and NFO to a folder.

Custom handlers can be dropped into the application (for example, allowing automatic publication of your content to an Internet-based site). Audio metadata or screenshots could also be automatically uploaded. Where necessary, additional command line parameters can be captured by the handler.

Metadata

Audio-specific metadata is extracted, and provided as a parameter to the handers.

A set of screenshots are extracted from each video file. These can be useful for estimating quality before downloading a torrent - candidates are selected using a Laplacian transform/variance calculation, which effectively extracts a useful selection.

Usage instructions

Windows installation

  • Download and install Python 3.6.5 (or later) - https://www.python.org/downloads
  • Download and install Git - https://git-scm.com/download/win
  • In your C:, right click, and select "Git Bash Here" from the context menu
  • Install virtualenv for Python, by entering: pip install virtualenv
  • Clone the SmartHash repository, by entering: git clone https://github.com/spiritualized/smarthash.git
  • Run win-install.bat to set up the virtualenv
  • Add C:\smarthash to your PATH

Linux

  • Clone the repo
  • Create a virtualenv (use -p python3) and install from requirements.txt

Usage examples

  • smarthash "C:\My Home Movies"

smarthash's People

Contributors

spiritualized avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smarthash's Issues

Issue with libreelec retroflag

Hi, I can't post a issue on your fork of Retroflag picase so I'm asking here.

There seems to be a problem with your fork where the led blinks all the time rather than staying solid using libreelec.

Thanks

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.