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.
Branch: master
Clone or download
Latest commit 0dbc532 Feb 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Remove unneeded workspace from CircleCI config Jan 19, 2019
.idea Update IDEA codestyle for AS 3.3 Feb 3, 2019
app Add workaround for FAB showing when it shouldn't Feb 9, 2019
art Try using a new custom font: Barlow Jul 12, 2018
base-android Move out Watched to seperate fragment too Feb 5, 2019
base Inject WatchedEpoxyController Feb 8, 2019
buildSrc Update to Epoxy 3.2.0 Feb 5, 2019
data-android Finally fix episodes + seasons syncing Feb 4, 2019
data Finally fix episodes + seasons syncing Feb 4, 2019
docs Merge branch 'master' of github.com:chrisbanes/tivi Oct 17, 2018
gradle Update Gradle to 4.10.2 Oct 17, 2018
interactors Fix copyright headers for Google LLC Nov 2, 2018
signing Don't break build if ENCRYPT_KEY is empty Jan 19, 2019
spotless Fix copyright headers for Google LLC Nov 2, 2018
tasks Use WorkManager as an API dependency for Dagger Jan 19, 2019
tmdb Start of moving dependencies to buildSrc Jan 19, 2019
trakt-auth Start of moving dependencies to buildSrc Jan 19, 2019
trakt Start of moving dependencies to buildSrc Jan 19, 2019
.gitignore Start of moving dependencies to buildSrc Jan 19, 2019
CONTRIBUTING.md Initial commit Aug 17, 2017
LICENSE Initial commit Aug 17, 2017
README.md Move to app.tivi package May 29, 2018
build.gradle Start of moving dependencies to buildSrc Jan 19, 2019
checksum.sh Use instead of legacy backticks for checksum.sh Nov 8, 2018
gradle.properties Move data tests in :data-android Oct 17, 2018
gradlew Upgrade to Gradle 4.1 final. Aug 17, 2017
gradlew.bat Upgrade to Gradle 4.1 final. Aug 17, 2017
settings.gradle Fix copyright headers for Google LLC Nov 2, 2018

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 3.0 (or newer) to be able to build the app.

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://auth/oauth2callback.

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>

# Get this from Fabric/Crashlytics
TIVI_FABRIC_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 2017 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you 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

   http://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.