mm_tool 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/lib/mm_tool/application_main.rb +5 -2
- data/lib/mm_tool/version.rb +1 -1
- data/mm_tool.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3471c09493ee50922a6cd1f3ca5e692ccb7c23a81395c943f6dea1edc55f2a7b
|
4
|
+
data.tar.gz: e729f89ecd10d5bfe634fab8fff621a84cd3129d6cf5fd513590599026d17d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f296230bcfaa11c65440cb1d93fae6f26b493d2b3ecee1ad49d75e27331c9a3420c22835436206a77dc1bdbf9bf939b6e9b72fda81a2a76fef66b4bed6b181e2
|
7
|
+
data.tar.gz: 7e761e3eb21c4f29b31643804a8277822cc639596924615e9077185d6469a1e5bc82f551e65e3371f820f01285166f7a5b343b83220d77d4aca90fac44c380b7
|
data/README.md
CHANGED
@@ -25,4 +25,16 @@ remuxing, and re-encoding media libraries.
|
|
25
25
|
|
26
26
|
- 0.1.2
|
27
27
|
|
28
|
-
-
|
28
|
+
- `--ignore-titles` is fixed.
|
29
|
+
- Partially resolved the quality is interesting thing, but it's not a complete fix.
|
30
|
+
- Fixed metadata for dropped streams.
|
31
|
+
- Fix yaml wrapping.
|
32
|
+
- Updated Gemfile dependencies.
|
33
|
+
- Updated gemspec to not include certain bin files, which aren't needed and cause incompatibilities with other gems using same scaffold.
|
34
|
+
- Updated readme.
|
35
|
+
- Support multiple stream metadata changes.
|
36
|
+
- Ensure we don't update metadata for streams we are dropping.
|
37
|
+
|
38
|
+
- 0.1.3
|
39
|
+
|
40
|
+
- Natural sort order for directories with numbers, e.g., Season 1, … Season 19, Season 20.
|
@@ -6,6 +6,7 @@ module MmTool
|
|
6
6
|
class ApplicationMain
|
7
7
|
|
8
8
|
require 'mm_tool.rb'
|
9
|
+
require 'natural_sort'
|
9
10
|
|
10
11
|
#------------------------------------------------------------
|
11
12
|
# Attributes
|
@@ -146,8 +147,10 @@ module MmTool
|
|
146
147
|
|
147
148
|
extensions = @defaults[:container_files]&.join(',')
|
148
149
|
Dir.chdir(file_or_dir) do
|
149
|
-
Dir.glob("**/*.{#{extensions}}").map {|path| File.expand_path(path) }.sort.each do |file|
|
150
|
-
|
150
|
+
# Dir.glob("**/*.{#{extensions}}").map {|path| File.expand_path(path) }.sort.each do |file|
|
151
|
+
Dir.glob("**/*.{#{extensions}}").map {|path| File.expand_path(path) }.sort(&NaturalSort).each do |file|
|
152
|
+
output(file)
|
153
|
+
# run_loop(file)
|
151
154
|
end
|
152
155
|
end
|
153
156
|
|
data/lib/mm_tool/version.rb
CHANGED
data/mm_tool.gemspec
CHANGED
@@ -42,6 +42,7 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.add_runtime_dependency 'tty', "~>0.10"
|
43
43
|
spec.add_runtime_dependency 'streamio-ffmpeg'
|
44
44
|
spec.add_runtime_dependency 'bytesize'
|
45
|
+
spec.add_runtime_dependency 'natural_sort', "0.3.0"
|
45
46
|
|
46
47
|
# Development dependencies
|
47
48
|
spec.add_development_dependency "bundler", "~> 1.17.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mm_tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Derry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: natural_sort
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
158
|
- !ruby/object:Gem::Version
|
145
159
|
version: '0'
|
146
160
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.0.6
|
148
162
|
signing_key:
|
149
163
|
specification_version: 4
|
150
164
|
summary: Curate your movie files.
|