Toon app: Kodi media player
Moderators: marcelr, TheHogNL, Toonz
Toon app: Kodi media player
This thread has been created on may 25th, 2017. It holds posts pertaining to the Kodi remote app. Since the first posts were extracted from another thread, some remarks in them may seem a bit odd.
So, i'm working at making a KODI plugin for Toon. In short, when KODI is active, it shows a kodi icon in the systray on the right top, next to your mailbox icon e.d.
When you click on it, you get a fullscreen kodi remote. Great for easily switching music, pausing e.d. (and it's cool).
(Is this something to post here? or only when finished including code? )
So, i'm working at making a KODI plugin for Toon. In short, when KODI is active, it shows a kodi icon in the systray on the right top, next to your mailbox icon e.d.
When you click on it, you get a fullscreen kodi remote. Great for easily switching music, pausing e.d. (and it's cool).
(Is this something to post here? or only when finished including code? )
Re: Software: modifications and extensions Toon
That sounds great, I don't have Kodi but the code should give a good start for other plugins!
I was thinking about creating a Domoticz remote (when I get the thermostat connection working..)
Does anybody have some Domoticz functions working on the Toon yet?
Is it as easy as just opening a 'webbrowser' to the Kodi remote webpage or do you fully implement it in qml yourself?
I was thinking about creating a Domoticz remote (when I get the thermostat connection working..)
Does anybody have some Domoticz functions working on the Toon yet?
Is it as easy as just opening a 'webbrowser' to the Kodi remote webpage or do you fully implement it in qml yourself?
Re: Software: modifications and extensions Toon
I have created some custom tiles to control all my blinds using Domoticz REST calls (it actually works with all switches in Domoticz). Will post the source code after I clean it up
I am certainly interested in Kodi integration as well as buienradar integration... If someone already has that working, please share!
I am certainly interested in Kodi integration as well as buienradar integration... If someone already has that working, please share!
Re: Software: modifications and extensions Toon
I can post some work in progress pics here
I also made a custom extension which controls my blinds and lamps. To clarify, i'm NOT using Hue lamps, but my own klikaanklikuit lights, homemade screen switches, and a raspberry pi controller.
Then onto the Kodi plugin. I'm trying to make this one in a way that other ppl here can also use it. But as you can see it's still very much work in progress:
That's the icon in the tray
The view. I copied the basis from another screen in Toon, can you guess which one?
As you can see, still much to do.
I also made a custom extension which controls my blinds and lamps. To clarify, i'm NOT using Hue lamps, but my own klikaanklikuit lights, homemade screen switches, and a raspberry pi controller.
Then onto the Kodi plugin. I'm trying to make this one in a way that other ppl here can also use it. But as you can see it's still very much work in progress:
That's the icon in the tray
The view. I copied the basis from another screen in Toon, can you guess which one?
As you can see, still much to do.
Re: Software: modifications and extensions Toon
Nice work
I used a different approach; I implemented every Domoticz blind / light switch is a separate tile. This is kind of ugly, since you would need to transfer some QML scripts for every switch you would like to control (as well as editing the QML to provide the correct Domoticz ID). I'm using a timer per tile to update Toon with the correct status and retrieve the name from Domoticz as well.
I'm currently working out a way to add generic "domoticz switch" tiles, which you can configure yourself by tapping on them (i.e. you can provide the Domiticz IDX instead of hard-coding them).
I used a different approach; I implemented every Domoticz blind / light switch is a separate tile. This is kind of ugly, since you would need to transfer some QML scripts for every switch you would like to control (as well as editing the QML to provide the correct Domoticz ID). I'm using a timer per tile to update Toon with the correct status and retrieve the name from Domoticz as well.
I'm currently working out a way to add generic "domoticz switch" tiles, which you can configure yourself by tapping on them (i.e. you can provide the Domiticz IDX instead of hard-coding them).
Re: Software: modifications and extensions Toon
I did that before too, but i like my new approach better. The popout screen button is visible even if the screen is dimmed. So, if i walk to my toon, it's two clicks to activate every light and screen i have. With tiles, it would be 1 tap to wake up toon, 1 tap to switch to next screen and then at least a tap to enable the light.
But, about the tiles. If you look at the controlpanel folder. There you can find some code which generates tiles for every hue lamp and plug you have. That's also on the fly. Maybe you can use that to generate tiles for your domoticz devices.
But, about the tiles. If you look at the controlpanel folder. There you can find some code which generates tiles for every hue lamp and plug you have. That's also on the fly. Maybe you can use that to generate tiles for your domoticz devices.
Re: Software: modifications and extensions Toon
More screenshots about the work in progress last evening
Re: Software: modifications and extensions Toon
Nice work, keep it up!
grtz,
marcelr
grtz,
marcelr
Re: Software: modifications and extensions Toon
Very nice. I'm looking forward to your explanation of how you accomplished it.
Schelte
Re: Software: modifications and extensions Toon
So, last night i finished the first beta version of my Kodi remote app
It's a tray icon with a fullscreen app. It's designed to not go to sleep when opened
How to install:
It's a tray icon with a fullscreen app. It's designed to not go to sleep when opened
How to install:
- Unzip the folder to /HCBv2/qml/apps
- Edit the /HCBv2/qml/apps/kodiRemote/MediaScreen.qml file. You will find a hostName and portNum string. Edit this to match the location of your Kodi webinterface.
- Edit the file: /HCBv2/qml/qb/base/Globals.qml , here around line 80 add the line:
so: before:
Code: Select all
"kodiRemote",
After:Code: Select all
var appsToLoad = [ "homescreen", "systray", "inbox", "thermostat", "clock", "weather",
Code: Select all
var appsToLoad = [ "homescreen", "systray", "inbox", "thermostat", "clock", "weather", "kodiRemote",
- Restart QT, by a reboot or via
Code: Select all
killall -9 qt-gui
- Attachments
-
- kodiRemote.zip
- Kodi remote v0.1
- (42.26 KiB) Downloaded 865 times
Re: Software: modifications and extensions Toon
A small patch to have username/password support for kodiRemote.
You can apply this patch even if you use the default username on Kodi without password (the default configuration).
EDIT (2016-12-22): the patch accidentally also changes the hostname and port number from its default. Be aware of that.
EDIT (2016-12-31): added a new patch with default hostname and port number. (kodiRemote_001_v2.zip)
(what this patch actually does is just adding the following parameters , userStr, passwdStr at the end of each xmlhttp.open command, and create variables with the correct values.)
copy patch file to /HCBv2/qml/apps/ (e.g. using WinSCP)
and execute:
patch -p0 < kodiRemote_001.patch
example
You can apply this patch even if you use the default username on Kodi without password (the default configuration).
EDIT (2016-12-22): the patch accidentally also changes the hostname and port number from its default. Be aware of that.
EDIT (2016-12-31): added a new patch with default hostname and port number. (kodiRemote_001_v2.zip)
(what this patch actually does is just adding the following parameters , userStr, passwdStr at the end of each xmlhttp.open command, and create variables with the correct values.)
copy patch file to /HCBv2/qml/apps/ (e.g. using WinSCP)
and execute:
patch -p0 < kodiRemote_001.patch
example
Code: Select all
# pwd
/HCBv2/qml/apps
# ls -la *.patch
-rw-r--r-- 1 root root 3395 Dec 18 00:59 kodiRemote_001.patch
# patch -p0 < kodiRemote_001.patch
patching file ./kodiRemote/MediaScreen.qml
- Attachments
-
- kodiRemote_001_v2.zip
- Username password support, hostname port correction
- (997 Bytes) Downloaded 705 times
-
- kodiRemote_001.zip
- Username password support
- (1.01 KiB) Downloaded 697 times
Last edited by RomMon on Wed Feb 01, 2017 1:04 am, edited 3 times in total.
Re: Toon app: Kodi media player
Hello,
Is the Kodi plugin compatibel w
For the latest software version of the Toon?
Is the Kodi plugin compatibel w
For the latest software version of the Toon?
-
- Starting Member
- Posts: 29
- Joined: Mon Aug 21, 2017 8:58 am
Re: Toon app: Kodi media player
Hi CygnusX,
Your app looks nice! Will it be made available in the Toonstore anytime soon?
Your app looks nice! Will it be made available in the Toonstore anytime soon?
Re: Toon app: Kodi media player
I know its been 2 years ago, but i`ve installed the kodi app, latest firmware on the Toon
it has connection but nothing shows up in the screen.
see attachment.
Is there a way to fix this?
it has connection but nothing shows up in the screen.
see attachment.
Is there a way to fix this?
Re: Software: modifications and extensions Toon
Can you share this extension?cygnusx wrote:I can post some work in progress pics here
I also made a custom extension which controls my blinds and lamps. To clarify, i'm NOT using Hue lamps, but my own klikaanklikuit lights, homemade screen switches, and a raspberry pi controller.
Btw, what's your favorite, Super String?