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
WebService and Mobile Access
Self Contained Web Server / Interface
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="Big_Kev" data-source="post: 283170" data-attributes="member: 52102"><p>Hi Dave,</p><p></p><p>The MP Tv database is set up so that no new rows can be added with null fields. The "directory" column gets its value from the recording directory defined for the TV Card.</p><p></p><p>I think you need to make sure that all of your TV Cards have a recording folder defined.</p><p></p><p>I am not currently on a PC with MP installed, so all I can go off is the code for the interface...</p><p></p><p>[CODE] Q->Close();</p><p> Q->SQL->Clear();</p><p> Q->SQL->Add("select * from channelmap a, card b where idChannel = :Channel and a.idCard = b.idCard");</p><p> Q->ParamByName("Channel")->AsInteger = TChannel;</p><p> Q->Open();</p><p> Q->First();</p><p> if (!Q->Eof)</p><p> {</p><p> R->ParamByName("RECOMMENDEDCARD")->AsInteger = Q->FieldByName("idCard")->AsInteger;</p><p> R->ParamByName("PRIORITY")->AsInteger = Q->FieldByName("priority")->AsInteger;</p><p> [B][COLOR="Red"]R->ParamByName("DIRECTORY")->AsString = Q->FieldByName("recordingFolder")->AsString;[/COLOR][/B]</p><p> }[/CODE]</p><p></p><p>Have a look at your TV Server configuration at the options for the TV Cards. I am not in front of it right now, so I cant tell you exactly where to find the right page...</p><p></p><p>Regards</p><p>Kev</p></blockquote><p></p>
[QUOTE="Big_Kev, post: 283170, member: 52102"] Hi Dave, The MP Tv database is set up so that no new rows can be added with null fields. The "directory" column gets its value from the recording directory defined for the TV Card. I think you need to make sure that all of your TV Cards have a recording folder defined. I am not currently on a PC with MP installed, so all I can go off is the code for the interface... [CODE] Q->Close(); Q->SQL->Clear(); Q->SQL->Add("select * from channelmap a, card b where idChannel = :Channel and a.idCard = b.idCard"); Q->ParamByName("Channel")->AsInteger = TChannel; Q->Open(); Q->First(); if (!Q->Eof) { R->ParamByName("RECOMMENDEDCARD")->AsInteger = Q->FieldByName("idCard")->AsInteger; R->ParamByName("PRIORITY")->AsInteger = Q->FieldByName("priority")->AsInteger; [B][COLOR="Red"]R->ParamByName("DIRECTORY")->AsString = Q->FieldByName("recordingFolder")->AsString;[/COLOR][/B] }[/CODE] Have a look at your TV Server configuration at the options for the TV Cards. I am not in front of it right now, so I cant tell you exactly where to find the right page... Regards Kev [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Self Contained Web Server / Interface
Contact us
RSS
Top
Bottom