plex-autodelete 0.0.8 → 0.0.9
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/README.md +25 -0
- data/lib/plex/autodelete/cleanup.rb +1 -1
- data/lib/plex/autodelete/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c885b9f1c229f164c3434153c9023fe815883ede
|
|
4
|
+
data.tar.gz: 55dac9b7524035f437879fa9182218468c9949b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 976c947357722fb1786a0923bd83110fc12d1b639e7ff53d8f4ae3efff7380877fea3079e7540d22c587093f1b4cb35805687254f17789ecf7bf51807e0cf9f3
|
|
7
|
+
data.tar.gz: 85e550c7a5b095f7269da6a6bd1792631a8d2da9f379f0f88e5c2ed829dbd31fdb696de063dc4cb86957f76707a43aeb08723513beb61b2e521fb8f4a160ea0f
|
data/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Plex Autodelete
|
|
2
|
+
===
|
|
3
|
+
|
|
4
|
+
Automatically delete files that have been marked as watched in Plex.
|
|
5
|
+
|
|
6
|
+
#### Install
|
|
7
|
+
```
|
|
8
|
+
gem install plex-autodelete
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
*Until the author of ruby-plex tags a new release, you must install the git version manually:*
|
|
12
|
+
```
|
|
13
|
+
gem install specific_install
|
|
14
|
+
gem specific_install https://github.com/ekosz/Plex-Ruby
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
#### Configure
|
|
18
|
+
```
|
|
19
|
+
plex-autodelete install
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
#### Run
|
|
23
|
+
```
|
|
24
|
+
plex-autodelete cleanup
|
|
25
|
+
```
|
|
@@ -49,7 +49,7 @@ module Plex
|
|
|
49
49
|
media.parts.each do |part|
|
|
50
50
|
if @config[:delete] and not @config[:skip].include? show.title and File.exist?(part.file)
|
|
51
51
|
File.delete(part.file)
|
|
52
|
-
puts " (deleted)".
|
|
52
|
+
puts " (deleted)".yellow
|
|
53
53
|
else
|
|
54
54
|
if @config[:delete] or @config[:skip].include? show.title
|
|
55
55
|
puts " (skipped)".green
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plex-autodelete
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Robertson
|
|
@@ -131,6 +131,7 @@ files:
|
|
|
131
131
|
- ".gitignore"
|
|
132
132
|
- Gemfile
|
|
133
133
|
- LICENSE.txt
|
|
134
|
+
- README.md
|
|
134
135
|
- bin/plex-autodelete
|
|
135
136
|
- lib/plex/autodelete/cleanup.rb
|
|
136
137
|
- lib/plex/autodelete/cli.rb
|