- May 14, 2008
- 3,558
- 434
- Home Country
- Germany
i've already tried the search but wasn't able to found the thread. As you've already read i also have a ded. 4350 at it's the same.
Any combination of following:
- 0x0 none
- 0x1 notify
- 0x2 record
- 0x4 record series
again much of the tvguide code would get more simplistic - and we like that
public enum ProgramState
{
None = 0,
Notify = 1,
Record = 2,
RecordSeries = 3,
Conflict = 4
}
[B][Flags][/B]
public enum ProgramState
{
None = 0,
Notify = 1,
Record = 2,
RecordSeries = 4,
Conflict = 8
}
public enum ProgramState
{
None = 0,
Notify = 1,
Record = 2,
RecordSeries = 3,
Conflict = 4
}
Correct one would be to use:
public enum ProgramState
{
None = 0,
Notify = 1,
Record = 2,
RecordSeries = 4,
Conflict = 8
}
You need to use that enum as flags since you are able to have multiple states at once. For example there could be a notify for a program that is having a recording dot shown (or conflict).
thanks will try that and post resultsMay be the best way for testing it, is to remove your schedules and, see if it is faster than before ?
Otherwise, if you can't/don't want to, I suppose putting comments on :
LoadSchedules(true);
in lines 697 and 923 of TvGuideBase.cs could be enough for testing if this cause the problem.
Of course, you will loose all _recordingList related, after that.
even "more correct" would be to define them as flags, if you want to use bitwise combinations: