where_to 0.9.1 → 0.9.2
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.
- checksums.yaml +8 -8
- data/README.md +15 -0
- data/lib/where_to/version.rb +1 -1
- data/lib/where_to.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDc2MDg4YmU3ZmVjMDY5ZTRkMzYwZDhiNTYzNzI3ZDU0YTA4YmFjZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzkzODBiYTRmODBmZTkyM2NhMjM2MDEyYzAzM2UzNjY5MTdjYzBhNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjE1NjUyNzA3YzRkNjBhYWE1MTg1NjRlMjM4NzU2NjJjMThmMmQyODA3MzFh
|
10
|
+
NGYxZGUyODY4MGY2Nzc1ZjRkMjI5MDFkM2NiMWZkNjQ1ZDQ2ODg0ZWNjNjI3
|
11
|
+
NGI1Njc2MmU2YTZiMTE1YzRkY2U3NTgyMzRmOWI0NjE0ZGVjZDc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmRiZjkyNmVjMmZmNDhiZTRlYTMzYjEzNTEzOGJmNWE4ODk2MzY5MzdjOTI4
|
14
|
+
ZWNlMDkyOWE4Yjc2NzhjNDNhNGIyNGU0ZWZiNzc5Njk4MmVhNjk5ZjMyMDQ1
|
15
|
+
ZmE5Y2I5MzBiZTIzYmMyYzUxYTY2MGIzODdmYzdiYTczNmJkZmQ=
|
data/README.md
CHANGED
@@ -68,6 +68,21 @@ locator.episode_quality = '720p'
|
|
68
68
|
locator.locate.filename # => game.of.thrones.S05E02.best.episode.ever.720p.mkv
|
69
69
|
```
|
70
70
|
|
71
|
+
### TVDB Integration
|
72
|
+
You can also ask TVDB for episode information.
|
73
|
+
In your console, type:
|
74
|
+
`export TVDB_API_KEY='super secret api key'`
|
75
|
+
|
76
|
+
Then in your Ruby program:
|
77
|
+
```ruby
|
78
|
+
locator = WhereTo::Locator.new
|
79
|
+
locator.series_title = 'Game of Thrones'
|
80
|
+
locator.season = 5
|
81
|
+
locator.episode_number = 3
|
82
|
+
locator.lookup!
|
83
|
+
locator.episode_title # 'High Sparrow'
|
84
|
+
```
|
85
|
+
|
71
86
|
## Custom Formats
|
72
87
|
Specify custom formats by modifying `format.yml`.
|
73
88
|
The default is `"%series_title/Season %season_number (%season_airdate)/"`, but in theory any combination works.
|
data/lib/where_to/version.rb
CHANGED
data/lib/where_to.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: where_to
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Toniazzo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|