|Wazakindjes a8d9b2f837 Use custom notification layout to enable using a full-colour ic0n, also makes it much easier to add m0ar shit laturd =]||2 months ago|
|app||2 months ago|
|ass||10 months ago|
|.gitignore||1 year ago|
|LICENSE||2 years ago|
|README.md||10 months 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. =]
Integration with mein srthax shit, so you can correct subs as you watch something. =]]] This assumes your subtitles are all together in one directory (e.g.
/media/subtitles), plus that the movie's filename matches the subtitle filename (except for the extension of course ;]). Apparently the Kodi API doesn't return the actual path to the subtitle it's using, so doing it like this is the only reliable way really.
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)