junkie 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +9 -3
- data/lib/junkie/patched/sjunkieex.rb +6 -0
- data/lib/junkie/pyload/observer.rb +1 -1
- data/lib/junkie/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -9,9 +9,15 @@ episodes. `junkie` does the following things:
|
|
9
9
|
* Brings episodes in the right format (`serienrenamer`)
|
10
10
|
* Add these new episodes to th index of watched episodes (`sindex`)
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
`junkie` uses [pyLoad](http://pyload.org) for downloading and extracting your episodes from various
|
13
|
+
sharehoster.
|
14
|
+
|
15
|
+
## Implemented features
|
16
|
+
`junkie` is currently under development and does not contain all of the useful features. The following features are implemented now:
|
17
|
+
|
18
|
+
* Periodic check of new episodes (100%)
|
19
|
+
* Download/Extract episodes (80%: minor issues and some edge cases that have to be solved)
|
20
|
+
* Notification on new episodes through Twitter (100%)
|
15
21
|
|
16
22
|
## Installation
|
17
23
|
|
@@ -56,6 +56,12 @@ module Junkie
|
|
56
56
|
end
|
57
57
|
|
58
58
|
episodes
|
59
|
+
|
60
|
+
rescue IOError => e
|
61
|
+
# an ioerror is mostly raised on a temporary network problem
|
62
|
+
log.error("An IOError was raised, I will return empty array of episodes")
|
63
|
+
log.error(e)
|
64
|
+
return []
|
59
65
|
end
|
60
66
|
|
61
67
|
private
|
@@ -110,7 +110,7 @@ module Junkie
|
|
110
110
|
catch(:break) {
|
111
111
|
queue_data = @api.call(:getQueueData)
|
112
112
|
|
113
|
-
if queue_data.empty?
|
113
|
+
if queue_data.empty? and @active_episode.nil?
|
114
114
|
log.info("Empty Pyload queue, I cancel the watchdog timer")
|
115
115
|
@watchdog_enabled = false
|
116
116
|
throw :break
|
data/lib/junkie/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: junkie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|