Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the best video database software?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: meriator
« on: December 17, 2008, 01:44:44 am »

so I wait for the future
cause I cant find the episode by sendeing its org.title
I have to use the org.title of the main-movie to get to the right page

thanks meriator
Posted by: nostra
« on: December 16, 2008, 04:03:30 pm »

There is a callback function to retrieve fields: GetFieldValue(AField : Integer);
Field number 0 is MID.

There is only one problem: you need to start the script having episodes selected, not the main movie record to make the script retrieve mid for each episode.

I'll try to improve this functionality in future.
Posted by: meriator
« on: December 16, 2008, 09:30:28 am »

hi nostra
the script i currently working on should
import/update title and description (in german) for movie-episodes only
(may be later the cover-images too)
the movie has to be allready in the db
I imported my test-movies from IMDb
(its very boring job, to update a lot of episodes manualy)

the source-page for the new script is http://www.fernsehserien.de
this page is a kind of a german episode-guide

while writing this script
I have a problem
I need the MID for giving the orginal title of the episode from the db
because the season- and episode-numbers do not match
to IMDb but the orignalTitle does
so my question is.
Is it posible to implement a callback-function to the scripting-engine
which gives back the MID of an episode (of the current selected Movie),
in exchange
like
getEpisodeMID(orignalTitle of Movie-Episode)
may be we need
getMovieMID(current selected Movie) too
to do it this way
getEpisodeMID(currentMovieMID, orignalTitle of Movie-Episode)

and a function which will change movie-episode fields
like updateMovieField (MID, field-name, field-value)
this would be very great

thanks meriator

ps:I know you might be very busy, sorry
anything