Sub,
I'm not sure but it looks like the config app isn't changing the wake for EPG update in the config.xml file. I have it selected in the config app but I don't show it enabled inside the config.xml file. Just wanted to let you know in case there's a problem.
Posted by: chasef - 2004-11-15, 06:01 AM - Forum: Wishlist
- No Replies
Sub et. al,
I thought it might be nifty to have a little add-in in GB-PVR that will check somehwere (I assume on the gbpvr site) to see if there is a new release of the program or plug-ins that are currently in use. It's always nice to have a reminder when we forget to check the forums Keep up the awesome work!
I can set the Quality, but I don't see an easy way to update an existing ScheduledRecording in the database, short of canceling it and then rescheduling it (which would miss my Quality Setting because scheduleHelper.ScheduleRecording() doesn't accept a quality parameter.
I'd like to give the optin on Manage recordings, to change the Quality setting a scheduled recording has through the Web UI.
Been using GBPVR quite a bit recently, but ran into some problems with my main XMLTV source, in that its support for the three major free-to-air channels was getting pretty patchy.
I found a better XMLTV source for these channels, and thought the simplest way to use both of these was to add another capture source, with the same capture card (I have only one) but a different XMLTV source. Â I then deselected these channels from loading with my standard source, and made sure that my combined channel listing was in the right order via the channel tab.
This has worked well, and I now have a much more reliable program guide. Â The only problem is that if I try and schedule a recording on one of the free-to-air channels at the same time as a recording is already set on one of the cable channels, GBPVR doesn't pick this up as a conflict, as they are on two different capture sources (although are using the one card).
Is there a better way for me to setup dual XMLTV sources, or to convince GBPVR to check the other capture source for scheduling conflicts?
Here is some C# source code for searching for an Episode by Keyword. This only checks the title, and the function can be modified for anybody's use. Since I wanted to learn C# (amazing how much like Java it is. ) and GBPVR was missing a more robust search method to find episodes, I figured I'd give this a whirl. Took about a half hour to get working, but this will take a keyword, and search all channels from the current date and time to an ending date 30 days out. It'll return all episodes that have that keyword in the title. I believe Jorm is planning on implementing something like this for the UI, I may try and get this implemented for the Web Interface as well. I don't plan to use the UI too much, just the recording engine.
Anyway, here is the function, feel free to modify it and use it as you wish in your own plugins.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
private static void SearchForEpisodeByTitle() {
ScheduleHelper scheduleHelper = ScheduleHelper.getInstance();
// Search for an episode listing, set the start time and the end time
DateTime startTime = DateTime.Now;
DateTime endTime = startTime.AddDays((double) 30);
String searchFor = "Apprentice";
IList allChannels = scheduleHelper.GetListingsForTimePeriod(startTime, endTime);
foreach (Channel channel in allChannels) {
foreach (Programme program in channel.getProgrammeList()) {
String findString = program.getTitle().ToUpper();
Must start by saying that this project has gone a long way and that I like it a lot. SUB you are great.
The plugin that I would like to have is a key word function which will store key words in a separet file. When the EPG is updated it will look through that file, and if it finds a match in the EPG it will be recorded.
Example: In the file I put in "Sylvester Stallone" and in the EPG it will find Rocky I with Sylvester Stallone. Then it will get recorded.