plex-autodelete 0.0.5 → 0.0.6
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 +4 -4
- data/lib/plex/autodelete/cli.rb +2 -1
- data/lib/plex/autodelete/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: f68e486acb2f8d01adb8348a269a637483d08ec8
|
|
4
|
+
data.tar.gz: 31401e544139dfa9d34e3237300acbc9214d04b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e26c4b4281a138460ee27885254fef66c9c9c1d26d7c9a3781ff91933e2f694c4c98ac308cdadafb08550d2e430debb2add15a827c33ae52cd04c0c503c3efa
|
|
7
|
+
data.tar.gz: 0ce25f002d90881f8dfeb5d71bc4e217dc83a196d9a63f444da58a1416dc5bb2b77c547ba73e1089cf000d6bbf89aab9bef9e9ad11d33b0576220f82868b1e1d
|
data/lib/plex/autodelete/cli.rb
CHANGED
|
@@ -2,6 +2,7 @@ require 'thor'
|
|
|
2
2
|
require 'yaml'
|
|
3
3
|
require 'nori'
|
|
4
4
|
require 'colorize'
|
|
5
|
+
require 'net/http'
|
|
5
6
|
require 'plex/autodelete/cleanup'
|
|
6
7
|
|
|
7
8
|
module Plex
|
|
@@ -21,7 +22,7 @@ module Plex
|
|
|
21
22
|
desc "cleanup", "Remove all watched episodes from Plex"
|
|
22
23
|
def cleanup
|
|
23
24
|
unless File.exists? @@config_file
|
|
24
|
-
puts "Config file does not exist, please run 'plex-autocomplete install' to generate it"
|
|
25
|
+
puts "Config file does not exist, please run 'plex-autocomplete install' to generate it".red
|
|
25
26
|
exit
|
|
26
27
|
end
|
|
27
28
|
|