Autoaudio

Autoaudio parses http://nfodb.net.ru/rss.php for the latest Scene audio releases. Then, it queries http://nzbindex.nl/ for the release and creates an .nzb.

Releases are sorted by genre and album title and folders are created which hold .nfo and .nzb files for each release. A zip is created of each folder and is uploaded to https://anonfiles.com/. The resulting list is uploaded as an anonymous gist. A file called download.thor, which is a tiny robot that parses the anonymous gist and redownloads the files from https://anonfiles.com/, is uploaded with the album links. Finally, the gist url is tweeted.

Installation

Add this line to your application's Gemfile:

gem 'autoaudio'

And then execute:

$ bundle

Or install it yourself as:

$ gem install autoaudio

Usage

Setings can be found in /lib/autoaudio/settings.rb. NZB_DOWNLOAD_LOCATION is where to set where you want to store your .nzb and .nfo files. TWITTER_SETTINGS has two options. Set :tweet_nzbs to true, if you want to tweet your results. And your Twitter username is stored in :username.

Autoaudio has a set of terminal commands:

  • display_configuration_settings Displays application configuration settings
  • make_feeds Downloads all feeds into the database
  • display_feeds Displays all feeds
  • destroy_feeds Destroys all feeds
  • download Downloads all feeds, creates .nzb and .nfo files, zips and uploads to https://anonfiles.com/, creates a list of upload urls and tweets an the url of anonymous gist containing the upload urls.
  • download_genre GENRE This command will open a single genre's .nzb files in your chosen newsreader, and update the database to reflect the change.

If you wish to tweet your results, you will need to install and set up t. Autoaudio will automatically set your Twitter username, before tweeting.

Gems Used

To do:

  • write a more understandable readme
  • clean up the code - at the moment, it's a huge ball of crap
  • error handling
  • multithreading
  • tests
  • include a launchd plst for for running locally
  • more upload options
  • more search and source options
  • tor-privoxy

License

Copyright (c) 2014 Gene Locklin

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request