Page 52 of 94

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat May 25, 2013 2:18 pm
by eman457
jonib wrote:
eman457 wrote: No man, it keeps scrolling down endlessly without connecting to XBMC again as you can see in the log.
The log show it has connected to XBMC. Are you trying to connect to a different XBMC and that don't work? Sorry, I just don't see/understand the problem.

jonib
Yes exactly, that's what I mean. When doesn't "process the events" then I switch over to another XBMC in the XBMC2 plugin config.
That's where you see the yellow event showing "On start". Then what follows is what you underneath it. Continuous logs scrolling!

eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat May 25, 2013 3:02 pm
by jonib
eman457 wrote: Yes exactly, that's what I mean. When doesn't "process the events" then I switch over to another XBMC in the XBMC2 plugin config.
That's where you see the yellow event showing "On start". Then what follows is what you underneath it. Continuous logs scrolling!
OK, try this debug2 version. Hopefully it can show what you are seeing.

Edit: Updated to debug3, hopefully fixed the problem when you change XBMCs to control. So now hopefully we can get back to the original problem. :shock:
Edit2: removed debug3 attachment.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat May 25, 2013 7:30 pm
by eman457
Hi jonib,

The new debug file continues to scroll even when not connected to XBMC.
It does connect/disconnect though, with the same errors as before but continues to fire up events but the scrolling doesn't give me enough time and log space to show you what's happening.
Continuous scrolling even when not connected
Continuous scrolling even when not connected
This happened when I started the local XBMC.
debug3 (a).png

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat May 25, 2013 7:45 pm
by jonib
eman457 wrote: The new debug file continues to scroll even when not connected to XBMC.
It does connect/disconnect though, with the same errors as before but continues to fire up events but the scrolling doesn't give me enough time and log space to show you what's happening.
You can increase the timeout so it don't scroll as much, change the 3 to for example 10 (seconds) on line 1491 and 1534. Some stuff like disabling the events will take longer after that.
This happened when I started the local XBMC.
I have not seen any problems when getting that error, but I'm trying to fix them, have several already. They are weird as they don't happen always just sometimes.

Looks like you want to find all the bugs, a real bug hunter. :D :lol:

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sat May 25, 2013 8:19 pm
by eman457
Hi jonib,

This test is the same before and after I change the time.
remote XBMC
remote XBMC
remote XBMC
remote XBMC
eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun May 26, 2013 5:15 am
by jonib
eman457 wrote:This test is the same before and after I change the time.
Hmm, the volume event seem to be multiple events in one, have not seen that before looks like I need to add support for that. The volume events seem to be the same did you change the volume multiple times or did it repeat by itself?

I should have fixed the OnQuit handling right away, but I was focused on the locking, I'll fix it right away.

Edit: Try this debug4. should fix both of these problems.(hopefully)

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Sun May 26, 2013 2:21 pm
by eman457
Yes jonib,
I will test it and let you know. Away from the machines at the moment.

eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 4:08 pm
by eman457
Hi jonib,

This one (debug4) seems sweeeeeeet :D
If can stop the ones with "wait for events": "timed out" at the green arrow. See image below for results.
XBMC2 plugin connected remotely
XBMC2 plugin connected remotely
Nice work man!

Regards.

eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 4:18 pm
by jonib
eman457 wrote: This one (debug4) seems sweeeeeeet :D
Nice, but I don't think your original problem is fixed?
If can stop the ones with "wait for events": "timed out" at the green arrow. See image below for results.
Easy, just change "debug = True" to "debug = False" on line 1465.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 4:45 pm
by eman457
Hi jonib,

There is a little bit of a niggle though. It doesn't auto reconnect after reboot.
See image below: :shock:
lost connection after reboot
lost connection after reboot

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 5:09 pm
by jonib
eman457 wrote: There is a little bit of a niggle though. It doesn't auto reconnect after reboot.
And I need the "debug = True" to hopefully see what's happening. :shock:

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 5:54 pm
by eman457
Ok,
This is what happens. Looks normal with no errors but I believe the plugin is locked, so to clear you have to restart the plugin or Eventghost.
Stopped responding after a reboot but with no red errors
Stopped responding after a reboot but with no red errors

eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 6:28 pm
by jonib
eman457 wrote:This is what happens. Looks normal with no errors but I believe the plugin is locked, so to clear you have to restart the plugin or Eventghost.
Based on your log I don't think the plugin has locked up, it just can't detect that XBMC has started again. Try debug5, it should give more info in the log when XBMC starts.

jonib

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Mon May 27, 2013 9:22 pm
by eman457
Hi jonib,
(debug5_file)
The plugin starts up and runs perfect on the local XBMC. See below images for info.
Local XBMC
Local XBMC
I also noticed a little something when I do an auto search for XBMCs. The plugin doesn't detect the remote XBMC's port no.
Don't know if it's anything to do with it. See below:
Search: No port number on remote XBMC!
Search: No port number on remote XBMC!
Hence???
Remote XBMC
Remote XBMC

eman457.

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Posted: Tue May 28, 2013 7:14 am
by jonib
eman457 wrote: I also noticed a little something when do an auto search for XBMCs. The plugin doesn't detect the remote XBMC's port no.
Don't know if it's anything to do with it. See below:
I think we're getting close now, the missing port is probably the problem, as both use the SSDP protocol to detect XBMC, there seems to be something different.

The new debug6 will create a ssdp.log in %appdata%\eventghost\plugins\xbmc2. Please do the "Search" and the other tests you have done. Then attach(or PM me the file) as it should contain the information I need to finally fix the problem. I don't think there is any private/personal information in the ssdp.log file but you can open it and look before sending.

jonib