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

Class Audio

source code


Instance Methods [hide private]
 
__init__(self, URI, **kwargs)
File constructor.
source code
 
get_audio_artist(self) source code
 
get_audio_album(self) source code
 
get_audio_duration(self) source code

Inherited from File.File: __getstate__, __setstate__, 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]
  _name_ = "file/audio"
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)