Giter Club home page Giter Club logo

whatmp3's Introduction

whatmp3 is a small script to create mp3 torrents out of FLACs.

Depends on mktorrent, lame/oggenc/ffmpeg/neroAacEnc+neroAacDec, and metaflac.

Configuration is handled at the top of the file in the configuration section.

Usage

Running whatmp3 on its own won't do too much. You need to specify the lame or oggenc flags you want to convert with, and the directories you want to convert.

--320 --V2 --V0 --Q8 --ALAC...
	encode to 320, V2, V0, or whatever else specified in 'enc_options' in the file
--FLAC
	create torrent for FLAC
--help
	print help message and quit
--verbose
	increase verbosity (default false)
--moveother
	move other files in flac directory to torrent directory (default true)
--output="PATH"
	specify output directory for torrents
--zeropad
	zeropad tracklists (default true)
--passkey="PASSKEY"
	specify tracker passkey
--tracker="TRACKER"
	specify tracker address to use (default "http://tracker.what.cd:34000")
--notorrent
	do not generate a torrent file (default false)
--threads=NUM
	run NUM encoding threads (default 1)
--replaygain
	enables replaygain (default false); please note replaygain is not allowed on what.cd
--dither
	enables dithering (default false)

Minimally, you need a passkey, a tracker, and an encoding option to create a working torrent to upload

You need to add your torrent passkey and output directory in order to make the .torrent file to upload to What.CD:

passkey = "YOUR PASSKEY HERE"

This will convert OSI - Office of Strategic Influence to V2 and V0:

whatmp3 --V2 --V0 OSI\ -\ Office\ of\ Strategic\ Influence

This will convert Porcupine Tree - Deadwing and Porcupine Tree - In Absentia to 320 CBR, V0, and V2 (the "perfect three"):

whatmp3 --320 --V2 --V0 Porcupine\ Tree\ -\ Deadwing Porcupine\ Tree\ -\ In\ Absentia

.torrent files will be created in your output directory.

Threading is supported since version 3.0; use the --threads NUM option (or set max_threads):

whatmp3 --threads 2 --V2 "Enslaved - Isa"

whatmp3 also supports a few command line flags as of 2.0, use --verbose or -v to print extra messages:

whatmp3 --verbose --V2 Nightingale\ -\ I

whatmp3's People

Contributors

recursiveforest avatar etienneperot avatar timothyekl avatar zacharydenton avatar

Watchers

abgabe 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.