Package Subtitles :: Module Discoverer
[hide private]
[frames] | no frames]

Module Discoverer

source code

Functions [hide private]
 
discoverer(file)
This procedure will negotiate and return the proper subtitle class to handle the specific format.
source code
Variables [hide private]
  discover_funcs = []
  format_path = '/home/jmesquita/Documents/subtle/Subtitles/Form...
  modules = ['/home/jmesquita/Documents/subtle/Subtitles/Formats...

Imports: os, glob, Formats, module


Function Details [hide private]

discoverer(file)

source code 

This procedure will negotiate and return the proper subtitle class to handle the specific format. If it returns None, format is not yet supported.


Variables Details [hide private]

format_path

Value:
'/home/jmesquita/Documents/subtle/Subtitles/Formats'

modules

Value:
['/home/jmesquita/Documents/subtle/Subtitles/Formats/Softni.py',
 '/home/jmesquita/Documents/subtle/Subtitles/Formats/SubRip.py',
 '/home/jmesquita/Documents/subtle/Subtitles/Formats/__init__.py']