In WMS is not ready scripts to automatically download information from IMDB and any other services. I think a lot of movies have in their name "Butterfly".munichman wrote:Ok, I just found that in the program. However, I have to click on a specific movie file and right-click for "Edit information", and then I select the IMDB button and then I run IMDB with keywords, then in the browser window I click on the link for the movie in the IMDB website. Then I can finally click the button on the left called "Load information". It picks up the info great. Then I click OK, and the information is updated for that single movie file.
However, I want to have this automated using your WMS software. How do I do that? I cannot figure out how to do automate this.
By default, load only the first actor. This can be changed in the script. Uncomment "Actor List"munichman wrote: Also note that after I updated a couple movies manually, I went back to my "Actors" list and there still was nothing listed there. Shouldn't it get updated with the actors from the 2 movies I just updated? How do I fix this?
Code: Select all
{ ActorItem := IMDBItem.ChildList.Finditem('Cast\0');
if ActorItem <> nil then
WmsSetMediaItemProperty('mpActor', ActorItem.Name);}
// Actor list
ActorItem := IMDBItem.ChildList.FindItem('Cast');
if ActorItem <> nil then begin
sActorList := '';
for i := 0 to ActorItem.ChildList.Count - 1 do begin
if sActorList <> '' then
sActorList := sActorList + ', ';
sActorList := sActorList + ActorItem.ChildList[i].Name;
end;
if sActorList <> '' then
WmsSetMediaItemProperty('mpActor', sActorList);
end;
TitleItem := IMDBItem.ChildList.Finditem('Title');
if (TitleItem <> nil) and (TitleItem.Image <> '') then
WmsSetMediaItemProperty('mpThumbnail', WmsDownloadThumbnail(TitleItem.Image));
finally
IMDBInfo.Free
end
end.
Documentation is available only on basic operations.munichman wrote: Is all of this stuff documented anywhere? Am I missing a manual? It would be saving me a lot of time if this stuff was documented.