![]() |
|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
How to use EPGDBPublic2.java
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 EPGDBPublic.java which gets the guide from class that implements sage.EPGImportPlugin by defining the following function.
updateGuide(String aProviderId, EPGDBPublic aGuide) https://github.com/google/sagetv/blo...lugin.java#L44 How do use guide that is type EPGDBPublic with EPGDBPublic2 which is and interface that extends EPGDBPublic? https://github.com/google/sagetv/blo...blic2.java#L22 |
#2
|
|||
|
|||
I will answer my own question for others
Just cast it. Found studying SageTV base code for good amount of time ![]() this.guide = (EPGDBPublic2) aGuide; |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java 8 - No Android / Java 10 - No Schedules Direct - Stuck? | Flips | SageTV for unRAID/Docker | 7 | 12-11-2021 12:56 PM |
SageTV 6 Client problems after Java 7 install, Java 6 uninstall | alisonnic | SageTV Software | 5 | 01-24-2013 02:51 PM |
Java SE7 Favorite limit day problem (vs Java SE6) | voidpt | SageTV Software | 0 | 10-21-2012 12:29 PM |
Tables, Java - Java Not being Called for each TableComponent Cell | stuckless | SageTV Studio | 3 | 04-02-2008 03:03 PM |
Beta V1.2.2 Java java.lang Null Pointer Exception | hamptonhills | SageTV Beta Test Software | 1 | 03-27-2003 12:11 PM |