NextPVR Forums

Full Version: Importing "all channels" recording schedules
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I get an error when I try to load the backup of the recurring recordings...

The importer complains about an "unknown channel" in the recurring-backup.xml.

Further investigation indicates that this is caused by the "channel OID=0" for the scheduled recordings for which I have specified "record on any channel".....

IMHO it looks like a small oversight in the importer, not knowing about the new "record any channel" rule...

Here is the snippet from the log...

Code:
2010-10-08 12:55:02.687    [INFO][6]    UpdateAllRecurringRecordings()
2010-10-08 12:55:02.687    [INFO][6]    Deleting existing pending season recordings
2010-10-08 12:56:23.421    [ERROR][1]    Unable to import recurring recording due to problems finding the channel:
<Rules><ChannelOID>0</ChannelOID><ChannelName>All Channels</ChannelName><StartTime>2010-10-01T12:00:00.0000000Z</StartTime><EndTime>2010-10-01T13:00:00.0000000Z</EndTime><PrePadding>1</PrePadding><PostPadding>2</PostPadding><Quality>0</Quality><Keep>0</Keep><AdvancedRules>title like '%mythbusters%'</AdvancedRules></Rules>
2010-10-08 12:56:24.796    [INFO][1]    UpdateAllRecurringRecordings()
2010-10-08 12:56:24.796    [INFO][1]    Deleting existing pending season recordings
2010-10-08 12:56:25.234    [INFO][1]    UpdateRecurringRecording(66, 'Top Gear'):
<Rules><EPGTitle>Top Gear</EPGTitle><ChannelOID>7216</ChannelOID><ChannelName>Veronica/Disney XD</ChannelName><StartTime>2010-10-01T20:30:00.0000000Z</StartTime><EndTime>2010-10-01T21:50:00.0000000Z</EndTime><PrePadding>1</PrePadding><PostPadding>2</PostPadding><Quality>0</Quality><Keep>0</Keep></Rules>
2010-10-08 12:56:26.281    [DEBUG][1]    LoadListingsMatchingTitle(channel=7216,title=Top Gear)
2010-10-08 12:56:27.468    [DEBUG][1]     - Potential episode at: 8-10-2010 23:00:00
2010-10-08 12:56:27.546    [DEBUG][1]       ...check IsValid()
2010-10-08 12:56:28.000    [DEBUG][1]       ...scheduling episode
2010-10-08 12:56:28.312    [INFO][1]    UpdateRecurringRecording(67, 'Veronica poker: Premier League Poker 4'):
<Rules><EPGTitle>Veronica poker: Premier League Poker 4</EPGTitle><ChannelOID>7216</ChannelOID><ChannelName>Veronica/Disney XD</ChannelName><StartTime>2010-10-04T22:10:00.0000000Z</StartTime><EndTime>2010-10-04T23:10:00.0000000Z</EndTime><PrePadding>4</PrePadding><PostPadding>10</PostPadding><Quality>1</Quality><Keep>0</Keep></Rules>
2010-10-08 12:56:28.328    [DEBUG][1]    LoadListingsMatchingTitle(channel=7216,title=Veronica poker: Premier League Poker 4)
2010-10-08 12:56:28.343    [DEBUG][1]     - Potential episode at: 11-10-2010 0:05:00
2010-10-08 12:56:28.343    [DEBUG][1]       ...check IsValid()
2010-10-08 12:56:28.343    [DEBUG][1]       ...scheduling episode
2010-10-08 12:56:28.578    [DEBUG][1]     - Potential episode at: 11-10-2010 23:55:00
2010-10-08 12:56:28.578    [DEBUG][1]       ...check IsValid()
2010-10-08 12:56:28.593    [DEBUG][1]       ...scheduling episode
2010-10-08 12:56:28.843    [INFO][1]    UpdateRecurringRecording(68, 'Army wives'):
<Rules><EPGTitle>Army wives</EPGTitle><ChannelOID>7217</ChannelOID><ChannelName>Net 5</ChannelName><StartTime>2010-10-07T22:25:00.0000000Z</StartTime><EndTime>2010-10-07T23:25:00.0000000Z</EndTime><PrePadding>4</PrePadding><PostPadding>10</PostPadding><Quality>1</Quality><Keep>0</Keep></Rules>
2010-10-08 12:56:28.875    [DEBUG][1]    LoadListingsMatchingTitle(channel=7217,title=Army wives)

Regards,
Ton Wrote:IMHO it looks like a small oversight in the importer, not knowing about the new "record any channel" rule...
Yep - I suspect you're right. I'll put it on my todo list.