Thats why I use the kodi plugin reallyā¦
I dont think the app above is really suitable, its polling too often and slowing down the smartthings system as a whole.
Iām working on one in which a kodi plugin tells smartthings when it starts playing, but still at that stage you would only have playing or stopped.
However im just about to release an update to the my app.
it will require a plugin in kodi but will still give smartthings the status etc and allow you to control it from smart things.
Looking good. Got any easy tips on how to copy and paste the urls from your phone directly to Kodi? Also think there are any limitations to 5 installs?
Edit: One last question how about a only run in these modes section?
@TheFuzz4 i havnt been able to test multi kodi config, they should work in theory.
the last box as the bottom has all the urls in it with ## in between so you can copy and paste them in one go. maybe to an email? then you can paste them in.
and alternative would be to open the kodi plugin config when kodi is closed and update them in there.
Iāll look at the only run in these modes option.
I just looked at rule machine to add a music player - i manage to add it so you can build rules of the status.
i managed to do it and it works fine, however its a bit of hack, going to keep looking at that too. hopefully get them to integrate it in their releases.
Awesome @toliver182 thank you so much for building this awesome app and device. I added you to my IDE GitHub integration so now I can just update through the IDE no more copy and paste. I wish I was a better programmer. I work in IT as a systems admin and I can do some good bash scripting but sadly no groovy yet hope to fix that in the near future.
Iām in IT app support, I spend my life in power shell and bash scripts.
I never touched groovey before yesterday itās been a steep learning curve. Itās seems the same as most object orientated languages, slight changes in syntax and a lot of logging lol
Iāve request that @bravenel add music player to rule machine, hopefully he has time
Any chance we can get a little more precise instructions with how we enter the URLās in the callback add-on? I am so confused about where to even enter them! Sorry for the noob question just never used this add-on before and the documentation isnāt really helpful to me. Canāt even find an example online to go off.
Thank you @nelemansc! I think I got it setup properly but maybe there is an issue with the add-on. I am running Kodi on Windows using Jarvis RC2. Here is the error I am receiving after I setup the task and event. I am using the latest Kodi callback update as well. Any help is greatly appreciated
08:16:44 T:6692 NOTICE: $$$ [kodi.callbacks] - Task starting for onPlayBackStarted
08:16:44 T:6692 ERROR: $$$ [kodi.callbacks] - ERROR encountered for Task T1, Event onPlayBackStarted
ERROR mesage: <attribute 'message' of 'exceptions.BaseException' objects>
Traceback (most recent call last):
File "C:\Users\shokouhi\AppData\Roaming\Kodi\addons\script.service.kodi.callbacks\resources\lib\tasks\taskHttp.py", line 106, in run
u = requests.get(self.taskKwargs['http']+self.runtimeargs, timeout=20)
TypeError: cannot concatenate 'str' and 'list' objects
08:16:44 T:6692 NOTICE: $$$ [kodi.callbacks] - Task finalized for onPlayBackStarted
08:16:45 T:7424 ERROR: Traceback (most recent call last):
Iām trying to set this up. When you say ā17. Set events to the corresponding URL you copied from the appā - do you mean just writing that exact url into a callbacks2 Task and then setting the corresponding event to that Task? If so, is there anything else I should be doing?
And make sure you grab the latest version, I have been working with the addon author over the last week or so on fixing a few bugs, particularly in Android.
Ah ok, well I took at look your set of instructions and I actually did follow them correctly the first time (imagine that lol). I tried to update the add-on but I still get the same error I posted above. I just now tried to perform the test under āGeneralā Settings and I am getting an error. Seems to do with a windows installation and incorrect path so I reported a bug on Kodi forums with my logs. Hopefully that will resolve this issue.