Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Support for XBMC2 plugin (formerly XBMCRepeat)
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
hmmm, it was the version before you changed it to autoconnect better with kodi.
i havent really saved the older verisons.
i havent really saved the older verisons.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Test this version, it seems XP needs stuff its own way.
jonib
jonib
- Attachments
-
- __init__.py
- XBMC2 test ver 0.6.31 XP rebound edition
- (123.38 KiB) Downloaded 188 times
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
jonib wrote:Test this version, it seems XP needs stuff its own way.
jonib
thanks alot, that did the trick, everything works really good now, i have tried to reboot the minix android device and as soon as i start kodi again eventghost rekognizes it.
i did actually have some red strings in the log, but it doesnt really matter since everything works fine now, but i post the log anyway:
16:45:28 XBMC2: Raw event: '{"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":1},"sender":"xbmc"}}'
16:45:28 Raw event: {u'params': {u'data': {u'playlistid': 1}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnClear'}
16:45:28 XBMC2: Raw event: '{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"title","type":"movie"},"playlistid":1,"position":0},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"title":"","type":"movie"},"playlistid":1,"position":1},"sender":"xbmc"}}'
16:45:28 Traceback (most recent call last):
16:45:28 File "C:\Program\EventGhost\plugins\XBMCRepeat\__init__.py", line 2162, in JSONRPCNotifications
16:45:28 messages = [json.loads(message)]
16:45:28 File "json\__init__.pyc", line 307, in loads
16:45:28 File "json\decoder.pyc", line 322, in decode
16:45:28 ValueError: Extra data: line 1 column 189 - line 1 column 385 (char 189 - 385)
16:45:28 Raw event: {u'params': {u'data': {u'item': {u'type': u'movie', u'title': '}, u'playlistid': 1, u'position': 0}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnAdd'}
16:45:28 Raw event: {u'params': {u'data': {u'item': {u'type': u'movie', u'title':'}, u'playlistid': 1, u'position': 1}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnAdd'}
16:45:28 XBMC2: Raw event: '{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"title":"ETRG.mp4","type":"movie"},"playlistid":1,"position":2},"sender":"xbmc"}}'
16:45:28 Raw event: {u'params': {u'data': {u'item': {u'type': u'movie', u'title': u'ETRG.mp4'}, u'playlistid': 1, u'position': 2}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Playlist.OnAdd'}
16:45:29 XBMC2: Raw event: '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"title":"-ETRG.mp4","type":"movie"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}'
16:45:29 Raw event: {u'params': {u'data': {u'item': {u'type': u'movie', u'title': }, u'player': {u'playerid': 1, u'speed': 1}}, u'sender': u'xbmc'}, u'jsonrpc': u'2.0', u'method': u'Player.OnPlay'}
16:45:29 XBMC2.Player.OnPlay.movie {u'item': {u'title': r': {u'playerid': 1, u'speed': 1}}
16:45:29 Play
I cant thank you enough.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Great news, when I knew you used Win XP my searches found the problem, before I wasn't even close.tjabas wrote:thanks alot, that did the trick, everything works really good now, i have tried to reboot the minix android device and as soon as i start kodi again eventghost rekognizes it.
Those seem normal if you have the debug options active, I need to change those errors, as they should be warnings because they are handled correctly. But please report any errors when not in debug mode as those should not happen.i did actually have some red strings in the log, but it doesnt really matter since everything works fine now, but i post the log anyway:
Well thank you for testing countless test versions.I cant thank you enough.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Hi!
i thought that i would write a small feedback on the latest update,
the last uppdate really did the trick, but unfortunately it wont always autoconnect after a reboot of the minix android player.
but this is 1 out of 4 restarts.
im also sorry to say that i dont get ant logs in eventghost when it doesnt detect kodi.
thanks
i thought that i would write a small feedback on the latest update,
the last uppdate really did the trick, but unfortunately it wont always autoconnect after a reboot of the minix android player.
but this is 1 out of 4 restarts.
im also sorry to say that i dont get ant logs in eventghost when it doesnt detect kodi.
thanks
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Very much appreciated.tjabas wrote:i thought that i would write a small feedback on the latest update,
Yup, that matches my experience when doing the development, it would work perfectly and then suddenly I wouldn't get any response at all.the last uppdate really did the trick, but unfortunately it wont always autoconnect after a reboot of the minix android player.
but this is 1 out of 4 restarts.
im also sorry to say that i dont get ant logs in eventghost when it doesnt detect kodi.
I have an idea how to improve the detection but I would have to violate the SSDP spec to do it.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
I honestly dont know What that means, but just go ahead an violate 
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Officer I'm not to blame tjabas made me do it.tjabas wrote:I honestly dont know What that means, but just go ahead an violate
Try this version it should detect Kodi better, but it might try to connect to Kodi even if Kodi didn't start.
SSDP uses two types of messages searches and announcements, now I'm using the search that Kodi does when it starts to detect it as it contains the Kody name, it won't work for XBMC.
For some reason my code seems to always see the search messages but not always the announcement messages.
I'm not really happy doing it this way but until I figure out a better way it hopefully makes the detection more sensitive.
jonib
- Attachments
-
- __init__.py
- XBMC2 test ver 0.6.32 "The violation"
- (123.62 KiB) Downloaded 167 times
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
jonib wrote:Officer I'm not to blame tjabas made me do it.tjabas wrote:I honestly dont know What that means, but just go ahead an violate
Try this version it should detect Kodi better, but it might try to connect to Kodi even if Kodi didn't start.
SSDP uses two types of messages searches and announcements, now I'm using the search that Kodi does when it starts to detect it as it contains the Kody name, it won't work for XBMC.
For some reason my code seems to always see the search messages but not always the announcement messages.
I'm not really happy doing it this way but until I figure out a better way it hopefully makes the detection more sensitive.
jonib
nice, going to try it immediately.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
i just need to ask, if i go into settings in kodi, the dafult name of kodi is set to (enhetsnamn) xbmc, should i change this to kodi?
just thought if the SSDP listens to the kodi name?
just thought if the SSDP listens to the kodi name?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
No need, as that's not used for identification.tjabas wrote:i just need to ask, if i go into settings in kodi, the dafult name of kodi is set to (enhetsnamn) xbmc, should i change this to kodi?
just thought if the SSDP listens to the kodi name?
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Is there a way for me to stop this getting logged until its fixed? its taking up my whole log as it repeats every 10 seconds. The plug in seems to be a bit more reliable which is great, but this is making everything else a little more difficult.
15:27:08 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:18 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:28 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:38 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:08 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:18 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:28 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
15:27:38 XBMC2: Error: JSON-RPC responce, "result" missing {u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Method not found.', u'code': -32601}}
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Sure, the attached won't show that error unless "debug" is active.Phil wrote:Is there a way for me to stop this getting logged until its fixed?
Does it still miss when Kodi is started? I was hoping the last test ver should be close to 100%.The plug in seems to be a bit more reliable which is great
jonib
- Attachments
-
- __init__.py
- XBMC2 test ver 0.6.33 "Shut up" edition.
- (123.65 KiB) Downloaded 535 times
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Thats excellent, thanks.
I've upgraded to the newest shut up edition and will report back any issues.
thanks again for all your work on this.
To be honest, I havent watched much TV the past week so I have no basis for saying its unreliable in any way! I did have an issue but I think that's to do with a large mirror being stored next to my hue base station rather than KODI.The plug in seems to be a bit more reliable which is greatjonib wrote:
Does it still miss when Kodi is started? I was hoping the last test ver should be close to 100%.
I've upgraded to the newest shut up edition and will report back any issues.
thanks again for all your work on this.
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Hi,
How can I add
"subtitlesearch" (preferably in fullscreen only),
movie titles ( activatewindow(videos,movietitles) ),
or tv titles ( activatewindow(videos,movietitles)) ?
thanks
How can I add
"subtitlesearch" (preferably in fullscreen only),
movie titles ( activatewindow(videos,movietitles) ),
or tv titles ( activatewindow(videos,movietitles)) ?
thanks
