Code Monkey home page Code Monkey logo

bttv's People

Contributors

allcontributors[bot] avatar bttv-android-bot avatar eltociear avatar fosefx avatar m1b4nd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bttv's Issues

Streams sometimes stutter

I just noticed performance issues with the mod, that don't happen in the official version.
It feels like some frames are dropped, maybe the mod does too much on the UI thread?
This is new and probably caused by an base update.

Enforce annotation to monkey patches

Merging updates is still a bit if-y.
Each monkey patch should be annotated (using a comment) with information like:

  • What does this patch do?
  • Which registers does it use?
  • Which assumptions does it make on registers (types)?
  • Does it change any registers or are all changes reverted?

This should be somewhat formalized so a linter could automatically check for correctness.

Updater

Check for updates either periodically or at every start.

Docker for build

I think most of the tools can be packed into a docker image. This would make the build process much easier for newcomers.

Settings Activity

Add a new item to the Settings Activity for BTTV-android
Checkable:

  • BetterTTV Emotes
  • BetterTTV Gif Emotes
  • FrankerFaceZ Emotes

Anon Chat

Join chat anonymously without appearing in the userlist

Remove trailing whitespace in monke.patch

Right now git issues the following warnings:

../monke.patch:36: trailing whitespace.
        <provider 
../monke.patch:2081: trailing whitespace.
    
../monke.patch:2126: trailing whitespace.
    
../monke.patch:2149: trailing whitespace.

Let's fix that.

Add linter

I'm tired of this hacky-ass looking code.

I just have no Idea about the Java/Android ecosystem.

Replace R.id.* usage with getIdentifier()

If the resource id change this file needs to be updated: https://github.com/bttv-android/bttv/blob/master/mod/twitch/src/main/java/tv/twitch/android/app/R.java

it is used here:

TextView titleView = (TextView) findViewById(R.id.bttv_updater_activity_title);

here:

TextView bodyView = (TextView) findViewById(R.id.bttv_updater_activity_body);

and here:

ProgressBar bar = (ProgressBar) findViewById(R.id.bttv_updater_activity_pb);

It should be replaced with Context.getResources().getIdentifier()

Organize bttv package

The only reason why it is not working right now is because I was to lazy to write a proper script.

genmonke* is stupid

Just remove the smali_classes10/bttv directory and do a diff. That's easier and faster. Maybe rebuild afterwards.

Add CONTRIBUTING.md

  • create said file
  • move "for contributors" section of readme there and re-write some of it
  • add PR and issue standards

Emote picker

Seeing emotes is great and all, but you maybe also want to be able to pick them.

Don't bundle monke.patch in docker image

The image would only need to be updated when a dependency changes. So no new image for every new release.
This way a build pre-merge could also be realized while still using the docker builder.

Downsides: The developer needs to mount the current monke.patch into the container when used. This could be done using a helper script.
Other implications: CI workflows need to be updated. Documentation related to docker needs to be updated.

Periodically check for updates

In addition the the existing updater, the app should check for updates every day-ish and show the user a notification.

Split build and publish workflows

The build workflow does both the build and publishes the apk to the Github release page.
This means PRs can not run the build by themselves.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.