home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Analog TV scheduling error: orphaned once schedules are not deleted
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kimmeridgien" data-source="post: 1020910" data-attributes="member: 60361"><p>Hi,</p><p> </p><p>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.</p><p> </p><p>Oddly enough, all 3 FloppyDTV-C and previous FireDTV-C cards I've used work flawlessly with scheduling.</p><p> </p><p>I have set logging to maximum, but the only entry is in TVService.log, saying:</p><p>"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 51 - removing"</p><p>"[scheduler thread] [DEBUG] - Scheduler: Orphaned once schedule found 52 - removing" and so on.</p><p>There's one entry for each (=every) failed attempt to schedule the analog card.</p><p> </p><p>When creating a schedule, the analog cards have extra quality options. Could it be them causing some inconsistency?</p><p> </p><p>Just guessing from the below code, could it be that the scheduler then (correctly) deletes the faulty schedule entry?</p><p> </p><p>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.</p><p> </p><p>Kind regards</p><p> </p><p>Niclas</p><p> </p><p><a href="http://sources.team-mediaportal.com/svn/public/trunk/TvEngine3/TVLibrary/TvService/Scheduler/Scheduler.cs" target="_blank">http://sources.team-mediaportal.com/svn/public/trunk/TvEngine3/TVLibrary/TvService/Scheduler/Scheduler.cs</a></p><p> </p><p> [MethodImpl(MethodImplOptions.Synchronized)]</p><p> private void DoScheduleWork()</p><p> {</p><p> StopAnyDueRecordings();</p><p> StartAnyDueRecordings();</p><p> CheckAndDeleteOrphanedRecordings();</p><p> CheckAndDeleteOrphanedOnceSchedules();</p><p> HandleSleepMode();</p><p> }</p><p></p><p> private void CheckAndDeleteOrphanedOnceSchedules()</p><p> {</p><p> //only delete orphaned schedules when not recording.</p><p> if (!IsRecordingsInProgress())</p><p> {</p><p> IList<Schedule> schedules = Schedule.FindOrphanedOnceSchedules();</p><p> foreach (Schedule orphan in schedules)</p><p> {</p><p> Log.Debug("Scheduler: Orphaned once schedule found {0} - removing", orphan.IdSchedule);</p><p> orphan.Delete();</p><p> }</p><p> }</p><p> }</p></blockquote><p></p>
[QUOTE="Kimmeridgien, post: 1020910, member: 60361"] 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 [url]http://sources.team-mediaportal.com/svn/public/trunk/TvEngine3/TVLibrary/TvService/Scheduler/Scheduler.cs[/url] [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(); } } } [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Analog TV scheduling error: orphaned once schedules are not deleted
Contact us
RSS
Top
Bottom