Search found 1271 matches

by jonib
Mon Aug 14, 2017 3:16 pm
Forum: Plugin Support
Topic: Support for XBMC2 plugin (formerly XBMCRepeat)
Replies: 1376
Views: 507604

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Hello. Can someone help me with a python script. I want to send clear signals for play pause (not toggle). If an Event comes for Pause a script should be executed. And if an Event comes for Play another script should be executed. Can someone help me with the right format for the script, please. And...
by jonib
Wed Aug 09, 2017 5:40 am
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

kgschlosser wrote:I would like you to try setting the display resolution and what have you.
This test

Code: Select all

display = Display.GetDisplay(1)
print display

display.SetDisplayMode(width=1920, height=1080)
Gives me this error:

Code: Select all

Display Change Error: Bad Flags
jonib
by jonib
Wed Aug 09, 2017 1:52 am
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

Added Vendor id -> name lookup I don't really like having a partial list in the code, I think it would be better to have it in a separate file, that way it's easy to update, and could be compressed as the full list is kinda big. I believe the ids are not display specific so other modules could have...
by jonib
Tue Aug 08, 2017 7:21 pm
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

This is because of some fancy voodoo magic i am going to my displays. LOL its how you make 3 displays that have different max resolutions actually look right in a multi monitor setup OK But here is a test version if you want to have a poke at it. It will either run from an interpreter (tho the touc...
by jonib
Tue Aug 08, 2017 5:15 am
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

The EDID vendor name codes are listed here if needed.

Code: Select all

HWP = Hewlett Packard 	
SAM = Samsung Electric Company
jonib
by jonib
Tue Aug 08, 2017 5:05 am
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

kgschlosser wrote:Would you mind if I used some bits of it an added it to the DesktopDisplay.
Sure
check out my monitor information... look at the EDID resolutions and then look at the resolutions in GetMonitorInfo.
Weird, mine seems to match.

jonib
by jonib
Tue Aug 08, 2017 1:36 am
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

i tested your code and it tracebacks. this is because not every driver registers it's self in Win32_DesktopMonitor I have a monitor and the drivers re installed for the monitor but it only shows up in Win32_PNPEntity. I have tried this approach as well. and for the life of me i cannot remember what...
by jonib
Sun Aug 06, 2017 9:59 pm
Forum: Plugin Support
Topic: Support for XBMC2 plugin (formerly XBMCRepeat)
Replies: 1376
Views: 507604

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

How do I translate this: xbmc.VideoLibrary.RemoveMovie(movieid=1234) into XBMC2 form. I know the first part is eg.plugins.XBMC2.JSONRPC(u'VideoLibrary.RemoveMovie', ????), but how do I encode the "movieid=1234" part? eg.plugins.XBMC2.JSONRPC(u'VideoLibrary.RemoveMovie', [1234] ) or eg.plugins.XBMC2...
by jonib
Sun Aug 06, 2017 4:56 pm
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

So I did a quick test: This is the result for my Samsung HDTV, there is no specific driver that I have found so it uses Windows default driver. Name: Generic PnP Monitor, Number: 2, Width: 1920, Height: 1080, X: 2560, Y: 0, Primary: False If there are more then one unidentified monitor on a system t...
by jonib
Sun Aug 06, 2017 3:47 pm
Forum: Coding Corner
Topic: Blackout Display
Replies: 20
Views: 3778

Re: Blackout Display

I created a little addition for EG it is not a plugin and you will have to download the attached file into you eg\Classes folder in your EG installation. Cool. Haven't had a chance to look at the code yet. eg.DesktopDisplay.GetDisplay() - you can either pass this the monitor number or monitor name ...
by jonib
Thu Jul 13, 2017 11:46 am
Forum: General Support
Topic: One button run multiple macros -cycle thru
Replies: 2
Views: 822

Re: One button run multiple macros -cycle thru

So if you describe more specifically what you are trying to do, you could get better solutions. But I had one idea and that is to use the "-event" command-line option, that way your AHK script can generate an event directly in EventGhost. With a concrete example of what you are trying to accomplice ...
by jonib
Wed Jul 12, 2017 9:47 am
Forum: Plugin Support
Topic: Support for XBMC2 plugin (formerly XBMCRepeat)
Replies: 1376
Views: 507604

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

blaher wrote:Thank you. All these things:
are working for me with Kodi 16.1 Jarvis.
Thank you for the feedback. If no problems are reported I'll do a pull request to get it included in EventGhost.

jonib
by jonib
Tue Jul 11, 2017 8:14 pm
Forum: Plugin Support
Topic: Support for XBMC2 plugin (formerly XBMCRepeat)
Replies: 1376
Views: 507604

Re: Support for XBMC2 plugin (formerly XBMCRepeat)

Plugin updated to 0.6.35, get it on Github , only the __init__.py file needs to be replaced. Whats new: actions.dat error is not shown if the (optional) actions.dat file is missing. The "Update actions" button should now work again to get missing actions (actions included upto Kodi 16, later actions...
by jonib
Mon Jun 26, 2017 5:20 pm
Forum: Plugin Support
Topic: AudioEndpoint
Replies: 85
Views: 28120

Re: AudioEndpoint

Snowbird wrote:Thanks, it worked !! :D
Great.

I'll see if it can be fixed automatically in my AudioEndpointControl Library when I work on it next time. GitHub issue.

jonib
by jonib
Mon Jun 26, 2017 12:07 pm
Forum: Plugin Support
Topic: AudioEndpoint
Replies: 85
Views: 28120

Re: AudioEndpoint

I don't understand what went wrong it used to work perfectly, following a system crash (I think) it's not working anymore. I reinstalled EG RC2, even reinstalled the AudioEndpoint plugin (latest version, and also older) just to be on the safe side, but I still can not import this plugin... Any thou...