ehbrs_ruby_utils 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/bga/game_statistics/whatsapp_formatter/player_title.rb +2 -1
  3. data/lib/ehbrs_ruby_utils/bga/game_statistics/whatsapp_formatter.rb +2 -23
  4. data/lib/ehbrs_ruby_utils/bga/game_statistics.rb +25 -0
  5. data/lib/ehbrs_ruby_utils/bga/session/skip_trophies.rb +2 -2
  6. data/lib/ehbrs_ruby_utils/music/lyrics_book/song.rb +1 -1
  7. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  8. data/lib/ehbrs_ruby_utils/videos/{container.rb → file.rb} +1 -1
  9. data/lib/ehbrs_ruby_utils/videos/stream.rb +33 -2
  10. data/lib/ehbrs_ruby_utils/videos2/convert_job.rb +99 -0
  11. data/lib/ehbrs_ruby_utils/videos2/extract/package.rb +75 -0
  12. data/lib/ehbrs_ruby_utils/videos2/extract/package_file.rb +53 -0
  13. data/lib/ehbrs_ruby_utils/videos2/extract.rb +11 -0
  14. data/lib/ehbrs_ruby_utils/videos2/profiles/base.rb +35 -0
  15. data/lib/ehbrs_ruby_utils/videos2/profiles/same_quality.rb +21 -0
  16. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_result.rb +24 -0
  17. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb +43 -0
  18. data/lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb +71 -0
  19. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unlisted.rb +29 -0
  20. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unsupported.rb +28 -0
  21. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unlisted.rb +25 -0
  22. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb +27 -0
  23. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks/invalid_extension.rb +27 -0
  24. data/lib/ehbrs_ruby_utils/videos2/unsupported/checks.rb +13 -0
  25. data/lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb +45 -0
  26. data/lib/ehbrs_ruby_utils/videos2/unsupported/file.rb +51 -0
  27. data/lib/ehbrs_ruby_utils/videos2/unsupported/fix_profile.rb +44 -0
  28. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec/ffmpeg_args.rb +68 -0
  29. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec.rb +15 -0
  30. data/lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_container.rb +17 -0
  31. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/aoc.rb +27 -0
  32. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/base.rb +117 -0
  33. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/philco.rb +28 -0
  34. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles/samsung.rb +33 -0
  35. data/lib/ehbrs_ruby_utils/videos2/unsupported/profiles.rb +13 -0
  36. data/lib/ehbrs_ruby_utils/videos2/unsupported/search.rb +75 -0
  37. data/lib/ehbrs_ruby_utils/videos2/unsupported/track.rb +32 -0
  38. data/lib/ehbrs_ruby_utils/videos2.rb +9 -0
  39. metadata +32 -3
@@ -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.39.0
4
+ version: 0.41.0
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-08 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -343,8 +343,8 @@ files:
343
343
  - lib/ehbrs_ruby_utils/vg/wii/wit/parsers/info.rb
344
344
  - lib/ehbrs_ruby_utils/vg/wii/wit/path.rb
345
345
  - lib/ehbrs_ruby_utils/videos.rb
346
- - lib/ehbrs_ruby_utils/videos/container.rb
347
346
  - lib/ehbrs_ruby_utils/videos/convert_job.rb
347
+ - lib/ehbrs_ruby_utils/videos/file.rb
348
348
  - lib/ehbrs_ruby_utils/videos/opensubtitles.rb
349
349
  - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb
350
350
  - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb
@@ -372,6 +372,35 @@ files:
372
372
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/content_sanitizer.rb
373
373
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_pattern_matcher.rb
374
374
  - lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_term_matcher.rb
375
+ - lib/ehbrs_ruby_utils/videos2.rb
376
+ - lib/ehbrs_ruby_utils/videos2/convert_job.rb
377
+ - lib/ehbrs_ruby_utils/videos2/extract.rb
378
+ - lib/ehbrs_ruby_utils/videos2/extract/package.rb
379
+ - lib/ehbrs_ruby_utils/videos2/extract/package_file.rb
380
+ - lib/ehbrs_ruby_utils/videos2/profiles/base.rb
381
+ - lib/ehbrs_ruby_utils/videos2/profiles/same_quality.rb
382
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_result.rb
383
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_set.rb
384
+ - lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb
385
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks.rb
386
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unlisted.rb
387
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_extra_unsupported.rb
388
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unlisted.rb
389
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb
390
+ - lib/ehbrs_ruby_utils/videos2/unsupported/checks/invalid_extension.rb
391
+ - lib/ehbrs_ruby_utils/videos2/unsupported/file.rb
392
+ - lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb
393
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fix_profile.rb
394
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec.rb
395
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec/ffmpeg_args.rb
396
+ - lib/ehbrs_ruby_utils/videos2/unsupported/fixes/supported_container.rb
397
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles.rb
398
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/aoc.rb
399
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/base.rb
400
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/philco.rb
401
+ - lib/ehbrs_ruby_utils/videos2/unsupported/profiles/samsung.rb
402
+ - lib/ehbrs_ruby_utils/videos2/unsupported/search.rb
403
+ - lib/ehbrs_ruby_utils/videos2/unsupported/track.rb
375
404
  - lib/ehbrs_ruby_utils/web_utils.rb
376
405
  - lib/ehbrs_ruby_utils/web_utils/instance.rb
377
406
  - lib/ehbrs_ruby_utils/web_utils/instance/finances.rb