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

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", ...).

    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.

    Hi dvdfreak,

    my skills are not very high. I looked tonight into the code (TvMovie Plugin) and think about how could I realize it.
    Not very successfully.

    1. I use Clickfinder AND DVB-EPB for Programms which are not supported by Clickfinder. Now I must disable the Clickfinder channel in the TV Scheduler-Plugin (TV-Server) and need an extra mapping-Table to map the channel direkt from clickfinder to TV Scheduler.
    2. I don't know how much time importing TV-Server EPG into TV-Scheduler need, but the importing from Clickfinder-DB isn't very fast.
    3. Imagine the standalone EXE is running, the installing get harder and harder.
    4. If the columns of the TV-Server Table will be increased, the whole work will be for nothing.

    I had another idea.
    The part of TV Scheduler which read the TV-Server EGP and copy it into the TV-Scheduler table could parse and split the description field of the TV-Server to the right column of the TV Scheduler.
    Like:
    "Folge: "<episode>"\n" --> cut all and copy <episode> into column "subTitle"
    "Regie: "<director>"\n" --> director
    "Mit: "<actor>"\n"<actor>"\n"--> actors (end of actors followed by "FSK: ", "Jahr: " or nothing)

    In some description-fields of DVB-EPG Data you can find the string "Episode "<Nr><SubTitle>" - ".
    If we could add this, it was an improvement also for non clickfinder useres.


    Example Clickfinder: Folge: Wirtschaft & Soziales\nTon: Stereo...Mit: Valerie Haller (Moderation)Michael Opoczynski (Moderation)Jahr: 2008
    Example DVB-EPG: Episode 41Tattoos sind sein Leben - trotzdem ... Haut. USA 2006

    What do you think about?
    I know you are busy, if you want I can try to do it.
    But I give no success guarantee.


    Kind Regards,
    Starburst
     

    mitchkramez

    Portal Member
    June 25, 2007
    8
    1
    44
    USA
    Home Country
    On my program guide (the web based one) i click a show, and choose any of the record options - any show, and time, any record option, I get this:
    An internal error occurred.
    Check the server's Windows event log.

    The Event Viewer Says This:
    Code:
    	System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
       at System.Guid..ctor(String g)
       at TvScheduler.WebAccess.Utility.GetGuidFromControlId(String value, Int32 startIndex, Guid& guid)
       at TvScheduler.WebAccess.Panels.TvGuidePanel.TitleLabel_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
       at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I Also noticed this in my log...

    Code:
    	System.Web.HttpException: The state information is invalid for this page and might be corrupted. ---> System.Web.UI.ViewStateException: Invalid viewstate. 
    	Client IP: 127.0.0.1
    	Port: 3968
    	User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
    	ViewState: /wEWBwLcgr6FBQKsipaOCAKxzuOjCQKk18+oDQLun++0BgKCk5NDArGAvdcIIfoge+ywNH6ijSlIrkHUwkt96dU=
    	Referer: http://localhost/TvScheduler.WebAccess/Main.aspx
    	Path: /TvScheduler.WebAccess/Main.aspx
       --- End of inner exception stack trace ---
       at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
       at System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded()
       at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
       at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
       at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Everything else appears to be working correctly, I can edit recordings, save them, create new schedules... I just can't pick a show from the guide and setup a recording from it... Any help is appreciated! Thanks!
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Everything else appears to be working correctly, I can edit recordings, save them, create new schedules... I just can't pick a show from the guide and setup a recording from it... Any help is appreciated! Thanks!

    Mea culpa! This is a known bug and was due to a last-minute change I made to 1.0.14.0.

    This will be fixed in 1.0.15.0 which will be uploaded soon.

    What do you think about?
    I know you are busy, if you want I can try to do it.
    But I give no success guarantee.

    Thanks for the brainstorming, it's good to see users helping me look for a solution!

    But if I do add ClickFinder/TVMovie support I'll do it in a clean way, not related to the TVE3 plugin. I want to keep interdependency between TV Scheduler and TVE3 to a minimum.

    Another EXE could indeed be an extra installation issue, but I'll probably include it in the standard setup. And all you'd need to do is configure it (which you need to do whatever solution you go for).

    Or I could choose to go for an importer plugin system where TvScheduler.WindowsService uses more than one possible source for guide data (currently it is hardcoded to use the XMLTV importer). We'll see... I'll keep it on my list, but it's not of the highest priority right now.
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    [size=+1]UPDATE ALERT[/size]

    I just uploaded a new release!

    Release 1.0.15.0 (January 23rd, 2007)

    Changes since the previous release:

    • Implemented importing and exporting of schedules from the management console.
    • Improved code to handle global resources in Web Access.
    • In Web Access, tweaked LogonPanel and added "Log off" button to main titlebar.
    • Small tweak/fix to GetUpcomingProgramsOperation.
    • Bug fix: record buttons now work again from the Web Access TV Guide popups.
    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.
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Perhaps Midget and vertiger can also check if those two small translation issues are now solved? Thanks!
     

    ddj147

    Portal Member
    November 17, 2006
    24
    0
    Home Country
    Australia Australia
    dvdfreak, once again thanks for a great program.

    I do have a question for you though. Can you please provide a little more info around how the TVE3 Sync Plugin works. The reason I ask is that I'm finding it doesn't seem to sync the MP EPG with your EPG often enough. The reason I need to use the sync rather than just load an XML into your directory is that I use a combination of XML file for some channels and DVB-T grabber for some others. In this case I need to have all the MP EPG programs regularly sync'd to view them correctly in your program (or so I understand).

    I have the following scenario, where I've set the TVE3Plugin Sync in the MP TV Server config and set the sync time to 6 hours. I'm curious as to how this 6 hour period is calculated ? I have my PC hibernated most of the time and it wakes up at the same time everyday to download the tvguide.xml which immediately get's loaded into MediaPortal and during this time the EPG grabber gets the other channels not included in the file. My HTPC usually then hibernates itself again after 10 mins of inactivity until it needs to record a program. In the last week or so there haven't been many programs that I've recorded and I've found that your EPG has not been updated/sync'd.

    Is there a way of forcing a sync perhaps by running a command ? This way I could run my tvguide.xml script and then have an additional command to run the sync.

    I'm going away on holidays for a couple of weeks and I'd like all my series to be recorded by using the TVScheduler but at this stage I can't work out how to get the TV Scheduler EPG to update/sync automatically without loading the tvguide.xml directly into it (stuffs up the channel/guide mapping).

    Your help/advice would be appreciated.
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    I'll start by giving you a possible scenario to use the XMLTV file in TV Scheduler as well as TVE3:

    1. disable the TVE3 plugin (very important!)
    2. clear the TV Scheduler database completely of all guide data, guide channels, TV channels.
    3. import the XMLTV file into TV Scheduler
    4. edit all TV channel names to exactly match the TVE3 names (can be double-checked in the listbox in the TVE3 plugin).
    5. now re-enable the TVE3 plugin, with or without DVB-EPG syncing turned on
    Because you first made sure the channel mapping was OK, there will be no more issues with the EPG syncing code creating duplicate channels, messing up the mapping. New channels will now only be created for the channels in TVE3 which were not in the XMLTV file (so the ones you really use DVB-EPG on).

    Is this an acceptable solution to your problem?

    It's an interesting point that you bring up hibernation, because I could imagine the syncing is messed up by this. Don't really know for sure, would have to test it. But I hope the above can already help.
     

    vertiger

    Portal Pro
    July 8, 2007
    141
    14
    Home Country
    Switzerland Switzerland
    Perhaps Midget and vertiger can also check if those two small translation issues are now solved? Thanks!

    the translation issues are solved

    i had some issues with the webaccess because i used it while the TV scheduler executes a sync, maybe you can lock interface while syncing (had this issue also with management console)
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Perhaps Midget and vertiger can also check if those two small translation issues are now solved? Thanks!

    the translation issues are solved

    OK, excellent! I changed the way global resources are handles, seems this did the trick :)

    i had some issues with the webaccess because i used it while the TV scheduler executes a sync, maybe you can lock interface while syncing (had this issue also with management console)

    Can you explain the issues? Normally it should not be a big problem, unless perhaps programs disappear from the new data, so popups with program details suddenly no longer work (since the data is gone), was it stuff like that? I should add some more "safety checks" to places like that then.
     

    Users who are viewing this thread

    Top Bottom