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
MediaPortal 1 Talk
Hauppauge HD-PVR & Colossus Support
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="mm1352000" data-source="post: 752347" data-attributes="member: 82144"><p>Looks like you're well on your way! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p></p><p>Yep, that's correct. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p></p><p>Pretty much. The channelType needs to stay as 0, but aside from that what you're doing is fine.</p><p></p><p></p><p>idChannel and idTuning are the primary keys on each table. They have to be unique (ie. you can't have two TuningDetail records with the same idTuning... and the same for Channel with idChannel), but other than that you can make them whatever you like. Sequential is probably best and easiest. Note that there is one important thing to remember: the idChannel column in the TuningDetail has to match the idChannel of the Channel record that the TuningDetail is related to. That's a standard foreign key reference...</p></blockquote><p></p>
[QUOTE="mm1352000, post: 752347, member: 82144"] Looks like you're well on your way! :D Yep, that's correct. :) Pretty much. The channelType needs to stay as 0, but aside from that what you're doing is fine. idChannel and idTuning are the primary keys on each table. They have to be unique (ie. you can't have two TuningDetail records with the same idTuning... and the same for Channel with idChannel), but other than that you can make them whatever you like. Sequential is probably best and easiest. Note that there is one important thing to remember: the idChannel column in the TuningDetail has to match the idChannel of the Channel record that the TuningDetail is related to. That's a standard foreign key reference... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Hauppauge HD-PVR & Colossus Support
Contact us
RSS
Top
Bottom