Android Live Channels integration for Live TV and DVR Scheduling
I am starting to work on an Android TV TIF (TV Input Framework) Plex frontend add-on for Android Live Channels for watching Live TV and Scheduling recordings through the plex api to the Plex Media Server backend.
I need a bit of help on how to query the PMS for a list of channels and xmltv epg either in xml format or sql format for the TIF to add channels and sync epg data into Live Channels.
I have been working with SQLite data from another Live Channels plugin and also examining "plexapp-rest-library" for querying such data and working with account syncing (AccountService.java) for getting the Plex Token for account sync.
Could someone in the dev community here point me in the correct direction for querying such data as live tv channels and xmltv data? I can see some channel data in the tv.plex.providers.epg.onconnect-hash.db database so I should be able to query this information for ChannelSync data in the Android TV Input Framework.
Any pointers are greatly appreciated