Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/m/u/mute-profanity-HEAD/resources/lib/SubFinder.py   mute-profanity(Download)
            toolsDir = self.Addon.getSetting("mkvextractpath")
            if toolsDir:
                extractor = mkv.MKVExtractor(toolsDir)
            else:
                extractor = mkv.MKVExtractor()

src/m/u/mute-profanity-HEAD/resources/test/MKVSubExtractTest.py   mute-profanity(Download)
sys.path.append(os.path.abspath(os.path.join(MY_DIR, '../lib')))
 
from MKVSubExtract import MKVExtractor
 
#Global movie path not checked into repo
    def test_get_track(self):
        x = MKVExtractor()
        sub_track = x.getSubTrack(movie_path)
        self.assertEqual(sub_track, 3)
 
    def test_extract_srt(self):
        x = MKVExtractor()