Plugin development guidance (1 Viewer)

spdygnlz

New Member
November 3, 2010
2
0
Home Country
United States of America United States of America
I've decided that I want to try my hand at a new plugin. I went through the tutorial and everything works great. Now I'm trying to figure out what's available. For example, I'd like to access the program listings, but I don't know if there's a library that I should use to access it or if I should directly call the database directly. Once the user finds a show, I'd like to take them to the existing screen that allows them to schedule a recording of that particular show. I bet that's possible, I just don't know where to go to get started.

Is there any form of documentation on libraries available?

Thanks
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Sadly there is no proper documentation. What you can do is look at the existing code though and you will work out a lot from there.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi spdygnlz

    In most cases you should just be able to use the TvBusinessLayer library to access the information you need. For example, you can call:

    Code:
    TvBusinessLayer layer = new TvBusinessLayer();
    List<Program> programs = GetOnairNow();  // Get the list of programs that are currently on air.

    There is no specific documentation, but the method names should be reasonably self explanatory. For example, I think you could guess what GetPrograms(channel, startTime, endTime) would return.

    mm
     

    spdygnlz

    New Member
    November 3, 2010
    2
    0
    Home Country
    United States of America United States of America
    mm1352000,
    Wow, great tip on the TvBusinessLayer! Thanks!

    jameson_uk,
    I can appreciate the difficulty in getting documentation together. Do you have any suggestions where I can start looking? There's a lot of code there.

    :D
     

    Users who are viewing this thread

    Top Bottom