peerflixrb 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/peerflixrb +3 -1
- data/lib/peerflixrb/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: b53e691a60a0c46fbfb5528307823e65aa273595
|
4
|
+
data.tar.gz: 181e0b498f588c740345445e300114dfc649fb83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2234f4f562ade553b2e402de4ffb62201e46951101aba4b803f5e6e13c31de513c9c1e1f2bac79e38bc486243646755f0f7ca39c0672a36b4e06a7ff809d5562
|
7
|
+
data.tar.gz: 6cb1f0b20c3381d0173fc4126b858b1da7b504b2062fce95109bd3bd926bb8cd74d36975fa5afc93a632069da5309eabce4ace25c32512ae10fe0a6ded95f9b0
|
data/exe/peerflixrb
CHANGED
@@ -91,7 +91,7 @@ begin
|
|
91
91
|
|
92
92
|
# Peerflix command build
|
93
93
|
command = "peerflix '#{link.magnet}'"
|
94
|
-
command << " --subtitles
|
94
|
+
command << " --subtitles \"#{sub_file}\"" if sub_file
|
95
95
|
command << " --#{options[:video_player]}" if options[:video_player]
|
96
96
|
command << ' -- --fullscreen'
|
97
97
|
|
@@ -101,6 +101,8 @@ begin
|
|
101
101
|
system command
|
102
102
|
rescue Interrupt, EOFError
|
103
103
|
cli.say 'Interrupted!'.red
|
104
|
+
rescue SocketError
|
105
|
+
cli.say "Couldn't perform action. Are you online?".red
|
104
106
|
ensure
|
105
107
|
# Cleaning up
|
106
108
|
if link
|
data/lib/peerflixrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peerflixrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Marchante
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addic7ed_downloader
|