autoaudio 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -6
- data/config/settings.rb +7 -7
- data/lib/autoaudio/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ebcc0700385f757436c2c56134f89ec023ec7b3
|
4
|
+
data.tar.gz: ee6bb054f99f8c3c907eddba21fdc5c48ff677a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee9c1f69081303bcaeded74a99762d201fdc768600e802e4f989b0cbdd23fd2d0c5aba687767883ff453d23383e49ff566c0a6e52acc4b78a99838d5d314c2c1
|
7
|
+
data.tar.gz: 21040aebc98ddfacd0f5c804d37e607593ba4ae436cf73aa5f8faf4f2dd8be47966a1f080bb7cc840fe8e92e1e0448aae826b4a23f40d054939a89fb273736ed
|
data/README.md
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
# Autoaudio
|
2
2
|
|
3
|
-
|
4
|
-
## THESE INSTRUCTIONS ARE NO LONGER VALID. ```audioaudio list``` for a list of commands. Proper readme coming soon.
|
5
|
-
|
6
3
|
### It's ugly as hell, but it 100% works.
|
7
4
|
|
8
|
-
![alt text](https://raw.
|
5
|
+
![alt text](https://raw.githubusercontent.com/GeneLocklin/autoaudio/master/images/aa.jpg "Autoaudio, bitches!")
|
9
6
|
|
10
7
|
Autoaudio parses [http://nfodb.net.ru/rss.php](http://nfodb.net.ru/rss.php) for the latest Scene audio releases. Then, it queries [http://nzbindex.nl/](http://nzbindex.nl/) for the release and creates a `.nzb`.
|
11
8
|
|
@@ -15,21 +12,39 @@ Releases are sorted by genre and album title and folders are created which hold
|
|
15
12
|
|
16
13
|
* [mechanize](https://github.com/sparklemotion/mechanize/)
|
17
14
|
* [mongoid](https://github.com/mongoid/mongoid)
|
15
|
+
* [retries](https://github.com/ooyala/retries)
|
18
16
|
* [gist](https://github.com/defunkt/gist)
|
19
17
|
* [thor](https://github.com/erikhuda/thor)
|
20
18
|
* and, indirectly, [t](https://github.com/sferik/t)
|
21
19
|
|
22
20
|
## Basic Usage:
|
23
21
|
|
24
|
-
Run `
|
22
|
+
Run `autoaudio list` for a list of basic commands.
|
23
|
+
|
24
|
+
## Advanced Usage:
|
25
|
+
|
26
|
+
Autoaudio requires a few bits of info from you, before it will run correctly.
|
27
|
+
|
28
|
+
Before you do anything, run ```autoaudio setup setup```. This will open ```config/settings.rb``` in your editor of choice. Enter info, then save the file.
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
download_location "#{Dir.home}/Downloads/Albums" #=> This is where you want to download the nfo and nzb files.
|
32
|
+
maximum_retention 900 #=> This is the max retention of your usenet server.
|
33
|
+
nzb_client 'Unison.app' #=> This isn't in use, at the moment.
|
34
|
+
zip_files true #=> Do you want to zip the nfo and nzb files together?
|
35
|
+
share_files true #=> Upload zips to anonfiles?
|
36
|
+
tweet_files true #=> Do you want to tweet the uploaded url's?
|
37
|
+
twitter_username 'usenetdecoded' #=> Twitter username - whatever you have T setup to tweet as.
|
38
|
+
```
|
25
39
|
|
26
40
|
## To do:
|
27
41
|
|
42
|
+
* IRC integration - let's go straight to the source
|
28
43
|
* help
|
29
44
|
* write a more understandable readme
|
30
45
|
* add more thor commands as well as more and better descriptions
|
31
46
|
* clean up the code - at the moment, it's a huge ball of crap
|
32
|
-
* error handling
|
47
|
+
* better error handling
|
33
48
|
* multithreading
|
34
49
|
* tests
|
35
50
|
* include a launchd plst for for running locally
|
data/config/settings.rb
CHANGED
@@ -2,12 +2,12 @@ require 'autoaudio'
|
|
2
2
|
|
3
3
|
module Autoaudio
|
4
4
|
Settings.config do
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
download_location "#{Dir.home}/Downloads/Albums" #=> This is where you want to download the nfo and nzb files.
|
6
|
+
maximum_retention 900 #=> This is the max retention of your usenet server.
|
7
|
+
nzb_client 'Unison.app' #=> This isn't in use, at the moment.
|
8
|
+
zip_files true #=> Do you want to zip the nfo and nzb files together?
|
9
|
+
share_files true #=> Upload zips to anonfiles?
|
10
|
+
tweet_files true #=> Do you want to tweet the uploaded url's?
|
11
|
+
twitter_username 'usenetdecoded' #=> Twitter username - whatever you have T setup to tweet as.
|
12
12
|
end
|
13
13
|
end
|
data/lib/autoaudio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoaudio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Locklin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|