Destroyed OBSOLETE: Setups for postprocessing audiofiles (markdown)

basilfx
2014-11-04 17:29:59 -08:00
parent 72b4c909e7
commit cf55f2a4a6
-54
@@ -1,54 +0,0 @@
###Headphones has it's own postprocessingfunction now, use that instead of the below guides.
###Short Beets Setupguide for Ubuntu:
`sudo apt-get install python-dev python-setuptools python-pip`
`git clone https://github.com/sampsyo/beets.git .beets`
`cd .beets`
`python setup.py install`
Create the file .beetsconfig (nano ~/.beetsconfig) in your homedirectory and write at least the next lines in it:
`[beets]`
`directory: /path/to/where/you/keep/your/music`
`library: /.beets/data/musiclibrary.blb`
Setup is done. Now you need a postprocessingscript. I suck @ python, so I've done it in bash.
Create Headphones2Beets.sh in your postprocessingdirectory and add the following lines to it:
`#!/usr/bin/env bash`
`#`
`beet import "$1"`
After that 'sudo chmod +x Headphones2Beets.sh' and you are good to go.
Just make sure you set it as script on the category in Sabnzbd that Headph ones sends nzb's to.
###Short AlbumIdentify Setupguide (Ubuntu/Debian):
Another solution is AlbumIdentify, that also adds replaygain to all your files (optional).
You can install Albumidentify (and Headphones) with this script: http://dl.dropbox.com/u/18712538/LaSi/LaSi.sh
`wget http://dl.dropbox.com/u/18712538/LaSi/LaSi.sh`
`sudo chmod +x LaSi.sh`
`./LaSi.sh`
Basically you can git clone AlbumIdentify the same as beets, but it has some dependencys.
Installation:
`git clone https://github.com/scottr/albumidentify.git .albumidentify`
`sudo apt-get install python-musicbrainz2 python-imaging libsndfile1 sndfile-programs libofa0`
`sudo apt-get install mpg123 mp3gain flac vorbisgain vorbis-tools`
You only need to edit the configfile to your own likings:
`cd .albumidentify`
`cp albumidentifyrc.dist ~/.albumidentifyrc`
`nano ~/.albumidentifyrc`
Create Sab2Album.sh and you can run this in a bashscript as a postprocessor:
`#!/usr/bin/env bash`
`#`
`/usr/bin/python /home/user/.albumidentify/renamealbum -R --no-embed-coverart "$1"`
After that 'sudo chmod +x Sab2Album.sh' and you are good to go.
Just make sure you set it as script on the category in Sabnzbd that Headphones sends nzb's to.