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 … 68 69 70 71 72 … 125 Next »
PriorityRecording won't start

 
  • 0 Vote(s) - 0 Average
PriorityRecording won't start
jamest
Offline

Junior Member

Posts: 4
Threads: 2
Joined: Aug 2004
#1
2006-05-11, 04:52 PM
I am having a problem with the PriorityRecording exe crashing when run
When the xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<GBPVR d1p1:noNamespaceSchemaLocation="C:\Program Files\devnz\gbpvr\PriorityRecordings.xsd" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance">
<Configuration>
<MissingRecordingPriority>0</MissingRecordingPriority>
<Conflicts>Delete</Conflicts>
<DuplicatesAllowed>Yes</DuplicatesAllowed>
</Configuration>
</GBPVR>
the program runs an exits fine. But as soon as I add any recording block it crashes :
Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 11/05/2006
Time: 17:40:59
User: N/A
Computer: MYTV1
Description:
Application popup: PriorityRecording.exe - Common Language Runtime Debugging Services : Application has generated an exception that could not be handled.

Process id=0x468 (1128), Thread id=0xd1c (3356).

I even copied recording block from the example files like :
<Recording priority="1">
<Channel>4</Channel>
<ProgramName>Days of our Lives</ProgramName>
</Recording>

The log file does help much:
11/05/2006 17:40:59.635 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:40:59.635 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:40:59.650 VERBOSE [9] getDatabaseConnection() creating new connection


When there is no <recording> block then the log file looks like this:
11/05/2006 17:46:58.721 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:46:58.736 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:46:58.736 VERBOSE [9] getDatabaseConnection() creating new connection
11/05/2006 17:46:58.799 VERBOSE [9] getValue() loading new key/value into cache: /settings/PluginsEnabled
11/05/2006 17:46:58.799 VERBOSE [9] getValue: /settings/PluginsEnabled : true
11/05/2006 17:46:58.845 VERBOSE [9] Loading DirectRecordingSource Configuration : 2
11/05/2006 17:46:58.861 VERBOSE [9] About to connect to remote recording service
11/05/2006 17:46:58.861 VERBOSE [9] getValue() loading new key/value into cache: /settings/RecordingServiceLocation
11/05/2006 17:46:58.861 VERBOSE [9] getValue: /settings/RecordingServiceLocation : tcp://10.0.0.3:7968/RecordingRemote

The PC is xpsp2, .net 1.1 and 2, msxml 6.0 parser, latest gbpvr and the cdkschedler sp1 is applied. Any ideas?

Thanks

James
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#2
2006-05-11, 10:27 PM
Make sure you check out the Wiki, there are a couple of sample XML files. Here is the most basic that you need for a recording block:

Code:
<Recording priority="1">
    <Channel>4</Channel>
    <ProgramName>Las Vegas</ProgramName>
    <Quality>Custom2</Quality>
    <CaptureSource force="no">1</CaptureSource>
    <Suspended>False</Suspended>
    <Duplicates>
      <Recorded>No</Recorded>
      <Scheduled>No</Scheduled>
    </Duplicates>
    <Padding>
      <PrePadding>0</PrePadding>
      <PostPadding>2</PostPadding>
    </Padding>
  </Recording>
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#3
2006-05-12, 01:34 AM
I'm sure I'm missing something, but can you post a link to xml files/instructions for using the Priority Recording function? I see mention about CDKScheduler, but I can't find the usage examples you mentioned. Thanks....
jamest
Offline

Junior Member

Posts: 4
Threads: 2
Joined: Aug 2004
#4
2006-05-12, 03:20 PM
KingArgyle,
Thanks for the xml block and indeed it does work. The recording block i was using to test was the one from the wiki cdkscheduler page, example zip1, so maybe that file needs updating. I have also found out that the order of items within the <recording> block is critical. <ScheduleTime/> has to be before <Padding/> other wise it crashes, don't know if it's by design but probably should be mentioned on the wiki. For a newbe trying to get things wokring it doesn't take much to confuse. I still have one question though.
I'm trying to record every show on a channel during a certain time window. At the moment I'm using this:

<Recording priority="1">
<Channel>88</Channel>
<Search>
<GuideDescription><TextSearch>e</TextSearch></GuideDescription>

</Search>
<Quality>Medium</Quality>
<CaptureSource force="no">1</CaptureSource>
<Suspended>False</Suspended>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>

<ScheduleTime>
<Start time="00:00"/>
<End time="06:00"/>
</ScheduleTime>
<Padding>
<PrePadding>0</PrePadding>
<PostPadding>0</PostPadding>
</Padding>
</Recording>

as most programs will have an 'e' some where in the description, but is there a better way?

dinki,
The wiki page with the examples is here, but ignore example 1 as it doesn't work.
http://gbpvr.com/pmwiki/pmwiki.php/Utility/CDKScheduler

Thanks

James
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#5
2006-05-12, 03:29 PM
Thanks James. I was looking in the Plugins area instead of Utility ...
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#6
2006-05-13, 04:00 AM (This post was last modified: 2006-05-13, 04:07 AM by KingArgyle.)
Yes, the sequence is by design, and is enforced by use of the XML Schemas. If the XML file isn't coded exactly the way it appears, then it will crash with a XML Schemas validation error.

Also, for anybody that needs examples on how to manually code the PriorityRecordings.xml file, you can find many examples in this thread:

http://forums.nextpvr.com/showthread.php...+scheduler

I'll try and get an updated Schemas Guideline for the PriorityRecording.XML, but there should be one on the CDK Scheduler Wiki entry page. In the meant time, the CDKSchemaDoc.zip file on the wiki does contain the necessary documentation for how the PriorityRecording.xml file elements need to be structured.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#7
2006-05-13, 04:05 AM
jamest Wrote:KingArgyle,
I still have one question though.
I'm trying to record every show on a channel during a certain time window. At the moment I'm using this:

<Recording priority="1">
<Channel>88</Channel>
<Search>
<GuideDescription><TextSearch>e</TextSearch></GuideDescription>

</Search>
<Quality>Medium</Quality>
<CaptureSource force="no">1</CaptureSource>
<Suspended>False</Suspended>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>

<ScheduleTime>
<Start time="00:00"/>
<End time="06:00"/>
</ScheduleTime>
<Padding>
<PrePadding>0</PrePadding>
<PostPadding>0</PostPadding>
</Padding>
</Recording>

as most programs will have an 'e' some where in the description, but is there a better way?

You could also search for a single space, but the way you are doing it is probably the best way. CDK Scheduler was never truely designed to do what you are trying to do, but using the Search Criteria will get you what you want.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PriorityRecording problem agidius 11 3,128 2007-03-08, 06:46 PM
Last Post: KingArgyle
  PriorityRecording Interaction with Built In Scheduler tweeknockr 9 2,747 2007-01-21, 02:59 PM
Last Post: KingArgyle
  How to reinstall VA plugin and start from scratch? agerdin 10 2,949 2007-01-15, 08:32 PM
Last Post: agerdin
  .NET 2.0 error in priorityrecording.exe Scootastrophe 1 1,839 2007-01-03, 06:45 PM
Last Post: sub
  Problem with Priorityrecording.exe antialias 4 2,198 2006-09-16, 09:21 PM
Last Post: gexi
  priorityrecording narkuma 53 13,684 2006-09-02, 05:08 AM
Last Post: bench2006
  should I start gbpvrrecording service when using slimmGBPVR ? adrianmak 2 1,429 2006-07-14, 02:03 AM
Last Post: adrianmak
  Video Archive / DVD Decrypter error at start txinga 5 2,270 2006-06-11, 01:10 PM
Last Post: txinga
  PriorityRecording error Hugh 16 5,817 2006-05-24, 11:10 PM
Last Post: jksmurf
  PriorityRecording.exe crashes like clockwork DEfusion 11 4,667 2006-01-27, 04:37 PM
Last Post: KingArgyle

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

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

Linear Mode
Threaded Mode