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.
Hi @toliver182 - we had chatted previously about a Kodi integration I was developing for interfacing with Kodi and reacting to Kodi events without requiring any third party installations like plugins or relaying software. I just wanted to let you know that I’ve released the Device Type/SmartApp and you can find the post here:
Awesome app! Any tips on getting Kodi status to update when I press play or pause from something other than smartthings? Is there a guide somewhere on that? Thanks!