Class: Danta::VideoLibrary
- Inherits:
-
Object
- Object
- Danta::VideoLibrary
- Defined in:
- lib/danta/video_library.rb
Constant Summary collapse
- VIDEO_FORMATS =
[ :mkv, :mov, :mp4 ]
Instance Method Summary collapse
Instance Method Details
#videos ⇒ Object
10 11 12 13 14 |
# File 'lib/danta/video_library.rb', line 10 def videos video_libraries .map { |library| Library::Tree.new(paths: video_paths(library)) } .flat_map { |library| library.to_h } end |