| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
- Do not abuse automated site access.
All automated site access must be done through the API. API use is limited to 5 requests within any 10-second window. Scripts and other automated processes must not scrape the site's HTML pages."
Proceed at your own risk.
redactedbetter is a script which searches your torrent download directory for any FLAC torrents which do not have transcodes, then automatically transcodes and uploads the torrents to redacted.ch.
$> git clone git@github.com:Rudde/mktorrent.git $> cd mktorrent $> make && sudo make install
If you are on a seedbox and you lack the privileges to install packages, you are best off contacting your seedbox provider and asking them to install the listed packages.
Run redactedbetter by running the script included when you cloned the repository:
$> ./redactedbetter
You will receive a notification stating that you should edit the configuration file located at:
~/.redactedbetter/config
Open this file in your preferred text editor, and configure as desired. The options are as follows:
usage: redactedbetter [-h] [-s] [-j THREADS] [--config CONFIG] [--cache CACHE]
[-U] [-E] [--version]
[release_urls [release_urls ...]]
positional arguments:
release_urls the URL where the release is located (default: None)
optional arguments:
-h, --help show this help message and exit
-s, --single only add one format per release (useful for getting
unique groups) (default: False)
-j THREADS, --threads THREADS
number of threads to use when transcoding (default: 3)
--config CONFIG the location of the configuration file (default:
/home/taylor/.redactedbetter/config)
--cache CACHE the location of the cache (default:
/home/taylor/.redactedbetter/cache)
-U, --no-upload don't upload new torrents (in case you want to do it
manually) (default: False)
-E, --no-24bit-edit don't try to edit 24-bit torrents mistakenly labeled
as 16-bit (default: False)
--version show program's version number and exit
To transcode and upload everything you have in your download directory (it could take a while):
$> ./redactedbetter
To transcode and upload a specific release (provided you have already downloaded the FLAC and it is located in your data_dir):
$> ./redactedbetter http://redacted.ch/torrents.php?id=1000\&torrentid=1000000
Note that if you specify a particular release, redactedbetter will ignore your configuration's media types and attempt to transcode the releases you have specified regardless of their media type (so long as they are lossless types).
redactedbetter caches the results of your transcodes, and will skip any transcodes it believes it's already finished. This makes subsequent runs much faster than the first, especially with large download directories. However, if you do run into errors when running the script, sometimes you will find that the cache thinks the torrent it crashed on previously was uploaded - so it skips it. A solution would be to manually specify the release as mentioned above. If you have multiple issues like this, you can remove the cache:
$> ./redactedbetter ~/.redactedbetter/cache
Beware though, this will cause the script to re-check every download as it does on the first run.
If you have any issues using the script, or would like to suggest a feature, feel free to open an issue in the issue tracker, provided that you have searched for similar issues already.
| Back | FazBrowse Home | New Git URL |