For The Record - The rule-based scheduling suite (30 Viewers)

jrhessey

Portal Member
September 16, 2007
27
0
45
No I just used contains to pick up all 3 versions of CSI with nothing in episode titles.

When I tried MLB Baseball in the program title, equals, and Cleveland Indians in the episode title, contains, I got the same problem, repeats are not taken out when the new episodes box is ticked.
 

jrhessey

Portal Member
September 16, 2007
27
0
45
After paying attention to what happens with the csi recording I see what it's doing. It's removing duplicate recordings when you click new episodes, but still leaving the first repeat in the window. It does the same thing for the indians recording. There are 28 games set to record against 5 teams. When I tick the new episodes box, it removes anything after the first recording with the same program and episode title. For Example

I have equals mlb baseball in program
I have contains cleveland in episode title

you'll see a ton of games against the tigers, they are not the same game though. Look at the "from" when you click on one of them. However when you click the "new episodes" it removes all episodes that have the same program and episode title after the first occurrence.

So what it looks like to me is that it is just removing the duplicates. If you click unique, it just shows the first one at the top.

Looks like there might be something wrong with both of those options...
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
After paying attention to what happens with the csi recording I see what it's doing. It's removing duplicate recordings when you click new episodes, but still leaving the first repeat in the window. It does the same thing for the indians recording. There are 28 games set to record against 5 teams. When I tick the new episodes box, it removes anything after the first recording with the same program and episode title. For Example

I have equals mlb baseball in program
I have contains cleveland in episode title

you'll see a ton of games against the tigers, they are not the same game though. Look at the "from" when you click on one of them. However when you click the "new episodes" it removes all episodes that have the same program and episode title after the first occurrence.

So what it looks like to me is that it is just removing the duplicates. If you click unique, it just shows the first one at the top.

Looks like there might be something wrong with both of those options...

Hang on, regardless of the rules you use, the list of upcoming programs will have a certain title and a certain episode title.

If you then click "New episodes" it is quite normal that it removed all duplicate entries, that's exactly what that rule is supposed to do.

The "Unique titles" rule is more for schedules that e.g. contain an actor name. Then a movie that is shown more than once will not be recorded twice. So only the Title itself will be looked at, not the episode name.

Is this not what you are seeing when you use the two options? Because from what I can understand from your explanation it sounds like it's working as it should...
 

jrhessey

Portal Member
September 16, 2007
27
0
45
Ok, about the duplicates, that is exactly what it's doing so that is working the way it should. If you click the new episodes should it also remove all repeats? If it's not supposed to, then that is working correctly. If click "new episodes" is supposed to remove all repeats, then that aspect is not working (see picture). Sorry for the confusion...

http://www.thecatalystchurch.com/images/tv-scheduler.jpg
 

Midget

Portal Pro
October 1, 2007
78
2
Siena
Home Country
Italy Italy
I've mess up the db... :oops:

I've changed the grabber in webepg and after importing new tvguide.xml in tvscheduler I've got duplicated channels. I've deleted the old channels from tvscheduler console and after that I've got "error on database: concurrent change made by another user?" message.

I've already seen that message previous (switching from xml to tve3epg and back) and resolved manually deleting all tables containing channel data leaving only TvSchedule table (I don't want to lose my schedule data).

This time this trick doesn't work and after restarting the tvscheduler and tvservice services I'm getting "the server was unable to process the request due to an internal error..." message from tvscheduler console.

After the message I can see the tv guide data in the console but tvscheduler doesn't fill up the upcomings recordings.

Help..... :confused:

:D

P.S. my version is 1.0.8.0 (not yet upgraded)
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Ok, about the duplicates, that is exactly what it's doing so that is working the way it should. If you click the new episodes should it also remove all repeats? If it's not supposed to, then that is working correctly. If click "new episodes" is supposed to remove all repeats, then that aspect is not working (see picture). Sorry for the confusion...

http://www.thecatalystchurch.com/images/tv-scheduler.jpg

Yes, it works just as it should. To skip recordings with the "Repeat" flag turned on there is another SkipRepeats rule (see code snippet below).

Unfortunately, this rule is not (yet) available from the GUI, just never got around to adding it it seems. But since you are complaining about not being able to filter out these repeats, I may just have to add it to the "When" section below the other checkboxes ;)

Code:
    public enum ScheduleRuleType
    {
        // Record on the given channel(s).
        TvChannels,
        // Record the timeslot closest to the given start time (usually combined with TitleEquals).
        AroundTime,
        // Record a program when its start time is between the two given times.
        StartingBetween,
        // Record on this specific date (mutually exclusive with DaysOfWeek).
        OnDate,
        // Record on these days of the week (mutually exclusive with OnDate),
        // with second optional starting date argument.
        DaysOfWeek,
        // Record program with the given title.
        TitleEquals,
        // Record program with the given sub-title.
        SubTitleEquals,
        // Record program who's sub-title starts with the given text.
        SubTitleStartsWith,
        // Record program who's sub-title contains the given text.
        SubTitleContains,
        // Record program with the given episode number.
        EpisodeNumberEquals,
        // Record program who's title starts with the given text.
        TitleStartsWith,
        // Record program who's title contains the given text.
        TitleContains,
        // Record program who's description contains the given text.
        DescriptionContains,
        // Record programs from this category.
        CategoryEquals,
        // Record program directed by given name.
        DirectedBy,
        // Record program which has the actor by the given name.
        WithActor,
        // Only record first-run (non-repeat) programs if the argument to this rule is true.
        SkipRepeats,
        // If this is true, don't include programs that were already recorded before (based on title/sub-title/episode number).
        NewEpisodesOnly,
        // If this is true, don't include programs that were already recorded before (based on title only).
        NewTitlesOnly,
        // If this rule is added the schedule is a manual schedule with the given datetime
        // and duration (ScheduleTime) arguments.  When this rule is specified the TvChannels
        // rule must be present with exactly one channel.  The DaysOfWeek rule with one argument
        // is optional, and no other rules are allowed.
        ManualSchedule
    }

This time this trick doesn't work and after restarting the tvscheduler and tvservice services I'm getting "the server was unable to process the request due to an internal error..." message from tvscheduler console.

Is there any error logged in the event-log?

After the message I can see the tv guide data in the console but tvscheduler doesn't fill up the upcomings recordings.

Help..... :confused:

:D

P.S. my version is 1.0.8.0 (not yet upgraded)

Definitely time to upgrade then! ;)

It would be interesting if you could tell me step by step how to reproduce the database error, I'd like to fix that of course.
 

ddj147

Portal Member
November 17, 2006
24
0
Home Country
Australia Australia
dvdfreak, I've just tried to upgrade to the new version and I seem to get an error when using the TV Guide screen through Web Access. Screenshot attached. I see there maybe two errors here. One where the Error message page doesn't display because the URL is incorrect -- it should be http://localhost/TvScheduler.WebAccess/Error.aspx but instead it's displaying http://localhost/Error.aspx

The other three screens work just fine, I can view Recorded Programs, Upcoming Recordings and Schedules, but when I click on TV Guide I get an error. All other areas of the Scheduler also seem fine when viewing through the Management Console.

I suspect that something didn't uninstall correctly since the error in the Windows Event log refers to multiple controls. When I uninstall using Add/Remove Programs how can I ensure that all "bits" are deleted before trying to re-install again ?


Event Type: Error
Event Source: TvScheduler
Event Category: None
Event ID: 0
Date: 10/01/2008
Time: 7:20:45 PM
User: N/A
Computer: DJHTPC
Description:
System.Web.HttpException: Multiple controls with the same ID 'Program_bb846d9c-9301-4ebd-b1c1-e71a363e4287' were found. FindControl requires that controls have unique IDs.
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.EnsureNamedControlsTable()
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id)
at AjaxControlToolkit.ExtenderControlBase.FindControlHelper(String id)
at AjaxControlToolkit.ExtenderControlBase.FindControl(String id)
at System.Web.UI.ExtenderControl.RegisterWithScriptManager()
at System.Web.UI.ExtenderControl.OnPreRender(EventArgs e)
at AjaxControlToolkit.ExtenderControlBase.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
dvdfreak, I've just tried to upgrade to the new version and I seem to get an error when using the TV Guide screen through Web Access. Screenshot attached. I see there maybe two errors here. One where the Error message page doesn't display because the URL is incorrect -- it should be http://localhost/TvScheduler.WebAccess/Error.aspx but instead it's displaying http://localhost/Error.aspx

The other three screens work just fine, I can view Recorded Programs, Upcoming Recordings and Schedules, but when I click on TV Guide I get an error. All other areas of the Scheduler also seem fine when viewing through the Management Console.

I suspect that something didn't uninstall correctly since the error in the Windows Event log refers to multiple controls. When I uninstall using Add/Remove Programs how can I ensure that all "bits" are deleted before trying to re-install again ?

This looks like my bug, for some reason I'm adding two identical programs to the EPG grid. This could be explained by two different TV Channels showing the same Guide Channel. Do you have a setup like that? Otherwise it's hard to imagine a situation where a program is actually shown twice on the screen.

In any case, I'll fix this bug asap, but it would be helpful for me to be able to reproduce it.

[size=+1]UPDATE ALERT[/size]

Release 1.0.12.0 (January 10th, 2007)

Changes since the previous release:

  • Bug fix: Web Access error page should now display correctly.
  • Bug fix: Web Access EPG grid sometimes gave a duplicate control ID error.
PS: if you are using the TVE3 plugin, stop the TVService, install new TV Scheduler, copy over the new TVE3 plugin DLLs, and then restart TVService and make sure the plugin is enabled.
 

ddj147

Portal Member
November 17, 2006
24
0
Home Country
Australia Australia
This could be explained by two different TV Channels showing the same Guide Channel. Do you have a setup like that?

Yes, I did have that setup. I have removed the second instance and the TV Guide now comes up properly in Web Access. I don't really need to have the same Guide channel to be pointing to two TV Channels. Our channels and EPG are in a state of flux (in Australia) so I just allocated it "just in case".

BTW : Thanks for all the fixes that you've included. They're great !

But, I now have a follow-on request :D

Is there any chance of using the IE scroll bar instead of creating new ones within the Window for the new TV Guide ? The reason being that if you're using a fairly high resolution on your screen, it would be nice to see more information than what's currently shown. Also, is there a way of making the fonts a little smaller ?

These are all minor requests and I appreciate the work that you have been doing.

I've attached an image of my current Web Access screen, but would really love to see something like : http://www.yourtv.com.au/guide/index.cfm?action=tonight without the advertisements around it of course !
 

Users who are viewing this thread

Top Bottom