peerflixrb 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/peerflixrb +7 -0
- data/lib/peerflixrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6bfdb5bcbdb1527015606cc4773e711ef704e85
|
4
|
+
data.tar.gz: b99f8dfec68f877917e4856099f087e785bf41f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24482a1282f2d8907cac9b86f2bc9240298e01584ee81021b44796176ba9bf06b3305ccc97705302fdee93c16f1264fb6cf8c0a05f12ed6565419de2afad998c
|
7
|
+
data.tar.gz: b987b081bc33bdb1ba487226c2473a9fce2e5f946315c1c631f39c4609637bcc2dca3b0f1b67d6491b1183c07623832fc56a5177121c8944f1ad3fe9b391076a
|
data/bin/peerflixrb
CHANGED
@@ -68,6 +68,13 @@ sub_file = if options[:find_subtitles]
|
|
68
68
|
options[:subtitles]
|
69
69
|
end
|
70
70
|
|
71
|
+
# Was there a problem with the subtitle?
|
72
|
+
if options[:find_subtitles] && sub_file.nil?
|
73
|
+
puts 'Do you want to continue? [Y/n]'
|
74
|
+
response = $stdin.gets.chomp.downcase
|
75
|
+
exit if response == 'n' || response == 'no'
|
76
|
+
end
|
77
|
+
|
71
78
|
# Peerflix command build
|
72
79
|
command = "peerflix '#{kat.magnet}'"
|
73
80
|
command << " --subtitles '#{sub_file}'" if sub_file
|
data/lib/peerflixrb/version.rb
CHANGED