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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 437af0237de0f684c70ebc8d7f6db4432e0b6196e4c3e787f3e2bf4507cfcd10
4
- data.tar.gz: 3a28861a1398fa974570d1909a8d45105e0fc2d8cf7e1251e19feb8a7fbb3494
3
+ metadata.gz: 3471c09493ee50922a6cd1f3ca5e692ccb7c23a81395c943f6dea1edc55f2a7b
4
+ data.tar.gz: e729f89ecd10d5bfe634fab8fff621a84cd3129d6cf5fd513590599026d17d53
5
5
  SHA512:
6
- metadata.gz: 8070cef42b5cb9617bc467cce28591e08c52c36bb0c2edcf546a605028fa3b34f1dd0ca3d19fa8fed0f58e1b22ef59d1c21fd5059b1a192a7861b7ec0e1de6f2
7
- data.tar.gz: c6920b52041cc3318470595e73beb2ecf54f69d5b639f92c44e736d0b18c801a5e7b8f09dbd45e010dc1142744670341baa054fc7ba25f4db4e1d205f66fcba3
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
- - Current WIP.
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
- run_loop(file)
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
 
@@ -1,3 +1,3 @@
1
1
  module MmTool
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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-30 00:00:00.000000000 Z
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.1.2
161
+ rubygems_version: 3.0.6
148
162
  signing_key:
149
163
  specification_version: 4
150
164
  summary: Curate your movie files.