Package conduit :: Package datatypes :: Module Video :: Class Video
[hide private]

Class Video

source code


Instance Methods [hide private]
 
__init__(self, URI, **kwargs)
File constructor.
source code
 
get_video_duration(self) source code
 
get_video_size(self) source code
 
get_description(self)
Returns: the video's description
source code
 
set_description(self, description) source code
 
__getstate__(self)
Store the object state in a dict for pickling
source code
 
__setstate__(self, data)
Set object state from dict (after unpickling)
source code

Inherited from File.File: compare, delete, exists, force_new_file_extension, force_new_filename, force_new_mtime, get_contents_as_text, get_filename, get_filename_and_extension, get_hash, get_local_uri, get_mimetype, get_mtime, get_relative_uri, get_size, is_directory, is_local, set_from_instance, set_mtime, to_tempfile, transfer

Inherited from File.File (private): _close_file, _defer_new_mtime, _defer_rename, _get_file_info, _get_text_uri, _is_deferred_new_mtime, _is_deferred_rename, _is_proxyfile, _is_tempfile, _open_file, _set_file_mtime, _set_filename, _xfer_check_global_cancel_flag, _xfer_progress_callback

Inherited from DataType.DataType: get_UID, get_open_URI, get_rid, get_snippet, get_tags, get_type, set_UID, set_open_URI, set_tags

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
string _name_ = "file/video"
The name of the type
Instance Variables [hide private]

Inherited from DataType.DataType: UID, URI

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, URI, **kwargs)
(Constructor)

source code 
File constructor. Compulsory args
  • URI: The title of the note
Optional kwargs
  • basepath: The files basepath
  • group: A named group to which this file belongs
Overrides: File.File.__init__
(inherited documentation)

get_description(self)

source code 
Returns:
the video's description

__getstate__(self)

source code 
Store the object state in a dict for pickling
Overrides: File.File.__getstate__

__setstate__(self, data)

source code 
Set object state from dict (after unpickling)
Overrides: File.File.__setstate__