Exemplo n.º 1
0
    def valid_video_file(self, file):
        """Verify file is supported by Youtube

        Freeseer currently encodes to .ogg and .webm
        TODO: expand list to all types supported by Youtube

        Args:
            file: path to file to verify

        Returns:
            True if file is supported
        """
        return file.lower().endswith(('.ogg', '.webm'))
Exemplo n.º 2
0
    def valid_video_file(file):
        """Verify file is supported by Youtube

        Freeseer currently encodes to .ogg and .webm
        TODO: expand list to all types supported by Youtube

        Args:
            file: path to file to verify

        Returns:
            True if file is supported
        """
        return file.lower().endswith(('.ogg', '.webm'))
Exemplo n.º 3
0
 def __joinpath(path,file):
     """Join PATH and FILE
     """
     return os.path.join(path + os.sep + file.lower())