NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 86 87 88 89 90 … 125 Next »
PriorityRecordings.exe using wrong recording source for channels

 
  • 0 Vote(s) - 0 Average
PriorityRecordings.exe using wrong recording source for channels
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#1
2006-01-02, 05:53 PM
I'm having a big problem with programs scheduled using PriorityRecordings.exe. The recordings are trying to use the wrong recording source.

GBPVRRecordingService.exe.log contains the following error message :

[INDENT][SIZE="2"][COLOR="Green"]02/01/2006 16:30:00.178 INFO [53] Found new programme requiring recording: Kirsty's Home Videos
02/01/2006 16:30:00.194 ERROR [53] Failure in ChannelFactory::getSourceChannelNumber(): Object reference not set to an instance of an object.
02/01/2006 16:30:00.194 VERBOSE [53] Changing to channel (GBPVR.Backend.Common.NullTunerController): 0
02/01/2006 16:30:00.194 VERBOSE [53] Requesting IRecordingSource to start recording: G:\VIDEO\Kirstys Home Videos_20060102_16301700.mpg
02/01/2006 16:30:00.194 VERBOSE [53] BDARecordingSource about to start recording oid:1 channel:
02/01/2006 16:30:00.256 ERROR [53] Error starting recording: Length cannot be less than zero.
Parameter name: length
02/01/2006 16:30:00.256 ERROR [53] Error starting recording: at System.String.Substring(Int32 startIndex, Int32 length)
at NativeUtilities.BDARecorder.StartRecording(String cardType, Int32 board, String filename, IntPtr hwnd, String tuningRequest, Int32 lnbLOF1, Int32 lnbSwitch, Int32 lnbLOF2, Int32 diseqc, Boolean powered, Boolean previewMode)
at NativeUtilities.BDARecorder.StartRecording(String cardType, Int32 board, String filename, IntPtr hwnd, String tuningRequest, Int32 lnbLOF1, Int32 lnbSwitch, Int32 lnbLOF2, Int32 diseqc, Boolean powered)
at GBPVR.Backend.Common.BDARecordingSource.startRecording(IRecordingSourceConfiguration xa7c7ceed38e3bee4, Int32 x16b01fbd4b998cfc, String x8b1d9e3189e6e73d, ChannelTuning x14c8abe66009b164, Int32 xeef1d8e9d81064fa, Boolean x3a83f6e9e3779d99)
at GBPVR.RecordingService.RecordingManager.WorkerThread()
02/01/2006 16:30:00.459 VERBOSE [53] RecordingStatus is now RecordingStatus.RECORDING_IN_PROGRESS
02/01/2006 16:30:00.459 VERBOSE [53] RecordingFactory.save()
02/01/2006 16:30:00.475 VERBOSE [53] Save(): Updated existing scheduled recording[/COLOR][/SIZE]
[/INDENT]

And GBPVRRecordingService.exe-native.log shows :

[INDENT][SIZE="2"][COLOR="Green"]16:30:00.241 INFO Log started
16:30:00.241 INFO BDARecorder:::StartRecording(TerraTec Cinergy 2400i DT #1 DVB-T, 1, G:\VIDEO\Kirstys Home Videos_20060102_16301700.mpg, )[/COLOR][/SIZE]
[/INDENT]
If I manually quick record a program using the standard TV guide, its OK.

This is a new installation of XP Pro SP2, GBPVR v0.95.16 and XRecord (xrecord-setup dated 22-Nov-05). I have three tuners :

1. Cinergy DVB card (oid 1)
2. Cinergy DVB card (oid 2)
3. PVR-250 attached to Sky Digital STB via S-Video input (oid 4)

Cards #1 and #2 only have access to free-to-air channels, I used about 20. Card #3 has access to all my subscription channels plus most of the same FTA channels on the DVB cards. I wanted GBPVR to always use the DVB cards where possible, so as not to tie up the Sky Digital receiver.

I had a hunt around a copy of GBPVR.MDB with access. Looking in table RECORDING_SCHEDULE shows the above recording's (Kirstys Home Videos) capture source was 1 - it should have been 4.

Looking in XRecord/Scheduler for 'Kirstys Home Videos', the Capture Source is Not specified. But if I look at the PriorityRecordings.xml file it shows CaptureSource is 1 :

[INDENT][SIZE="2"][COLOR="Green"] <Recording priority="2">
<Channel>107</Channel>
<ProgramName>Kirsty's Home Videos</ProgramName>
<Quality>Medium</Quality>
<CaptureSource force="no">1</CaptureSource>
<Suspended>False</Suspended>
<LimitDays>
<DaysOfWeek>Monday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="16:30" />
<End time="17:00" />
</ScheduleTime>
</Recording>
[/COLOR][/SIZE]
[/INDENT]
Will changing CaptureSource to 4 and/or the force attibute to yes make a differance ?

BTW, I don't watch Kirstys Home Videos, it was just a test I performed to get log data - Honest !

Thanks, Sean
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#2
2006-01-02, 06:29 PM
I've just notice something else :

If I update the schedule in XRecord and change the Capture Source, the options are 1, 2, 3 & 'Not specified'. If I select 3, save it PriorityRecordings.xml changes to <CaptureSource force="no">3</CaptureSource> but when I re-edit it the capture source has changed back to 'Not specified'.

Running PriorityRecordings.exe with CaptureSource set to 3 it populates the capture_source field in the RECORDING_SCHEDULE table with the value 3, when it should be the oid value of 4.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#3
2006-01-02, 06:35 PM
Can you do something, and set the source manually in the PriorityRecordings.xml and let us know if it records on the correct channel. I suspect that this is a problem with the XRecord interface to CDK Scheduler when it gets the number of capture sources. Especially, since you are getting errors when select the "Not Specified" option.
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#4
2006-01-02, 08:43 PM
Hi KingArgyle

Thanks for responding so quickly. I've gone back to my original PriorityRecordings.xml and added <CaptureSource force="no">4</CaptureSource> to any programmes which use the STB. I did notice that some programmes had already had a CaptureSource entry and others did not, but it did not seem to effect the recording source chosen - usually 1.

I will let you know how it got on tomorrow.
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#5
2006-01-04, 02:07 AM
I changed the <CaptureSource> entry to 4 for shows which are only on shown on STB, and this worked fine.

But for shows which are set to record on 'All Channels' I still have the same problem. So I've deleted the entire <CaptureSource></CaptureSource> entry for those shows and will let you know how it goes.

Sean
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#6
2006-01-04, 02:53 AM
...sometime later : No, it still usually sets the capture_source field in the RECORDING_SCHEDULE table to 1, but sometimes 4.

So to recap, PriorityRecording still usually selects a capture source for which the required channel is not available.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#7
2006-01-04, 04:50 AM (This post was last modified: 2006-01-04, 04:56 AM by KingArgyle.)
Hmmm....this is going to be difficult for me to test out as I only have one capture source.

SWK if you can, please post a bug here:
http://sourceforge.net/tracker/?group_id...tid=772447

Jrock or Jorm, any ideas on testing this...???
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#8
2006-01-05, 01:12 AM
Will do - Thanks for taking the time to look into this.

With regard to testing, you could create a dummy capture source using the external recorder plugin and then create a short EPG list with only a few channels that you do not regularly use (News,etc). I've used this in the past to record from a DEC2000T, but you can just get it to run a batch file which updates a log file:

[INDENT][COLOR="DarkGreen"]@ECHO OFF
SET LOG_FILE="%~dpn0.LOG"
ECHO %DATE% %TIME% %0 '%*' >>%LOG_FILE%[/COLOR]
[/INDENT]

You may need to manually edit config-recorders.xml due to a config issue. Here's mine :

[INDENT][COLOR="DarkGreen"]<?xml version="1.0" encoding="UTF-8"?>
<settings>
<globalSettings />
<captureSources>
<captureSource oid="12">
<executable>C:\WINDOWS\system32\cmd.exe</executable>
<recordingParameters>/C D:\DVBRecord\GBPVR_DECRecord.CMD /RECORD {channel} "{filename}" {minutes}</recordingParameters>
<previewParameters>/C D:\DVBRecord\GBPVR_DECRecord.CMD /PREVIEW {channel} "{filename}" {minutes}</previewParameters>
<threeDigit>True</threeDigit>
<zeroPad>True</zeroPad>
</captureSource>
</captureSources>
</settings>[/COLOR]
[/INDENT]

Hope this helps, Sean
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#9
2006-01-05, 01:30 AM
Yeah, that should work.

It may be a bit before I get some time to look at this. Work is starting to pick up which means my spare creative time usually gets sucked dry. Hopefully, if I don't get to it, either JRock or somebody else will take a look.
jrockintuitive
Offline

Senior Member

Posts: 292
Threads: 19
Joined: Dec 2004
#10
2006-01-05, 10:40 AM
I'm away next week on business. When I come back, I'll take a look.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Showanalyzer Doesn't Run While Show is Recording a .TS File ww4397 1 2,519 2009-12-02, 11:14 AM
Last Post: ww4397
  Recording (*)ed shows cgilson33 3 2,061 2009-04-19, 12:36 PM
Last Post: kayak4ever
  graphRecorder: capture source disappears after setup Jay D. Carter 7 3,108 2009-01-21, 02:39 PM
Last Post: carpeVideo
  mc2xml and remapping channels eskimoquin 2 2,007 2008-12-24, 06:43 AM
Last Post: eskimoquin
  getRecordingStatus - recording stuck KStiles 0 1,837 2008-10-16, 04:01 PM
Last Post: KStiles
  Looking for recent C# source code example for a plugin. erik 1 1,747 2008-06-06, 09:02 AM
Last Post: McBainUK
  Recording Live events (ie Sports) that go past estimated time ReZnOriO 1 1,653 2008-05-30, 09:05 PM
Last Post: psycik
  DBoxRecorder causing Recording service to stop? stu8080 5 2,235 2008-04-06, 01:12 PM
Last Post: stu8080
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,633 2008-03-27, 11:45 PM
Last Post: _Dude_
  TV listings not updating new channels gazoo 8 2,824 2008-03-05, 07:42 AM
Last Post: alibert

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode