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
TV4Home - WCF Webservice for MediaPortal TV Server
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="Oxan" data-source="post: 697001" data-attributes="member: 97484"><p>Yes, you're right.</p><p></p><p>Sorry, I misunderstood your reaction and thought you already knew the difference. Anyway, it's a bit complicated:</p><p>* The Schedule.Delete() method deletes the schedule from the Schedule table, all matcing schedules from the CanceledSchedule table and all matching conflicts from the Conflicts table.</p><p>* The Schedule.Remove() method just deletes from the Schedule table</p><p>* The CanceledSchedule.Persist() method creates an entry in the CanceledSchedule table, but doesn't seem to remove from the Schedule table. </p><p>* The Schedule table holds all active schedules</p><p>* The Conflicts table holds all times when two schedules conflicted (i.e. trying recording two different channels on the same card that doesn't support that).</p><p>* The CanceledSchedule table holds all schedules that are canceled by a user (not deleted, but canceled, for example because he wants to watch something else or he already saw that episode of a serie). </p><p></p><p>The SetupTv application and MediaPortal both use the Schedule.Delete() method, so I think we should follow that. Note though that I just got this from a quick look at the code, so if you want to be really sure you should ask a MP dev.</p></blockquote><p></p>
[QUOTE="Oxan, post: 697001, member: 97484"] Yes, you're right. Sorry, I misunderstood your reaction and thought you already knew the difference. Anyway, it's a bit complicated: * The Schedule.Delete() method deletes the schedule from the Schedule table, all matcing schedules from the CanceledSchedule table and all matching conflicts from the Conflicts table. * The Schedule.Remove() method just deletes from the Schedule table * The CanceledSchedule.Persist() method creates an entry in the CanceledSchedule table, but doesn't seem to remove from the Schedule table. * The Schedule table holds all active schedules * The Conflicts table holds all times when two schedules conflicted (i.e. trying recording two different channels on the same card that doesn't support that). * The CanceledSchedule table holds all schedules that are canceled by a user (not deleted, but canceled, for example because he wants to watch something else or he already saw that episode of a serie). The SetupTv application and MediaPortal both use the Schedule.Delete() method, so I think we should follow that. Note though that I just got this from a quick look at the code, so if you want to be really sure you should ask a MP dev. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
Top
Bottom