SageTV Community

SageTV Community (
-   SageTV Github Development (
-   -   How to use (

hvymetal 01-14-2022 10:21 PM

How to use
I have a SageTV Java programming question I can not seem to find a an solution. I am trying to update the XMLTV plugin to get it more up to the current standard. The original code is using which gets the guide from class that implements sage.EPGImportPlugin by defining the following function.

updateGuide(String aProviderId, EPGDBPublic aGuide)

How do use guide that is type EPGDBPublic with EPGDBPublic2 which is and interface that extends EPGDBPublic?

hvymetal 01-16-2022 10:58 PM

I will answer my own question for others

Just cast it. Found studying SageTV base code for good amount of time :bang: = (EPGDBPublic2) aGuide;

All times are GMT -6. The time now is 02:08 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.