MochiTIF

Replacement Library and Live TV app for the TV Input Framework Companion Library and Live Channels app on Android TV and Google TV

MochiTIF is a project that aims to offer a updated replacement for both the Google TV Input Framework Companion Library and the Live Channels app on Android TV and Google TV, with support for newer devices and new features

Development status

</td></td>
Component NameComponent to replaceStatusDownload
MochiTIF Core LibraryTIF Companion LibraryFull releaseAvailable on JitPack
Mochi Live TVLive ChannelsFull releaseDownload on Google Play
MochiTIF Sample TV InputAndroid Sample TV Input AppIncluded in Mochi Live TV App

Components of MochiTIF

MochiTIF Core Library

The core library of MochiTIF, based on the Amazon implementation of the Google TIF Companion Library and modified to get channels visible on non-system TV Input Framework-based Live TV apps, allows you to build apps for Android TV and Google TV that adds channels via the TV Input Framework that can be played via either the Google Live Channels app or the newer Live Channels-based Mochi Live TV app

Mochi Live TV

The Mochi Live TV app, based on the AOSP Source Code of the Live Channels app, allows you to watch channels from the TV Tuner and apps that use the TV Input Framework, like TVirl and DangoPlayer Uni (this last one uses a in-development version of the MochiTIF Core Library), and access HDMI and another video inputs of your TV

NOTE: Some features like DVR, Parental Control, Content Rating, Timeshift and HDMI-CEC are unsupported by Mochi Live TV because requires the Live TV app to be a system app

MochiTIF Sample TV Input

The MochiTIF Sample TV Input, bundled in Mochi Live TV app, allows you to demonstrate the functionality of MochiTIF by adding demo channels to the channels list

How to add MochiTIF Libraries to your project

How to add MochiTIF Core Library

  1. Add the JitPack repository to your root build.gradle at the end of repositories:
     allprojects {
         repositories {
             ...
             maven { url 'https://jitpack.io' }
         }
     }
    
  2. Add the dependency
     dependencies {
             implementation 'com.github.brunochanrio:MochiTIF:1.0'
     }
    

    The usage of the MochiTIF Core Library is identical to the original TIF Companion Library