Normal
This is the code that gets actor details in IMDB.cs: public bool GetActorDetails(IMDBUrl url, out IMDBActor actor, bool pFetchActorInfo) { actor = new IMDBActor(); int pos = url.URL.LastIndexOf("nm"); string id = url.URL.Substring(pos, 9).Replace("/", string.Empty); Log.Debug("IMDB: GetActorDetails: start id: {0}", id); try { if (pFetchActorInfo || !VideoDatabase.HasActorByIMDBActorID(id)) { if (InternalActorsScriptGrabber.InternalActorsGrabber.GetActorDetails(url, out actor)) { // Add filmography if (actor.Count > 0) { actor.SortActorMoviesByYear(); } return true; } } } catch (Exception ex) { Log.Error("IMDB GetActorDetails Error: {0}", ex.Message); } return false; }It uses IMDBUrl as the search parameter to get actor details in InternalActorMoviesGrabber.csscript. That's why I store it for fast fetch refreshes.I don't see what's wrong with that and, besides, this method is optional. If you want to do a full search every time then don't select Fast Fetch.
This is the code that gets actor details in IMDB.cs:
public bool GetActorDetails(IMDBUrl url, out IMDBActor actor, bool pFetchActorInfo)
{
actor = new IMDBActor();
int pos = url.URL.LastIndexOf("nm");
string id = url.URL.Substring(pos, 9).Replace("/", string.Empty);
Log.Debug("IMDB: GetActorDetails: start id: {0}", id);
try
if (pFetchActorInfo || !VideoDatabase.HasActorByIMDBActorID(id))
if (InternalActorsScriptGrabber.InternalActorsGrabber.GetActorDetails(url, out actor))
// Add filmography
if (actor.Count > 0)
actor.SortActorMoviesByYear();
}
return true;
catch (Exception ex)
Log.Error("IMDB GetActorDetails Error: {0}", ex.Message);
return false;
It uses IMDBUrl as the search parameter to get actor details in InternalActorMoviesGrabber.csscript. That's why I store it for fast fetch refreshes.
I don't see what's wrong with that and, besides, this method is optional. If you want to do a full search every time then don't select Fast Fetch.