Exemplo n.º 1
0
        public override string Lookup(string unsanitized_title, Func <LookupContext, LookupChoice> choiceCallback)
        {
            string cachedId = new ImdbIdCacheService().ReadFromFolder(nfoFolder, fileSystem);

            if (cachedId != null)
            {
                return(cachedId);
            }
            else
            {
                return(base.Lookup(unsanitized_title, choiceCallback));
            }
        }
Exemplo n.º 2
0
 public override string Lookup(string unsanitized_title, Func<LookupContext, LookupChoice> choiceCallback)
 {
     string cachedId = new ImdbIdCacheService().ReadFromFolder(nfoFolder, fileSystem);
     if (cachedId != null)
     {
         return cachedId;
     }
     else
     {
         return base.Lookup(unsanitized_title, choiceCallback);
     }
 }