Hi,
Through several releases of MP1, I've had a problem with scheduling analog TV recordings. It works a few times after a fresh installation, but then for no apparent reason I can no longer make the schedules stay/appear in the list. I have tried 3 different Hauppauge HW-encoding analog cards (PVR-350, HVR-1300, and the USB external tuner), all developing the same problem after a few schedulings. Windows XP SP3 32-bit and Windows 7 HP 64-bit alike. Manually started recordings work.
Oddly enough, all 3 FloppyDTV-C and previous FireDTV-C cards I've used work flawlessly with scheduling.
I have set logging to maximum, but the only entry is in TVService.log, saying:
"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 51 - removing"
"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 52 - removing" and so on.
There's one entry for each (=every) failed attempt to schedule the analog card.
When creating a schedule, the analog cards have extra quality options. Could it be them causing some inconsistency?
Just guessing from the below code, could it be that the scheduler then (correctly) deletes the faulty schedule entry?
Please help me get to the bottom of this. It has been a nuisance to me for several years on an otherwise very good application.
Kind regards
Niclas
http://sources.team-mediaportal.com...e3/TVLibrary/TvService/Scheduler/Scheduler.cs
[MethodImpl(MethodImplOptions.Synchronized)]
private void DoScheduleWork()
{
StopAnyDueRecordings();
StartAnyDueRecordings();
CheckAndDeleteOrphanedRecordings();
CheckAndDeleteOrphanedOnceSchedules();
HandleSleepMode();
}
private void CheckAndDeleteOrphanedOnceSchedules()
{
//only delete orphaned schedules when not recording.
if (!IsRecordingsInProgress())
{
IList<Schedule> schedules = Schedule.FindOrphanedOnceSchedules();
foreach (Schedule orphan in schedules)
{
Log.Debug("Scheduler: Orphaned once schedule found {0} - removing", orphan.IdSchedule);
orphan.Delete();
}
}
}
Through several releases of MP1, I've had a problem with scheduling analog TV recordings. It works a few times after a fresh installation, but then for no apparent reason I can no longer make the schedules stay/appear in the list. I have tried 3 different Hauppauge HW-encoding analog cards (PVR-350, HVR-1300, and the USB external tuner), all developing the same problem after a few schedulings. Windows XP SP3 32-bit and Windows 7 HP 64-bit alike. Manually started recordings work.
Oddly enough, all 3 FloppyDTV-C and previous FireDTV-C cards I've used work flawlessly with scheduling.
I have set logging to maximum, but the only entry is in TVService.log, saying:
"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 51 - removing"
"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 52 - removing" and so on.
There's one entry for each (=every) failed attempt to schedule the analog card.
When creating a schedule, the analog cards have extra quality options. Could it be them causing some inconsistency?
Just guessing from the below code, could it be that the scheduler then (correctly) deletes the faulty schedule entry?
Please help me get to the bottom of this. It has been a nuisance to me for several years on an otherwise very good application.
Kind regards
Niclas
http://sources.team-mediaportal.com...e3/TVLibrary/TvService/Scheduler/Scheduler.cs
[MethodImpl(MethodImplOptions.Synchronized)]
private void DoScheduleWork()
{
StopAnyDueRecordings();
StartAnyDueRecordings();
CheckAndDeleteOrphanedRecordings();
CheckAndDeleteOrphanedOnceSchedules();
HandleSleepMode();
}
private void CheckAndDeleteOrphanedOnceSchedules()
{
//only delete orphaned schedules when not recording.
if (!IsRecordingsInProgress())
{
IList<Schedule> schedules = Schedule.FindOrphanedOnceSchedules();
foreach (Schedule orphan in schedules)
{
Log.Debug("Scheduler: Orphaned once schedule found {0} - removing", orphan.IdSchedule);
orphan.Delete();
}
}
}