ehbrs_ruby_utils 0.40.0 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress.rb +22 -12
  3. data/lib/ehbrs_ruby_utils/bga/session/player_tables_on_game_in_progress.rb +17 -1
  4. data/lib/ehbrs_ruby_utils/bga/session/skip_trophies.rb +2 -2
  5. data/lib/ehbrs_ruby_utils/music/lyrics_book/song.rb +1 -1
  6. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  7. data/lib/ehbrs_ruby_utils/videos/{container.rb → file.rb} +1 -1
  8. data/lib/ehbrs_ruby_utils/videos/stream.rb +33 -2
  9. data/lib/ehbrs_ruby_utils/videos2/convert_job.rb +99 -0
  10. data/lib/ehbrs_ruby_utils/videos2/extract/package.rb +75 -0
  11. data/lib/ehbrs_ruby_utils/videos2/extract/package_file.rb +53 -0
  12. data/lib/ehbrs_ruby_utils/videos2/extract.rb +11 -0
  13. data/lib/ehbrs_ruby_utils/videos2/profiles/base.rb +35 -0
  14. data/lib/ehbrs_ruby_utils/videos2/profiles/same_quality.rb +21 -0
  15. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_result.rb +24 -0
  16. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb +43 -0
  17. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb +71 -0
  18. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unlisted.rb +29 -0
  19. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unsupported.rb +28 -0
  20. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unlisted.rb +25 -0
  21. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb +27 -0
  22. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/invalid_extension.rb +27 -0
  23. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks.rb +13 -0
  24. data/lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb +45 -0
  25. data/lib/ehbrs_ruby_utils/videos2/unsupported/file.rb +51 -0
  26. data/lib/ehbrs_ruby_utils/videos2/unsupported/fix_profile.rb +44 -0
  27. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec/ffmpeg_args.rb +68 -0
  28. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec.rb +15 -0
  29. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_container.rb +17 -0
  30. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/aoc.rb +27 -0
  31. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/base.rb +117 -0
  32. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/philco.rb +28 -0
  33. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/samsung.rb +33 -0
  34. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles.rb +13 -0
  35. data/lib/ehbrs_ruby_utils/videos2/unsupported/search.rb +75 -0
  36. data/lib/ehbrs_ruby_utils/videos2/unsupported/track.rb +32 -0
  37. data/lib/ehbrs_ruby_utils/videos2.rb +9 -0
  38. metadata +42 -7
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ehbrs_ruby_utils/videos2/unsupported/check_support'
4
+
5
+ module EhbrsRubyUtils
6
+ module Videos2
7
+ module Unsupported
8
+ class Track < ::SimpleDelegator
9
+ include ::EhbrsRubyUtils::Videos2::Unsupported::CheckSupport
10
+
11
+ enable_speaker
12
+ enable_simple_cache
13
+ attr_reader :video
14
+
15
+ def initialize(video, track)
16
+ @video = video
17
+ super(track)
18
+ end
19
+
20
+ def banner
21
+ aggressions_banner("Track #{self}")
22
+ end
23
+
24
+ def check_set_key
25
+ :track_check_set
26
+ end
27
+
28
+ delegate :options, to: :video
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module EhbrsRubyUtils
6
+ module Videos2
7
+ require_sub __FILE__
8
+ end
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-14 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.8'
53
+ version: '0.9'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.8'
60
+ version: '0.9'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: avm
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -132,14 +132,14 @@ dependencies:
132
132
  requirements:
133
133
  - - "~>"
134
134
  - !ruby/object:Gem::Version
135
- version: '0.120'
135
+ version: '0.121'
136
136
  type: :runtime
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - "~>"
141
141
  - !ruby/object:Gem::Version
142
- version: '0.120'
142
+ version: '0.121'
143
143
  - !ruby/object:Gem::Dependency
144
144
  name: eac_templates
145
145
  requirement: !ruby/object:Gem::Requirement
@@ -147,6 +147,9 @@ dependencies:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0.5'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 0.5.1
150
153
  type: :runtime
151
154
  prerelease: false
152
155
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,6 +157,9 @@ dependencies:
154
157
  - - "~>"
155
158
  - !ruby/object:Gem::Version
156
159
  version: '0.5'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 0.5.1
157
163
  - !ruby/object:Gem::Dependency
158
164
  name: inifile
159
165
  requirement: !ruby/object:Gem::Requirement
@@ -343,8 +349,8 @@ files:
343
349
  - lib/ehbrs_ruby_utils/vg/wii/wit/parsers/info.rb
344
350
  - lib/ehbrs_ruby_utils/vg/wii/wit/path.rb
345
351
  - lib/ehbrs_ruby_utils/videos.rb
346
- - lib/ehbrs_ruby_utils/videos/container.rb
347
352
  - lib/ehbrs_ruby_utils/videos/convert_job.rb
353
+ - lib/ehbrs_ruby_utils/videos/file.rb
348
354
  - lib/ehbrs_ruby_utils/videos/opensubtitles.rb
349
355
  - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb
350
356
  - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb
@@ -372,6 +378,35 @@ files:
372
378
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/content_sanitizer.rb
373
379
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_pattern_matcher.rb
374
380
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_term_matcher.rb
381
+ - lib/ehbrs_ruby_utils/videos2.rb
382
+ - lib/ehbrs_ruby_utils/videos2/convert_job.rb
383
+ - lib/ehbrs_ruby_utils/videos2/extract.rb
384
+ - lib/ehbrs_ruby_utils/videos2/extract/package.rb
385
+ - lib/ehbrs_ruby_utils/videos2/extract/package_file.rb
386
+ - lib/ehbrs_ruby_utils/videos2/profiles/base.rb
387
+ - lib/ehbrs_ruby_utils/videos2/profiles/same_quality.rb
388
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_result.rb
389
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb
390
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb
391
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks.rb
392
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unlisted.rb
393
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unsupported.rb
394
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unlisted.rb
395
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb
396
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/invalid_extension.rb
397
+ - lib/ehbrs_ruby_utils/videos2/unsupported/file.rb
398
+ - lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb
399
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fix_profile.rb
400
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec.rb
401
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec/ffmpeg_args.rb
402
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_container.rb
403
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles.rb
404
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/aoc.rb
405
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/base.rb
406
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/philco.rb
407
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/samsung.rb
408
+ - lib/ehbrs_ruby_utils/videos2/unsupported/search.rb
409
+ - lib/ehbrs_ruby_utils/videos2/unsupported/track.rb
375
410
  - lib/ehbrs_ruby_utils/web_utils.rb
376
411
  - lib/ehbrs_ruby_utils/web_utils/instance.rb
377
412
  - lib/ehbrs_ruby_utils/web_utils/instance/finances.rb