Skip to content

Improved Youtube live stream interface for Hololive streams

License

Notifications You must be signed in to change notification settings

menghaoyu2002/HoloTube

Repository files navigation

HoloTube - Improved Youtube Live Player for Hololive

A project focused on implementing a better user interface for youtube live streams and making it easier to follow Hololive talents for Android API level 19+.

live_image upcoming_image following_image

Download

Head to the Releases page and download the most recent release. Run the apk file on your phone.

Motivation

The current Youtube live stream player has one major flaw. As of 6/2/2021, when the chat is turned on while in landscape mode it covers most of the screen. This can be seen in the following screenshots.

example 1 example 2

Notice how the chat and donations blocks half of the content. This purpose of this app is to address this problem and make following Hololive streams much easier.

Implementation

This app implements an user interface heavily inspired by the twitch app for a better viewing experience.

app_live_screen app_live_screen

Features

  • Chat displayed beside stream instead of directly over
  • Watch all live streams from Hololive talents
  • Keep up with all the scheduled streams
  • Ability to follow all your favourite streamers

Possible Improvements

  • Get notification when followed streamer is live
  • Ability to type in chat instead of it being read on only
  • Integrate youtube and youtube OAuth api
  • Use MVVM structure for app instead of viewmodel communicating directly with data
  • Add search functionality
  • Cache stream thumbnails, title, etc.
  • Currently database operations are running on the main thread. Since the operations are very quick this is fine, however an improvement would be to move these operations to a background thread and use async operations
  • Clean up code and improve app efficiency by un-nesting viewgroups

Open-source Libraries Used

  • Android-Youtube-Player for displaying/playing the streams
  • Glide for displaying thumbnail and profile pictures
  • HoloAPI an API for Hololive streamer data
  • Retrofit2 for requesting data from REST APIs
  • Moshi for parsing JSON data
  • AndroidX and JetPack for ViewModels, Navigation, Room database, LiveData, etc...

Disclaimer

This app has no affiliation with Hololive or its talents.

License

Copyright 2021 Menghao Yu

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

   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.