NextPVR Forums

Full Version: Auto Record Not Working With Saved Search
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
BTW, there seems to be some error with NEWA saved searches also. If I save a search as a title match and run the search in NEWA it returns listings that match, but they never get scheduled to record. If I save the same query as title contains it will return the exact same matching listings, but this time they will be scheduled for recording.
skreien Wrote:BTW, there seems to be some error with NEWA saved searches also. If I save a search as a title match and run the search in NEWA it returns listings that match, but they never get scheduled to record. If I save the same query as title contains it will return the exact same matching listings, but this time they will be scheduled for recording.

I moved this post to a new thread since it was off-topic in the other one.

To confirm what I think you are saying.......

1. You create a search that is set to auto-search and auto-record and you have the search criteria set to match title.....the search runs and finds results but does not set the results to record.

2. You create a search that is set to auto-search and auto-record and you have the search criteria set to title contains.....the search runs and finds the same results as the other search results and sets them to record.

Is the above correct?
Exactly right, except I don't use the auto-search, only auto-record.
Ok...the auto-record process logs heavily.....can you post the log from when the auto-record saved search with the match title executes?
Here's the log entry for match title:

2011-01-20 22:48:29.372 [INFO][13] Search Parameters:
2011-01-20 22:48:29.372 [INFO][13] Channels: System.Collections.ArrayList
2011-01-20 22:48:29.372 [INFO][13] Genre: System.Collections.ArrayList
2011-01-20 22:48:29.372 [INFO][13] Check Title: True
2011-01-20 22:48:29.372 [INFO][13] Check Desc: False
2011-01-20 22:48:29.372 [INFO][13] Check Sub Title: False
2011-01-20 22:48:29.372 [INFO][13] Match Title: True
2011-01-20 22:48:29.372 [INFO][13] Match Desc: False
2011-01-20 22:48:29.372 [INFO][13] Match Sub Title: False
2011-01-20 22:48:29.372 [INFO][13] Start Tiele: False
2011-01-20 22:48:29.372 [INFO][13] Start Desc: False
2011-01-20 22:48:29.372 [INFO][13] Start Sub Title: False
2011-01-20 22:48:29.372 [INFO][13] Search For: House
2011-01-20 22:48:29.372 [INFO][13] Is Case Sensitive: False
2011-01-20 22:48:29.372 [INFO][13] Min Length: -2147483648
2011-01-20 22:48:29.372 [INFO][13] Max Length: 2147483647
2011-01-20 22:48:29.372 [INFO][13]
2011-01-20 22:48:29.372 [INFO][13] NEWA Auto-Record Setting: True
2011-01-20 22:48:29.372 [INFO][13] Search Auto-Record Setting:True
2011-01-20 22:48:29.372 [INFO][13]
2011-01-20 22:48:29.372 [INFO][13] NEWA Auto-Search Setting:True
2011-01-20 22:48:29.372 [INFO][13] Search Auto-Search Setting: False
2011-01-20 22:48:29.372 [INFO][13]
2011-01-20 22:48:29.403 [INFO][13] Found: 0 matches for search: House


Here's the log entry for title contains:

2011-01-20 22:50:46.982 [INFO][13] Search Parameters:
2011-01-20 22:50:46.982 [INFO][13] Channels: System.Collections.ArrayList
2011-01-20 22:50:46.982 [INFO][13] Genre: System.Collections.ArrayList
2011-01-20 22:50:46.982 [INFO][13] Check Title: True
2011-01-20 22:50:46.982 [INFO][13] Check Desc: False
2011-01-20 22:50:46.982 [INFO][13] Check Sub Title: False
2011-01-20 22:50:46.982 [INFO][13] Match Title: False
2011-01-20 22:50:46.982 [INFO][13] Match Desc: False
2011-01-20 22:50:46.982 [INFO][13] Match Sub Title: False
2011-01-20 22:50:46.982 [INFO][13] Start Tiele: False
2011-01-20 22:50:46.982 [INFO][13] Start Desc: False
2011-01-20 22:50:46.982 [INFO][13] Start Sub Title: False
2011-01-20 22:50:46.982 [INFO][13] Search For: House
2011-01-20 22:50:46.982 [INFO][13] Is Case Sensitive: False
2011-01-20 22:50:46.982 [INFO][13] Min Length: -2147483648
2011-01-20 22:50:46.982 [INFO][13] Max Length: 2147483647
2011-01-20 22:50:46.982 [INFO][13]
2011-01-20 22:50:46.982 [INFO][13] NEWA Auto-Record Setting: True
2011-01-20 22:50:46.982 [INFO][13] Search Auto-Record Setting:True
2011-01-20 22:50:46.982 [INFO][13]
2011-01-20 22:50:46.982 [INFO][13] NEWA Auto-Search Setting:True
2011-01-20 22:50:46.982 [INFO][13] Search Auto-Search Setting: False
2011-01-20 22:50:46.982 [INFO][13]
2011-01-20 22:50:47.044 [INFO][13] Found: 1 matches for search: House
2011-01-20 22:50:47.044 [INFO][13]
2011-01-20 22:50:47.044 [INFO][13] Scheduleing epgevent: House on 1/25/2011 at 1:00 AM
2011-01-20 22:50:47.044 [DEBUG][13] Checking if multi-record possible...
2011-01-20 22:50:47.044 [DEBUG][13] Checking if multi-record possible...
2011-01-20 22:50:47.044 [ERROR][13] Recording not scheduled. Recording not found after calling NPVR API to schedule the EPGEvent.
Thanks....that was a help. Attached is a patch that fixes the bug that you identified.

Let me know if it works or if you have problems.
I'll give that patch a try. In the meantime I think I found another problem. Since it's related to the original topic of saved searches I'll post it here. Feel free to move it if you want.

If I try to save a search titled "Harry's Law" (without the beginning and ending quotes of course), I get a runtime error. The search runs fine if you don't try to save it. It only errors on trying to save it as a search. Easy enough to reproduce so I didn't attach any logs or screenshots.