Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ClicktoRecord Issue?

8 views
Skip to first unread message

Takio Ishino

unread,
Feb 1, 2012, 9:28:36 PM2/1/12
to
Hello,

im trying to record every episode of a series with clicktorecord. i
have create a c2r file which is very simple.


here you can see the problem in a picture
http://www.thegreenbutton.tv/forums/posting.php?mode=edit&f=5&p=11741

thats the file:

<?xml version="1.0" standalone="yes"?>
<clickToRecord xmlns="urn:schemas-microsoft-com:ehome:clicktorecord">
<body>
<programRecord isRecurring="true"
allowAlternateServices="false">
<program>
<key field="urn:schemas-microsoft-
com:ehome:epg:program#title" match="exact">Die Simpsons</key>
</program>
<service>
<key field="urn:schemas-microsoft-
com:ehome:epg:service#callsign" match="exact">ProSieben D</key>
</service>
</programRecord>
</body>
</clickToRecord>

If i doubleclick it it works fine. But it doesnt work correctly if i
load the same file in a backgroundplugin and perform the clicktorecord
process from within the plugin.

its recording some episodes, but only the first episode from each
day.

this is the code im using, originaly from the MS website:
FileStream fsXml;
XmlReader readerXml;
try
{
fsXml = new FileStream("t:\\record.xml",
FileMode.Open, FileAccess.Read);
readerXml = XmlReader.Create(fsXml);
}
catch (Exception e)
{
Console.WriteLine("example.xml could not be read");
Console.WriteLine(e.Message);
return;
}
// Create EventSchedule object and create ScheduleRequest
from XML.
EventSchedule scheduler;
ScheduleRequest request = null;
CreateScheduleRequestResult result;
try
{
scheduler = new EventSchedule();
result = scheduler.CreateScheduleRequest(readerXml,
ConflictResolutionPolicy.AllowConflict, "HD EPG", out request);
Console.WriteLine("Result: " + result.ToString());
}
catch (Exception e)
{
Console.WriteLine("Exception from
EventSchedule.CreateScheduleRequest()");
Console.WriteLine(e.Message);
}
// Close the XML file.
readerXml.Close();
fsXml.Close();


how can i solve this?

Helge

PS: Windows 7 Ultimate 64Bit
0 new messages