Schedules Direct US/Canadian/Mexico EPG Plugin (Updated August 2010) (1 Viewer)

sjeffrey

Portal Pro
August 22, 2008
232
7
Canada
Home Country
Canada Canada
Without seeing the entire code, you can try:

System.Collections.Generic.IList<TvDatabase.Channel> pgList = tvLayer.GetPrograms(chan, DateTime.Now.AddDays(-1), DateTime.Now.AddDays(MaxDays));
 

sjeffrey

Portal Pro
August 22, 2008
232
7
Canada
Home Country
Canada Canada
Try this version.
Keep I mind I only fixed the compilation errors, I haven't look at the code and haven't tested to make sure it works.
 

Attachments

  • SchedulesDirectPluginTVE3-SRC.zip
    30.7 KB

sjeffrey

Portal Pro
August 22, 2008
232
7
Canada
Home Country
Canada Canada
May I ask what you did so quickly to make it work?

Learn how to program for the last 15 years :)
Just kidding!
I just changed all variable types to match the strong type versions.
Which means instead of return a IList of anything, it will return a IList of a specific type. The type is what is between '<' and '>'
Basically like the snippet I sent back, instead of returning a IList it seems that tvLayer.GetPrograms now returns a IList<TvDatabase.Channel> so the variable that caught it, pgList, needed to be of type IList<TvDatabase.Channel> instead of plain IList.

Using Resharper made it a whole lot easier since there's a dropdown for each compilation error to change the variable type to the correct type. 2 keystrokes per error and I was done :D
 

ixian

MP Donator
  • Premium Supporter
  • August 14, 2007
    320
    56
    55
    Home Country
    United States of America United States of America
    It seems like there's 4 or 5 of us rebuilding this thing, but I figured everyone else might appreciate a rebuilt 1.1a based off Media Portal 1.02, so here you go :)

    No new features yet, just cleaned up for the new runtime version and built off the last version Patrick released, 1.1a, which has a couple added features from 1.1, which is the last version I posted up here that was built working for 1.1 and above.

    So if you are using 1.1 or higher and can't roll your own, use this one :)
     

    Attachments

    • SchedulesDirectPlugin1.1b.zip
      30.7 KB

    jacc1234

    Portal Pro
    April 11, 2008
    167
    7
    It seems like there's 4 or 5 of us rebuilding this thing, but I figured everyone else might appreciate a rebuilt 1.1a based off Media Portal 1.02, so here you go :)

    No new features yet, just cleaned up for the new runtime version and built off the last version Patrick released, 1.1a, which has a couple added features from 1.1, which is the last version I posted up here that was built working for 1.1 and above.

    So if you are using 1.1 or higher and can't roll your own, use this one :)

    Im going to test this with my MP 1.02 setup. Im fairly new to SD but will report any issues I might have.

    On another note, is there an easy way to change the channel associations that SD has. For example if it shows a channel on the guide as FOX but its actually NBC is there an easy way to change this?

    Thanks
     

    ixian

    MP Donator
  • Premium Supporter
  • August 14, 2007
    320
    56
    55
    Home Country
    United States of America United States of America
    It seems like there's 4 or 5 of us rebuilding this thing, but I figured everyone else might appreciate a rebuilt 1.1a based off Media Portal 1.02, so here you go :)

    No new features yet, just cleaned up for the new runtime version and built off the last version Patrick released, 1.1a, which has a couple added features from 1.1, which is the last version I posted up here that was built working for 1.1 and above.

    So if you are using 1.1 or higher and can't roll your own, use this one :)

    Im going to test this with my MP 1.02 setup. Im fairly new to SD but will report any issues I might have.

    On another note, is there an easy way to change the channel associations that SD has. For example if it shows a channel on the guide as FOX but its actually NBC is there an easy way to change this?

    Thanks

    I built it off MP 1.02 so it should work fine.

    The channel problem you are describing isn't something the SD plugin can fix. In fact I'm not sure what can - you are saying Schedules Direct themselves have a Fox station showing as NBC in your account? I believe they have a reporting mechanism to send errors to - you are going want to fix it with them, all the plugin does is pull XML data from your account then format it for MP. If your SD account is off the plugin isn't going to be able to correct it.
     

    jacc1234

    Portal Pro
    April 11, 2008
    167
    7
    It seems like there's 4 or 5 of us rebuilding this thing, but I figured everyone else might appreciate a rebuilt 1.1a based off Media Portal 1.02, so here you go :)

    No new features yet, just cleaned up for the new runtime version and built off the last version Patrick released, 1.1a, which has a couple added features from 1.1, which is the last version I posted up here that was built working for 1.1 and above.

    So if you are using 1.1 or higher and can't roll your own, use this one :)

    Im going to test this with my MP 1.02 setup. Im fairly new to SD but will report any issues I might have.

    On another note, is there an easy way to change the channel associations that SD has. For example if it shows a channel on the guide as FOX but its actually NBC is there an easy way to change this?

    Thanks

    I built it off MP 1.02 so it should work fine.

    The channel problem you are describing isn't something the SD plugin can fix. In fact I'm not sure what can - you are saying Schedules Direct themselves have a Fox station showing as NBC in your account? I believe they have a reporting mechanism to send errors to - you are going want to fix it with them, all the plugin does is pull XML data from your account then format it for MP. If your SD account is off the plugin isn't going to be able to correct it.

    So far the new build seems to be working fine. The issue I described is not exactly whats going on. I have a mix of standard and HD channels and I cant get it to recognize some of the HD versions. I solved most of these conflicts by adding the OTA list along with the basic cable but there are still some issues.

    TBS is a good example. I tried to uncheck the standard version and hoped if the names were identical schedules direct would just associate the HD channel with its listing but this did not happen. I followed a guide that was posted somewhere in this thread. It said to add all of the standard def channels then run schedules direct. After it associated the channels with its listings I then added the HD channels and renamed them to match the standard def versions. I was under the assumption that they would then be recognized. This did not happen at all.

    Any help would be appreciated.
     

    WileECoyote

    MP Donator
  • Premium Supporter
  • October 14, 2008
    1,156
    220
    Cary, NC
    Home Country
    United States of America United States of America
    It seems like there's 4 or 5 of us rebuilding this thing, but I figured everyone else might appreciate a rebuilt 1.1a based off Media Portal 1.02, so here you go :)
    No new features yet, just cleaned up for the new runtime version and built off the last version Patrick released, 1.1a, which has a couple added features from 1.1, which is the last version I posted up here that was built working for 1.1 and above.
    So if you are using 1.1 or higher and can't roll your own, use this one :)

    Since your now the official keeper-upper of this plugin :)D he he), maybe its time to start a new thread so you can keep the first post up to date with the latest builds? Just a thought...
     

    Users who are viewing this thread

    Top Bottom