MediaPortal/MediaPortal-1 — comment on commit d04a41d5bc72e3c98ddebbfc24c339cfb0821d7f
File: TvEngine3/TVLibrary/TvService/Scheduler/Scheduler.cs line 627
By jamesonuk:

Trying to think this through but off the top of my head new Rec is actually a scedule. What this is trying to catch is where a recording is started but for some reason that code has been entered whilst the same program is still recording (restart TV server / reboot etc).
This logic was actually copied from somewhere I think (schedule class) ??

Will work this through again tonight and perhaps it is as simple as that to fix...