Schedules Direct US/Canadian/Mexico EPG Plugin (Updated August 2010) (2 Viewers)

poppabk

Portal Pro
August 8, 2007
145
12
Home Country
United States of America United States of America
Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

I'll look up the number of tvdb queries when I get home, but I am actually talking about this number showing up in the TV guide. I am pretty certain it is th third option in your list, the SD number, as it doesn't seem to be a proper SxxxExxx number for TV series, so everything should be ok. I am using RC6 and the latest Black Ice skin for reference.
 

geoffstewart

MP Donator
  • Premium Supporter
  • October 12, 2008
    346
    112
    Ottawa
    Home Country
    Canada Canada
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    Oh OK,

    I don't see that stuff on my guide so I didn't even think of it. I just turned it on to see what you're seeing... I get it now. Depending on your selection of what to show, "Number, Title or Number + Title", you are seeing the seriesNum.episodeNum.episodePart. The EPxxxxxx is definitely the seriesNum. The "-" or other text after the EPxxxx is whatever default episodeNumber that SD came up with... you're correct.

    The code is pretty explicit to only search on thetvdb.com for series that are in your list of scheduled recordings. That and the library I use caches to save on actual queries to thetvdb.com. So, you shouldn't be hammering it.

    But, thanks for looking into it.

    cheers.

    Geoff
     

    jacc1234

    Portal Pro
    April 11, 2008
    167
    7
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    Just wanted to say thanks for continuing the development of this plugin. I will report any bugs.
     

    RVCA18

    New Member
    July 14, 2010
    3
    0
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    Hello,

    There was an issue with Schedules Direct earlier today/yesterday and now the plugin is failing to get schedules.

    Here's what the log is telling me,

    2010-07-14 08:47:21.731373 [SchedulesDirect EPG Client(5)]: Starting EPG refresh job on thread #5
    2010-07-14 08:47:21.732373 [SchedulesDirect EPG Client(5)]: UTC time is 7/14/2010 3:47:21 PM, local time is 7/14/2010 8:47:21 AM (DST is True)
    2010-07-14 08:47:21.735373 [SchedulesDirect EPG Client(5)]: Rename Existing Channels is set to: True, with Template: {number} {callsign}.
    2010-07-14 08:47:21.738373 [SchedulesDirect EPG Client(5)]: Add New Digital Channels is set to: True, with External Input: Tuner.
    2010-07-14 08:47:21.740373 [SchedulesDirect EPG Client(5)]: Add New Digital Channels Country is set to: United States.
    2010-07-14 08:47:21.743373 [SchedulesDirect EPG Client(5)]: Add New Analog Channels is set to: True, with External Input: Tuner.
    2010-07-14 08:47:21.745373 [SchedulesDirect EPG Client(5)]: Channel Sorting is set to: False.
    2010-07-14 08:47:21.747374 [SchedulesDirect EPG Client(5)]: Allow Channel Matching without Frequency is set to: False.
    2010-07-14 08:47:21.749374 [SchedulesDirect EPG Client(5)]: Delete Channels with No EPG Mapping is set to: False.
    2010-07-14 08:47:22.994445 [SchedulesDirect EPG Client(5)]: Requesting 24 hours of program listings from [7/14/2010 8:47:22 AM] to [7/15/2010 8:47:22 AM]
    2010-07-14 08:47:26.026618 [SchedulesDirect EPG Client(5)]: System.Net.WebException: The request failed with HTTP status 505: HTTP Version Not Supported.
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at SchedulesDirect.SchedulesDirectWebService.SchedulesDirectWebServiceProxy.download(String startTime, String endTime)
    at SchedulesDirect.SchedulesDirectWebService.Download(DateTime startTime, DateTime endTime)
    at SchedulesDirect.Plugin.SchedulesDirectPluginTVE3.RunEpgImport()
    2010-07-14 08:47:26.027618 [SchedulesDirect EPG Client(5)]: ProtocolError
    2010-07-14 08:47:26.028618 [SchedulesDirect EPG Client(5)]: HttpVersionNotSupported
    2010-07-14 08:47:26.152626 [SchedulesDirect EPG Client(5)]: Scheduling next poll for 7/15/2010 6:40:10 AM
    2010-07-14 08:47:26.155626 [SchedulesDirect EPG Client(5)]: Unable to process any channels, have you done an autotune in setup?

    Any idea what's going on?
     

    geoffstewart

    MP Donator
  • Premium Supporter
  • October 12, 2008
    346
    112
    Ottawa
    Home Country
    Canada Canada
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    Yikes!

    That's no good.

    From the SD forums, looks like there was an outage yesterday that was resolved today about the time of your log:
    forums.schedulesdirect.org • View topic - 2010-07-13 outage *RESOLVED*

    But, I just recreated the problem on my own system... I'll have to look into it tonight after work... I'll post when I find something.

    UPDATE:
    I just put a packet sniffer and it looks like an authentication issue despite the error in the log which says HTTP505, wrong HTTP version.

    I'm going to leave it now until I have more time to debug. Perhaps just a glitch in the webservice given that there was a known outage.

    Cheers.

    Geoff
     

    geoffstewart

    MP Donator
  • Premium Supporter
  • October 12, 2008
    346
    112
    Ottawa
    Home Country
    Canada Canada
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    OK,

    I created a fix for the issue. You can get it here: Updated Plugin download - svn13

    After the outage that was described in the sd forum above, it seems the API has changed. I did a quick fix to authenticate before doing a download, but it seems that the code should already authenticate without my fix.... oh well... at least it works for now :)

    If you have any issues, let me know.

    Cheers.

    Geoff
     

    RVCA18

    New Member
    July 14, 2010
    3
    0
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    OK,

    I created a fix for the issue. You can get it here: Updated Plugin download - svn13

    After the outage that was described in the sd forum above, it seems the API has changed. I did a quick fix to authenticate before doing a download, but it seems that the code should already authenticate without my fix.... oh well... at least it works for now :)

    If you have any issues, let me know.

    Cheers.

    Geoff

    Awesome, the update fixed the issue :)

    :D
     

    ejkeebler

    Portal Member
    January 24, 2008
    39
    0
    Home Country
    United States of America United States of America
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    i'll be honest, I do not know why I am struggling with this plugin so much. I am not sure if this is a schedules direct plugin issue or a media portal tv issue. So hopefully someone can at least point me to the right direction, i've skimmed through the thread, but not found my problem.

    I have an Hauppauge 2250 (dual analog/ATSC) I setup 2 hybrid cards each with 1 analog and 1 ATSC tuner, scanned and found like 400 channels analog and Clear QAM, and I've gone through the trouble of removing most of the scrambled channels. The problem is I find something that says, for example:

    Unknown 722150-57

    So I find out it is WFLA DT Channel 1008, so I rename it WFLA and I change the Channel Number to 1008. If I am lucky enough to get this to stick (i'm guessing this is a media portal issue, as it will randomly change back to what I changed it from sometimes) I get no guide data, but if I look at schedulesdirect.com the lineup has the channel in there and tvguide has the channel there with data, but it happens on almost every channel that I rename and renumber????

    What the heck am I doing wrong?
    :D & :sorry:
     

    geoffstewart

    MP Donator
  • Premium Supporter
  • October 12, 2008
    346
    112
    Ottawa
    Home Country
    Canada Canada
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    i'll be honest, I do not know why I am struggling with this plugin so much. I am not sure if this is a schedules direct plugin issue or a media portal tv issue. So hopefully someone can at least point me to the right direction, i've skimmed through the thread, but not found my problem.

    I have an Hauppauge 2250 (dual analog/ATSC) I setup 2 hybrid cards each with 1 analog and 1 ATSC tuner, scanned and found like 400 channels analog and Clear QAM, and I've gone through the trouble of removing most of the scrambled channels. The problem is I find something that says, for example:

    Unknown 722150-57

    So I find out it is WFLA DT Channel 1008, so I rename it WFLA and I change the Channel Number to 1008. If I am lucky enough to get this to stick (i'm guessing this is a media portal issue, as it will randomly change back to what I changed it from sometimes) I get no guide data, but if I look at schedulesdirect.com the lineup has the channel in there and tvguide has the channel there with data, but it happens on almost every channel that I rename and renumber????

    What the heck am I doing wrong?
    :D & :sorry:

    ejkeebler,

    Do you have any logs that might help? I don't have this kind of issue, but I'm using set top boxes in my setup and I think it's a bit more straightforward.

    I do know that in the database, the plugin has information with each channel to link to the schedulesdirect channel so it can update the program information properly. Once that link is made, you should be able to change the name all you want.

    Have you tried to get guide data without changing the names, and then after getting it, change the channel names?

    geoff
     

    ejkeebler

    Portal Member
    January 24, 2008
    39
    0
    Home Country
    United States of America United States of America
    Re: Schedules Direct US/Canadian/Mexico EPG Plugin (Updated April 2010)

    just let me know which log to include, I would love to include it. I don't get any data for these channels in the guide, as they come up like so:

    111 Unknown 72530-27 - No Data available.

    So what I thought I was supposed to do (which may be incorrect) is go into the TV Server config right click the cahnnel, click edit and change the name to say WFLA and the channel to 1008 which would be correct, click the schedules direct option to updata guide on next tv restart, then I restart the tv service and it shows up as:

    1008 WFLA - No Data Available, waited 24 hours and still shows the same....

    in another case the channel was showing up as 8, and it was actually pulling the guide for channel 8, even though the channel is 7, so I changed the channel to 7 and it will now say 7 WTOG - No Data Available.

    etc.....hope that helps in some way. I will try to look through some logs and see if any seem to have information in them to post, until I find out which logs I should be looking at. :D

    ok what I did was this, All channels are how they are by a default scan, I checked the update guide on next tv restart, restarted tv service and see this in my TV log
    2010-07-19 13:53:23.629241 [TVService(5)]: SchedulesDirect EPG Client: version 1.2.0 starting
    2010-07-19 13:53:23.857254 [TVService(5)]: Date of last program entry in database currently 7/28/2010 3:00:00 AM
    2010-07-19 13:53:23.859254 [TVService(5)]: Configured to grab 10 days of EPG data
    2010-07-19 13:53:23.872254 [TVService(5)]: Scheduling first poll for Schedules Direct listings at 7/19/2010 1:53:38 PM
    2010-07-19 13:53:23.874255 [TVService(5)]: TV Service: Plugin: ServerBlaster disabled
    2010-07-19 13:53:23.875255 [TVService(5)]: TV Service: Plugin: TV Movie EPG import disabled
    2010-07-19 13:53:23.876255 [TVService(5)]: TV Service: Plugin: WebEPG disabled
    2010-07-19 13:53:23.877255 [TVService(5)]: TV Service: Plugin: XmlTv disabled
    2010-07-19 13:53:23.877255 [TVService(5)]: TV Service: Plugins started
    2010-07-19 13:53:23.878255 [TVService(5)]: TV service: Started
    2010-07-19 13:53:38.885113 [SchedulesDirect EPG Client(5)]: Starting EPG refresh job on thread #5
    2010-07-19 13:53:38.885113 [SchedulesDirect EPG Client(5)]: UTC time is 7/19/2010 5:53:38 PM, local time is 7/19/2010 1:53:38 PM (DST is True)
    2010-07-19 13:53:38.888113 [SchedulesDirect EPG Client(5)]: Rename Existing Channels is set to: True, with Template: {number} {callsign}.
    2010-07-19 13:53:38.890113 [SchedulesDirect EPG Client(5)]: Add New Digital Channels is set to: False, with External Input: SvhsInput1.
    2010-07-19 13:53:38.891114 [SchedulesDirect EPG Client(5)]: Add New Digital Channels Country is set to: United States.
    2010-07-19 13:53:38.893114 [SchedulesDirect EPG Client(5)]: Add New Analog Channels is set to: False, with External Input: SvhsInput1.
    2010-07-19 13:53:38.894114 [SchedulesDirect EPG Client(5)]: Channel Sorting is set to: True.
    2010-07-19 13:53:38.895114 [SchedulesDirect EPG Client(5)]: Allow Channel Matching without Frequency is set to: True.
    2010-07-19 13:53:38.897114 [SchedulesDirect EPG Client(5)]: Delete Channels with No EPG Mapping is set to: False.
    2010-07-19 13:53:39.498148 [SchedulesDirect EPG Client(5)]: Requesting 24 hours of program listings from [7/19/2010 1:53:39 PM] to [7/20/2010 1:53:39 PM]
    2010-07-19 13:53:39.499148 [SchedulesDirect EPG Client(5)]: do a preliminary acknowledge to authenticate properly
    2010-07-19 13:53:48.459661 [SchedulesDirect EPG Client(5)]: Processing lineup Bright House Networks South Pinellas [id=FL09499:X type=CableDigital postcode=33771]

    ***SKIP LOTS OF CHANNELS MAPPING CORRECTLY***

    2010-07-19 13:53:52.857912 [SchedulesDirect EPG Client(5)]: Updated channel 47 BHSN [id=1932 xmlid=20705.47.schedulesdirect.org]
    2010-07-19 13:53:53.365941 [SchedulesDirect EPG Client(5)]: Could not find a match for WFLADT/1008
    2010-07-19 13:53:53.878971 [SchedulesDirect EPG Client(5)]: Could not find a match for WTVTDT/1013
    2010-07-19 13:53:54.393000 [SchedulesDirect EPG Client(5)]: Could not find a match for WFTSDT/1011

    ***SKIP ABOUT 10-15 MORE CHANNELS NOT FOUND***

    And I see a bunch of these:
    2010-07-19 13:54:11.541981 [SchedulesDirect EPG Client(5)]: Unable to find Program Channel: StationID: #10222 XMLTVID .schedulesdirect.org
    2010-07-19 13:54:11.542981 [SchedulesDirect EPG Client(5)]: Unable to find Program Channel: StationID: #23670 XMLTVID .schedulesdirect.org
    2010-07-19 13:54:11.542981 [SchedulesDirect EPG Client(5)]: Unable to find Program Channel: StationID: #23671 XMLTVID .schedulesdirect.org

    If I try and manually edit a station to WFLA 1008 I see this:
    2010-07-19 14:02:52.753793 [SchedulesDirect EPG Client(5)]: Matched channel WFLADT to Unknown 571250-F0 by lineup channel (1008)
    2010-07-19 14:02:52.754793 [SchedulesDirect EPG Client(5)]: Updated channel 1008 WFLADT [id=1664 xmlid=21222.1008.schedulesdirect.org]

    So it looks like it worked, but unfortunately I am at work and doing this remotely, so I cannot check the guide to see what it says now....unless there's a way to do it without directx...
     

    Users who are viewing this thread

    Top Bottom