Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::media::MediaFile::loadMetadata (   self  ) 

Attempt to load the metadata for the photo or video

Raises errors if unable to be loaded

Definition at line 165 of file media.py.

00165                           :
        """
        Attempt to load the metadata for the photo or video
        
        Raises errors if unable to be loaded
        """
        if not self.metadata:
            if self.isImage:
                self.metadata = metadata.MetaData(self.fullFileName)
                self.metadata.read()
            else:
                self.metadata = videometadata.VideoMetaData(self.fullFileName)

                
    def dateTime(self, alternative_if_date_missing=None):


Generated by  Doxygen 1.6.0   Back to index