Skip to content
Tivi is a work-in-progress TV show tracking Android app, which connects to Trakt.tv. It is still in its early stages of development and currently only contains two pieces of UI. It is under heavy development.
Kotlin Other
  1. Kotlin 99.2%
  2. Other 0.8%
Branch: master
Clone or download

Latest commit

chrisbanes Merge pull request #619 from chrisbanes/cb/related
Improvements to related shows source
Latest commit b64b974 Jun 1, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Disable Play Publishing action task May 28, 2020
.idea Update function param multi-line code style Dec 17, 2019
app Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
art Try using a new custom font: Barlow Jul 12, 2018
base-android Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
base Fix related shows not always displaying Jun 1, 2020
buildSrc Try out Compose + UI SNAPSHOT 6543212 Jun 1, 2020
cloudbuild Try out Google Cloud Build [ci skip] Feb 19, 2019
common-databinding Update AGP to 4.0.0-alpha06 Jan 20, 2020
common-entrygrid Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
common-epoxy Update function param multi-line code style Dec 17, 2019
common-imageloading Review Comments May 8, 2020
common-layouts Update AGP to 4.0.0-alpha06 Jan 20, 2020
common-ui-compose Tidy up related Compose UI Jun 1, 2020
common-ui-resources Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
common-ui-view Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
data-android Migrate watched shows to Store Feb 16, 2020
data Inline the Store extensions where possible Jun 1, 2020
docs Merge branch 'master' of github.com:chrisbanes/tivi Oct 17, 2018
domain Implement new Account UI May 12, 2020
gradle Update to AGP 4.1.0-alpha10 and Gradle 6.5-m1 May 27, 2020
presenter-episodedetails Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
release Update Firebase auth tokens May 12, 2020
spotless Fix copyright headers for Google LLC Nov 2, 2018
tasks Workaround issue in InvalidPeriodicWorkRequestIntervalDetector Mar 28, 2020
tmdb Cleanup May 8, 2020
trakt-auth Implement new Account UI May 12, 2020
trakt Cleanup May 8, 2020
ui-account-presenter Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-account-view Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-account Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-discover Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-episodedetails-compose Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-episodedetails Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-followed Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-popular Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-recommended Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-search Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-showdetails-presenter Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-showdetails-view Tidy up related Compose UI Jun 1, 2020
ui-showdetails Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-trending Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
ui-watched Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
.gitignore Update to Compose + UI v0.1.0-dev12 (#621) May 29, 2020
CONTRIBUTING.md Initial commit Aug 17, 2017
LICENSE Initial commit Aug 17, 2017
README.md Document new oauth redirect URI May 3, 2020
build.gradle Try out Compose + UI SNAPSHOT 6543212 Jun 1, 2020
checksum.sh Fix checksum script Jul 24, 2019
cloudbuild.yaml Update Cloud Build GCS buckets Feb 24, 2019
gradle.properties Reduce Gradle jvmargs to 1.5GB max heap Nov 13, 2019
gradlew Update to AGP 3.6.0-alpha08 and Gradle 6.1.0 Jan 20, 2020
gradlew.bat Update to AGP 3.6.0-alpha08 and Gradle 6.1.0 Jan 20, 2020
settings.gradle Add stub Account fragment May 12, 2020

README.md

Tivi

Tivi 📺 (work-in-progress 👷🔧️👷‍♀️)

This is not an official Google product

Tivi is a work-in-progress TV show tracking Android app, which connects to Trakt.tv. It is still in its early stages of development and currently only contains two pieces of UI. It is under heavy development.

Android development

Tivi is an app which attempts to use the latest cutting edge libraries and tools. As a summary:

Development setup

First off, you require the latest Android Studio 4.1 Canary to be able to build the app. This is due to the project implementing some pieces of UI in Jetpack Compose.

Code style

This project uses ktlint, provided via the spotless gradle plugin, and the bundled project IntelliJ codestyle.

If you find that one of your pull reviews does not pass the CI server check due to a code style conflict, you can easily fix it by running: ./gradlew spotlessApply, or running IntelliJ/Android Studio's code formatter.

API keys

You need to supply API / client keys for the various services the app uses. That is currently Trakt.tv, TMDb and Fabric (for Crashlytics). You can find information about how to gain access via the relevant links.

For Trakt.tv, set the redirect uri to app.tivi.debug://auth/oauth2callback for debug build types, or app.tivi://auth/oauth2callback for release build types.

When you obtain the keys, you can provide them to the app by putting the following in the gradle.properties file in your user home:

# Get these from Trakt.tv
TIVI_TRAKT_CLIENT_ID=<insert>
TIVI_TRAKT_CLIENT_SECRET=<insert>

# Get this from TMDb
TIVI_TMDB_API_KEY=<insert>

On Linux/Mac that file is typically found at ~/.gradle/gradle.properties or in the project directory tivi/gradle.properties

Contributions

If you've found an error in this sample, please file an issue.

Patches are encouraged, and may be submitted by forking this project and submitting a pull request. Since this project is still in its very early stages, if your change is substantial, please raise an issue first to discuss it.

License

Copyright 2020 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.