home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Manipulating Movie Database
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Deda" data-source="post: 663239" data-attributes="member: 89768"><p>Ok here's the result of investigation: in table "movieinfo" you need in column"idDirector" to put a record which is related to "actors" table.</p><p></p><p>So in case of "Terminator 2" put 1 ->Unknown in "actors" table. If director exists for movie it should be in "actors" table with it's id and that id must be also in "movieinfo" "idDirector" field for that movie.</p><p></p><p>I hope that this will help you.</p><p></p><p>MP query to get movies and infos is like this:</p><p>select * from movie,movieinfo,actors,path <span style="color: Red">where movieinfo.idmovie=movie.idmovie and movieinfo.iddirector=actors.idActor and movie.idpath=path.idpath</span></p></blockquote><p></p>
[QUOTE="Deda, post: 663239, member: 89768"] Ok here's the result of investigation: in table "movieinfo" you need in column"idDirector" to put a record which is related to "actors" table. So in case of "Terminator 2" put 1 ->Unknown in "actors" table. If director exists for movie it should be in "actors" table with it's id and that id must be also in "movieinfo" "idDirector" field for that movie. I hope that this will help you. MP query to get movies and infos is like this: select * from movie,movieinfo,actors,path [COLOR="Red"]where movieinfo.idmovie=movie.idmovie and movieinfo.iddirector=actors.idActor and movie.idpath=path.idpath[/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Manipulating Movie Database
Contact us
RSS
Top
Bottom