Ok I started to get eventghost to see something when I send the commandline but its not triggering the macro it shows Task.Activated.EventGhost and I should be seein Main.play2fast2 correct?jonib wrote:I just tried and I get an "Main.play2fast2" event, so don't know why you wouldn't get that, sorry.kenrad wrote:I tried this and its not triggering the macro, I have the log box unchecked so it should be showing all events if I am correct?
I ran this from the commandline:Edit: You are running EventGhost with the same user/permissions? When you want to create the event and when you have started EvenGhost normally.Code: Select all
EventGhost.exe -e play2fast2
jonib
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)
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Yes you should be seeing "Main.play2fast2" in the log."Task.Activated.EventGhost" is an unrelated event from "Task Create/Switch events" plugin and is shown when the EventGhost window gets in focus.kenrad wrote:Ok I started to get eventghost to see something when I send the commandline but its not triggering the macro it shows Task.Activated.EventGhost and I should be seein Main.play2fast2 correct?
Edit: Maybe you should post this in the General support forum, as this is not XBMC specific and others can help that are not interested in the XBMC2 plugin.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Hi Jonib,jonib wrote:@blaher
Could you test the attached test version, it should at least detect when you start XBMC. Report any other problems you still have (or don't have) please.
jonib
Any reason why you haven't released this as the next version yet? It's performing great for me and it has event listening which the old version doesn't support.
Author of the book Mastering Python. Got Python questions? Perhaps I can help 
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
I guess its the perfectionist in me, that prevents me from making the test version a proper release until I feel it's "finished". Unfortunately I haven't gotten anything done for a while and now a new XBMC is about to be released again.WoLpH wrote:Any reason why you haven't released this as the next version yet? It's performing great for me and it has event listening which the old version doesn't support.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Haha, I know that problem.jonib wrote:I guess its the perfectionist in me, that prevents me from making the test version a proper release until I feel it's "finished". Unfortunately I haven't gotten anything done for a while and now a new XBMC is about to be released again.WoLpH wrote:Any reason why you haven't released this as the next version yet? It's performing great for me and it has event listening which the old version doesn't support.
jonib
It would help a lot if there would be an up to date "at your own risk" version linked in the start post though. It took me quite some time to find the latest release.
Perhaps Github would be an option?
Author of the book Mastering Python. Got Python questions? Perhaps I can help 
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Oops, there was a link for the test version but I had forgotten to update to the latest one. Now it should point to the latest test version. Thanks for bringing it to my attention.WoLpH wrote:It would help a lot if there would be an up to date "at your own risk" version linked in the start post though. It took me quite some time to find the latest release.
I don't think it would change anything, I usually post a new test version whenever I make a usable change in the plugin anyway.Perhaps Github would be an option?
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
True, but it would allow others to help with development.jonib wrote:I don't think it would change anything, I usually post a new test version whenever I make a usable change in the plugin anyway.WoLpH wrote:Perhaps Github would be an option?
For example, at line 1169 to 1186 there are some tabs mixed with spaces. That's technically not allowed in Python. In this case it's not problematic luckily but not having to do all development alone can be nice
Author of the book Mastering Python. Got Python questions? Perhaps I can help 
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Well the source is available, just post any improvements here and I can include it in the "official" plugin. And if there is more the the occasional code contribution I might consider using Github or something.WoLpH wrote:True, but it would allow others to help with development.
That's a remnant of when I started to learn Python and wasn't used to indentation dependent languages. I have been meaning to fix it but as nobody complained before it was low priority.For example, at line 1169 to 1186 there are some tabs mixed with spaces. That's technically not allowed in Python.
Sure, but there have been no offers to help.In this case it's not problematic luckily but not having to do all development alone can be nice
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
That's a bit of a chicken/egg problem I think. I've noticed that people (myself included) are much more eager to fix issues if they can fork it easily.jonib wrote:Well the source is available, just post any improvements here and I can include it in the "official" plugin. And if there is more the the occasional code contribution I might consider using Github or something.WoLpH wrote:True, but it would allow others to help with development.
Beyond that there are a few other nice advantages like automatic docs through readthedocs.org, automatic testing with travis, automatic code coverage statistics with coveralls. For me personally it really improved my workflow quite a bit
Well, I'd be happy to help but I do like to have pep8 and pyflakes requirements on all of my code to keep everything nice and readableSure, but there have been no offers to help.In this case it's not problematic luckily but not having to do all development alone can be nice
Author of the book Mastering Python. Got Python questions? Perhaps I can help 
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
jonib,
As a long time, and very appreciative, user of your code - it would be great to see what WoLpH has in mind for new features. What can it hurt by posting to Git, or allowing WoLpH to?
As a long time, and very appreciative, user of your code - it would be great to see what WoLpH has in mind for new features. What can it hurt by posting to Git, or allowing WoLpH to?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
How do I send a playlist (music) to XBMC using JSON?
Tried the "player" and "open" command but it didn┬┤t work.
Any suggestions?
Tried the "player" and "open" command but it didn┬┤t work.
Any suggestions?
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Both should be able to open a playlist if using correct syntax. This post has an example.gechu wrote:How do I send a playlist (music) to XBMC using JSON?
Tried the "player" and "open" command but it didn┬┤t work.
Check this thread in the XBMC forum if it's related to your problem.Any suggestions?
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Splendid Jonib!
The file type association was set to "picture". Removed it using advancedsettings.xml and it worked.
So, add namespace "player", and method "open". Syntax for qualifying the file looks like this:
The file type association was set to "picture". Removed it using advancedsettings.xml and it worked.
So, add namespace "player", and method "open". Syntax for qualifying the file looks like this:
Code: Select all
[{"file":"c:\\Users\\user\\Desktop\\myPlayList.m3u"}]Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Great. Hopefully there will be a fix in XBMC in the future for the "Defaults to picture mode" for some playlist types, as its kinda inconvenient.gechu wrote:The file type association was set to "picture". Removed it using advancedsettings.xml and it worked.
jonib
Re: Support for XBMC2 plugin (formerly XBMCRepeat)
Hi there
Firstly I want to thank Jonib for his fantastic work on this plugin. I've been using XBMC2 for that last year and it has really made things much easier for me.
I have a rather unique problem, and I have searched this thread but haven't really found much help on this issue.
I am running two instances of XBMC on my local machine. One XBMC instance runs on my pc via dvi, and another runs on our tv via hdmi. My goal is two be able to use each XBMC separately on both screens at the same time.
I have setup two XBMC2 profiles in Eventghost, and each XBMC installation is running on a separate port.
Both XBMC instances will happily run at the same time on each respective screen, but I am having trouble controlling them. If I open up each instance of XBMC, both the remotes will only work on the first run instance of XBMC.
For example if I open XBMC on my pc and afterwards open XBMC on the tv, both the remotes will only work on the pc XBMC. If I close the pc XBMC, then both remotes start working on the tv XBMC.
Is there a way to specify which XBMC2 profile controls which instance of XBMC? I thought having each XBMC running on different port would do this, so is there a way to get around this issue?
Thanks
Firstly I want to thank Jonib for his fantastic work on this plugin. I've been using XBMC2 for that last year and it has really made things much easier for me.
I have a rather unique problem, and I have searched this thread but haven't really found much help on this issue.
I am running two instances of XBMC on my local machine. One XBMC instance runs on my pc via dvi, and another runs on our tv via hdmi. My goal is two be able to use each XBMC separately on both screens at the same time.
I have setup two XBMC2 profiles in Eventghost, and each XBMC installation is running on a separate port.
Both XBMC instances will happily run at the same time on each respective screen, but I am having trouble controlling them. If I open up each instance of XBMC, both the remotes will only work on the first run instance of XBMC.
For example if I open XBMC on my pc and afterwards open XBMC on the tv, both the remotes will only work on the pc XBMC. If I close the pc XBMC, then both remotes start working on the tv XBMC.
Is there a way to specify which XBMC2 profile controls which instance of XBMC? I thought having each XBMC running on different port would do this, so is there a way to get around this issue?
Thanks
