- October 24, 2007
- 82
- 15
- Home Country
- Italy
When you set a new scheduled recording, tvplugin checks conflicts with other schedules.
The check can be very slow, especially when there is a combination of :
- multiseat setup and the new schedule is set on a client
- many tuners
- the new schedule has multiple episodes (record every...)
- many schedules already present with multiple episodes
- many channels with EPG across multiple days
This patch introduces an optimization of the above check, and other bugfix/functionality :
- optimization in GetConflictingSchedules(), search only between overlapping episodes
- optimization in canViewTvChannel() and canTuneTvChannel(), create channel map only for current channel
- bugfix, ConflictsManager should not use disabled cards for schedule allocation. It should not use also not present cards, but not implemented because I'm not sure the best way to do it
- bugfix, ConflictsManager should check if schedule channel isn't mapped to a card, added user interaction like with episodes conflict
romadd
The check can be very slow, especially when there is a combination of :
- multiseat setup and the new schedule is set on a client
- many tuners
- the new schedule has multiple episodes (record every...)
- many schedules already present with multiple episodes
- many channels with EPG across multiple days
This patch introduces an optimization of the above check, and other bugfix/functionality :
- optimization in GetConflictingSchedules(), search only between overlapping episodes
- optimization in canViewTvChannel() and canTuneTvChannel(), create channel map only for current channel
- bugfix, ConflictsManager should not use disabled cards for schedule allocation. It should not use also not present cards, but not implemented because I'm not sure the best way to do it
- bugfix, ConflictsManager should check if schedule channel isn't mapped to a card, added user interaction like with episodes conflict
romadd
Attachments
Last edited by a moderator: