For The Record - The rule-based scheduling suite (1 Viewer)

petsa

MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Noone would be happier than me if I could have both TVcards in the same PC, but I get BSOD with the card having CI/CAM-module on my HTPC, hence it has to run on another PC where I don't get BSODs.

    dvdfreak, I think you lost me now... Could you elaborate a little more how I can run TV3E plugin twice to get the same effect?

    /Peter
     

    Starburst

    MP Donator
  • Premium Supporter
  • August 17, 2006
    65
    6
    50
    Home Country
    Austria Austria
    Hi DVDFREAK,

    How valuable would you find it to have a ClickFinder TV Movie importer add-on for TV Scheduler?
    I think it would be very valuable!

    Now the TV-Server store all data in the description field (see below), because the episodesName-field (and others) doesnt exits in the table of the TV-Server (TvLibrary.Program)
    I dont believe this table would be enlarged in the near future. :(

    With all this data in the wrong (description-)field, some improvements of TvScheduler couldn't be used (eg "New episodes", "With Actor", ...).


    TvEngine.TvMovieDatabase.ImportStation said:
    Program prog = new Program(progChannel.IdChannel, newStartDate, newEndDate, title, description, genre, false, OnAirDate, string.Empty, string.Empty, EPGStarRating, classification,0);
    if (audioFormat == String.Empty) prog.Description = description.Replace("<br>", "\n");
    else prog.Description = "Ton: " + audioFormat + "\n" + description.Replace("<br>", "\n");
    if (_extendDescription) {
    StringBuilder sb = new StringBuilder();
    if (episode != String.Empty) sb.Append("Folge: " + episode + "\n");
    if (starRating != -1 && _showRatings) { sb.Append("Wertung: "); ... }
    sb.Append(prog.Description + "\n");
    if (director.Length > 0) sb.Append("Regie: " + director + "\n");
    if (actors.Length > 0) sb.Append(BuildActorsDescription(actors));
    if (classification != String.Empty && classification != "0") sb.Append("FSK: " + classification + "\n");
    if (date != String.Empty) sb.Append("Jahr: " + date + "\n");
    prog.Description = sb.ToString();​
    }
    else {
    if (_showRatings)
    if (shortCritic.Length > 1) prog.Description = shortCritic + "\n" + description;
    }


    :D for your hard work!
     

    stefancrs

    Portal Pro
    November 9, 2007
    82
    3
    Home Country
    Sweden Sweden
    I get some other error when trying to make a schedule via the web interface now, but I haven't debugged it / looked at logs etc or anything yet, I'll get back to you if I have to :)

    Here's what the log says:
    System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
    vid System.Guid..ctor(String g)
    vid TvScheduler.WebAccess.Utility.GetGuidFromControlId(String value, Int32 startIndex, Guid& guid)
    vid TvScheduler.WebAccess.Panels.TvGuidePanel.TitleLabel_Click(Object sender, EventArgs e)
    vid System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
    vid System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
    vid System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    vid System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    vid System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    vid System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    "ska innehålla 32 siffror med 4 streck" means "must contain 32 numbers and 4 dashes"

    Any ideas?
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Wouldn't it be much easier to redo your setup with only one TV Scheduler installed? Then run only the TVE3 plugin twice, and since that will only map the channels it recognizes all will automatically be ok, no?

    Or am I missing something? :)

    Single seat installation provides faster channel change times as the streaming will cause some overhead.

    Right, understood. But I suggested using only one TV Scheduler, he could still use two TVE3 services and therefore two TVE3 plugins connected to the same TV Scheduler.

    I get some other error when trying to make a schedule via the web interface now, but I haven't debugged it / looked at logs etc or anything yet, I'll get back to you if I have to :)

    Here's what the log says:
    System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
    vid System.Guid..ctor(String g)
    vid TvScheduler.WebAccess.Utility.GetGuidFromControlId(String value, Int32 startIndex, Guid& guid)
    vid TvScheduler.WebAccess.Panels.TvGuidePanel.TitleLabel_Click(Object sender, EventArgs e)
    vid System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
    vid System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
    vid System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    vid System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    vid System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    vid System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    "ska innehålla 32 siffror med 4 streck" means "must contain 32 numbers and 4 dashes"

    Any ideas?

    Hmmm... It's very clear what the problem is, only I don't understand why your controls don't have the correct ID set. If this were a plain bug in my code everyone would see this problem, so I'm trying to understand why this would be different just on your installation...

    What browser are you using and have you tried with a different one? The error occurs server-side, so it's not very likely browser-related, but you never know of course :)

    Hi DVDFREAK,

    How valuable would you find it to have a ClickFinder TV Movie importer add-on for TV Scheduler?
    I think it would be very valuable!

    Now the TV-Server store all data in the description field (see below), because the episodesName-field (and others) doesnt exits in the table of the TV-Server (TvLibrary.Program)
    I dont believe this table would be enlarged in the near future. :(

    With all this data in the wrong (description-)field, some improvements of TvScheduler couldn't be used (eg "New episodes", "With Actor", ...).

    Right! :)

    Since you post some code, do you have the necessary skills to "adjust" the current TVE3 plugin to make it a standalone EXE that talks to TV Scheduler? Obviously I can offer all the assistence you'd need.

    Noone would be happier than me if I could have both TVcards in the same PC, but I get BSOD with the card having CI/CAM-module on my HTPC, hence it has to run on another PC where I don't get BSODs.

    dvdfreak, I think you lost me now... Could you elaborate a little more how I can run TV3E plugin twice to get the same effect?

    Well, I was just thinking aloud but it seems you can set up TVE3 twice, like you do now. Obviously also install the TV Scheduler TVE3 plugin twice. But then only install TV Scheduler on one of your two machines.

    Now, when it's time to synchronize schedules, the channel-name will only map correctly (I presume) on one of your two TVE3 installations, so the other installation will ignore that particular upcoming program, and will not sync it. The same will be true the other way around.

    So you could manage all your schedules on the one TV Scheduler, and still have your two TVE3 server do all the recording work. When you use the management console, there's only one place to connect to. And if you'd like to use web access you also only need to install this once then.
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi dvdfreak,

    Sounds like a reasonable approach, having only one TVScheduler. But then it is back to my original question:

    - Bug or feature? I have to restart TVScheduler for the changes to IP-address to have any effect. Since the TV3E plugins are on two different machines.

    /Peter
     

    stefancrs

    Portal Pro
    November 9, 2007
    82
    3
    Home Country
    Sweden Sweden
    Hmmm... It's very clear what the problem is, only I don't understand why your controls don't have the correct ID set. If this were a plain bug in my code everyone would see this problem, so I'm trying to understand why this would be different just on your installation...

    What browser are you using and have you tried with a different one? The error occurs server-side, so it's not very likely browser-related, but you never know of course :)

    I will give it a try with another browser (IE) tonight.
    I use firefox version 2 something something.
    The only "different" thing I could think about is that I installed it (the web stuff) in a subdirectory called "TV", and not the default path. Could that have an effect on things? I bet that it SHOULDN'T, but still :)
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Sounds like a reasonable approach, having only one TVScheduler. But then it is back to my original question:

    - Bug or feature? I have to restart TVScheduler for the changes to IP-address to have any effect. Since the TV3E plugins are on two different machines.

    OK, now you've lost me again :D

    Changes to what IP address? Of the machine itself? TV Scheduler will only run on one machine, and the only place you need to give an IP address is in the management console, the Web Access config or the TVE3 plugin. So what IP address (setting) are we talking about?

    I will give it a try with another browser (IE) tonight.
    I use firefox version 2 something something.
    The only "different" thing I could think about is that I installed it (the web stuff) in a subdirectory called "TV", and not the default path. Could that have an effect on things? I bet that it SHOULDN'T, but still :)

    I tested with FireFox and know other users here are using FireFox as well, so that should be just fine.

    The "TV" subdirectory should indeed not matter, it should run from anywhere. Is there a way for you to check what the IDs are of all the title-labels on the HTML page?

    Hi lovers of the TV Scheduler,

    with the help of dvdfreak I have just finished building a tiny integration for dealing with suggestions inside the mediaportal GUI: https://forum.team-mediaportal.com/tv_recordings_suggestions-t34182.html

    Have fun.

    I would like to apploud Peter's work! It's cool to see the first real MediaPortal plugin for TV Scheduler. He took the idea of what "suggestion schedules" are supposed to do, and really made it work!

    Here's what the log says:
    System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
    vid System.Guid..ctor(String g)
    vid TvScheduler.WebAccess.Utility.GetGuidFromControlId(String value, Int32 startIndex, Guid& guid)

    Hold The Press You don't need to do anymore checking, I have found the bug. Guess nobody else simply ran into this problem , or is still running an older version. I'll fix this in version 1.0.15.0!
     

    stefancrs

    Portal Pro
    November 9, 2007
    82
    3
    Home Country
    Sweden Sweden
    Hold The Press You don't need to do anymore checking, I have found the bug. Guess nobody else simply ran into this problem , or is still running an older version. I'll fix this in version 1.0.15.0!

    Awesome :) Odd no-one else reported it! Looking forward to 1.0.15.0!
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    My fault, I just call the whole thing TVScheduler, but you are right this is in the management console. This is in order to direct it to another SQL server, i.e. the one running on the remote machine where the other TV3E server is running.

    /Peter
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Again confusion ;)

    The TV Scheduler management console connects to the TV Scheduler service, and nothing else. There is no database access from the console, the only database access ever done is from within the TV Scheduler service itself.

    So since you will have only one TV Scheduler running, there will be no need to reconnect to anything else, right?
     

    Users who are viewing this thread

    Top Bottom