Fix for the bug: weekely schedules are deleted after first recording (1 Viewer)

iosub

Portal Pro
April 26, 2006
573
30
San Sebastian
Hi

The ires a bug that the complete schedule is deleted after the first time the schedule is recorded. This is ok if the schedule is set as "only one" but if the schedule is for "every day at this time.. every week at this time ...." The schedule is always deleted.

I have change the code on
scheduler.cs
line
665
_recordingsInProgressList.Remove(recording); //only remove recording from the list, if we are succesful
recording.Schedule.Delete();

to
_recordingsInProgressList.Remove(recording); //only remove recording from the list, if we are succesful
// recording.Schedule.Delete();

and now only the schedules that are set to "only one" are deleted the rest of the schedules are not deleted

I have made several test and I think that this does not break anything it just fix the bug
Hope this helps
Iosu

Reported on
https://forum.team-mediaportal.com/...anish-after-first-recording-37511/#post250637

and also
https://forum.team-mediaportal.com/253978-post6.html
 

mv686

Portal Member
January 1, 2008
17
0
Hi,

I have the problem with the schedules too. Where can I find the scheduler.cs? I didn't find it on my computer. I use MP Server with snapshot 18584 and the wbinterface.

thanks for your help

mv686

Hi

The ires a bug that the complete schedule is deleted after the first time the schedule is recorded. This is ok if the schedule is set as "only one" but if the schedule is for "every day at this time.. every week at this time ...." The schedule is always deleted.

I have change the code on
scheduler.cs
line
665
_recordingsInProgressList.Remove(recording); //only remove recording from the list, if we are succesful
recording.Schedule.Delete();

to
_recordingsInProgressList.Remove(recording); //only remove recording from the list, if we are succesful
// recording.Schedule.Delete();

and now only the schedules that are set to "only one" are deleted the rest of the schedules are not deleted

I have made several test and I think that this does not break anything it just fix the bug
Hope this helps
Iosu

Reported on
https://forum.team-mediaportal.com/...anish-after-first-recording-37511/#post250637

and also
https://forum.team-mediaportal.com/253978-post6.html
 

Users who are viewing this thread

Top Bottom