Git Product home page Git Product logo

bettertron's Introduction

bettertron is a tool that will scan your better.php. It will check a specified directory for your seeded FLACs and transcode them into the needed MP3 bitrates. It is edition aware and will transcode all the needed bitrates for the edition you are seeding, regardless of better.php.
---------------------------------------------------------------------
bettertron uses several command line tools that are expected to exist:

*lame
*flac
*mktorrent

If you are running ubuntu/debian, this should get all of them:

apt-get install mktorrent flac lame
---------------------------------------------------------------------
This project uses some pre-existing perl modules from CPAN. To install them in Ubuntu/debian (and probaly anything else) in one line:

sudo perl -MCPAN -e 'install WWW::Mechanize, JSON, JSON::XS, Data::Dumper, Config::IniFiles, Bencode, Crypt::SSLeay'
---------------------------------------------------------------------
After that, simply run the better.pl script once. It will generate a config file called better.ini

Please fill it out:

username and password refer to your what.cd username and password

torrentdir is where bettertron will create torrents for your transcodes
flacdir is where bettertron will look for your already existing and seeded flacs
transcodedir is where your flac transcodes will end up
---------------------------------------------------------------------
TODO:

*Handle torrent upload errors more gracefully (had a couple rejected due to thumb.db restriction. 
Imagine 1982/original release/CD media will be a problem also)
*Better error or unexpected condition handling.

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.