public ScriptableScraperMovieWrapper(ScriptableScript script)
 {
     _name       = script.Name;
     _language   = script.LanguageCode;
     _script     = script;
     _downloader = new Downloader {
         EnableCompression = true
     };
 }
Esempio n. 2
0
        public ScriptableScraperMovieMatcher(ScriptableScript script) :
            base(script.Name, ServiceRegistration.Get <IPathManager>().GetPath($@"<DATA>\ScriptableScraperProvider\{script.ScriptID}"), MAX_MEMCACHE_DURATION, false)
        {
            _id      = script.ScriptID.ToString();
            _wrapper = new ScriptableScraperMovieWrapper(script);

            //Will be overridden if the user enables it in settings
            Enabled = false;
        }