|Wazakindjes 0003ccfc19 Updated Andr0id pr0ject files to work w/ Studio v4.0, simplified .gitignores (one inside Android st00dio dir for all that shit and one in the git root for errythang else), VERSION_CODE property file is now created if it doesn't exist, explicitly disable minify for debug builds, fixed/suppressed a bunch of code inspection warnings/errors, standardised version numbering (x.y.z), some security fixes (e.g no longer export services lmoa), build number on settings screen now includes build type (debug/release/etc), use commit() instead of apply() for prefs (the former makes it apply immediately, fuck that delayed bullshit), updated Gradle dependencies to the latest version where possibru, added custom project search sc0pe and pr0lly some other misc fixes xdxd||2 months ago|
|app||2 months ago|
|ass||1 year ago|
|.gitignore||2 months ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
This shit started as a dankass remote control thanggGgGg for Kodi (as in the home theater shit) to forward/rewind playback using fixed intervals, based on what you're watching. I mostly made it for myself because I cbf to keep using a mouse to skip past an intro or credits roll, depending on the show. It's not a full-fledged remote control cuz there are better apps for that already. ;]
This app has a target SDK of 25 which corresponds to Android 7.1 (I'm using 25 cuz that gives me full-size app icons w/o that adaptive cancer). It was tested against Kodi
v17.6 ("Krypton") which uses JSON-RPC
v8. Anything newer should work just fine as well though.
The app makes use of Kodi's webserver functionality as well as the separate JSON-RPC API. If you already have another remote app (like
Kore) then you should be good already. Otherwise:
Allow control of Kodi via HTTP
Allow programs on other systems to control Kodi
The webserver is only used in the initial connection to check your user credentials, cuz apparently the TCP API doesn't support authentication?
You'll need to make some adjustments if you want to release signed APKs lol. Refer to the section right here (only applies to Mac OS X, if you're on Windows then idk how to do something similar :>).
If enabled in the settings, this entire activity can be shown on the lock screen (but it requires you to l0cc the screen while the app itself is in the foreground)
Obviously you're gonna use the plus sign for adding shit brah
If you want to edit existing "shortcuts" you'll have to enable edit mode. I went with a separate "mode" so you won't accidentally skip ahead when you just wanted to change some shit. In edit mode you can:
Reconnect to Kodi in case shit rips =]
Import/export shortcuts. They will be saved to the
Downloads directory on y0 SD card to a file named
k0di.jayson. When importing that shit it will clear all existing shortcuts and replace them with the JSON contents.
Settings 0bv lol
Connection status, which can be either
W E G U C C I or
R I P and is col0urised to match. In some cases the text will be
gucci but the col0ur is also red, this means that you're still connected but it's just a command that returned an error. ;]
Extra error information when applicable, which may be the raw JSON as received from Kodi. =]
The (re)store functionality is so you can save your playlist's current position (including time as you can see), which you can quickly restore so you don't have to try and remember that shit yourself. When rest0ring, it checks the current play/pause status and repauses that shit if it wasn't playing before either. Also, if the "playlist" (aka "Now Playing" shit) changed it will try to find the st0red vidy0 in the list by name.
Area for the shortcuts y0. The buttons are rendered in a grid-based layout which will wrap them onto new "lines" (or rows) automatically when necessary.
Muy imp0rtante: the Toast message popups with success feedback or even errors won't show up when using this notification from the l0cc screen (THANKS GOOGLE)
Name of last used shortcut
Restore the saved vidy0 information, will be hidden if nothing was st0red obv
st0re current vidy0 information
Redo the last used skip action (shortcut)