Class: TivoHMO::Adapters::Filesystem::Application

Inherits:
FolderContainer show all
Includes:
GemLogger::LoggerSupport, MonitorMixin, TivoHMO::API::Application
Defined in:
lib/tivohmo/adapters/filesystem/application.rb

Overview

An Application based on a filesystem

Constant Summary

Constants inherited from FolderContainer

FolderContainer::VIDEO_EXTENSIONS

Instance Attribute Summary

Attributes included from TivoHMO::API::Application

#metadata_class, #transcoder_class

Attributes included from TivoHMO::API::Container

#presorted, #uuid

Attributes included from TivoHMO::API::Node

#app, #children, #content_type, #created_at, #identifier, #modified_at, #parent, #root, #source_format, #title

Attributes inherited from FolderContainer

#allowed_item_extensions, #allowed_item_types, #full_path

Instance Method Summary collapse

Methods included from TivoHMO::API::Application

#metadata_for, #transcoder_for

Methods included from TivoHMO::API::Container

#child_count, #refresh

Methods included from TivoHMO::API::Node

#add_child, #app?, #find, #root?, #title_path, #to_s, #tree_string

Methods inherited from FolderContainer

#children

Constructor Details

#initialize(identifier) ⇒ Application

Returns a new instance of Application.



15
16
17
18
19
20
21
# File 'lib/tivohmo/adapters/filesystem/application.rb', line 15

def initialize(identifier)
  super(identifier)
  self. = TivoHMO::Adapters::StreamIO::
  self.transcoder_class = TivoHMO::Adapters::StreamIO::Transcoder

  setup_change_listener
end