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.

OSDx Plugin - Display multiple OSDs simultaneously

Questions and comments specific to a particular plugin should go here.
Post Reply
null
Posts: 4
Joined: Mon Jul 22, 2013 4:17 pm

OSDx Plugin - Display multiple OSDs simultaneously

Post by null »

Hi guys,

This plugin is a simple modification of the built-in OSD plugin. It works pretty much like the original, except you can now display multiple OSDs simultaneously. To avoid overlapping texts though, when an OSD with the same monitor & alignment pair is already being shown, the new one will just overwrite the old.

I don't use Python very often... Please feel free to correct/modify/improve what I did.
OSDx-001.zip
(6.38 KiB) Downloaded 262 times
osdx1.JPG
Example:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1610">
    <Macro Name="Test" Expanded="True">
        <Action>
            OSDx.ShowOSDx(u'Volume: 80%', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (128, 255, 128), (0, 0, 0), 1, (0, 0), 1, 10.0, False)
        </Action>
        <Action>
            OSDx.ShowOSDx(u'-12:00 (70%)', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (128, 255, 128), (0, 0, 0), 3, (0, 0), 1, 10.0, False)
        </Action>
        <Action>
            OSDx.ShowOSDx(u'The Something (2002).avi', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (111, 183, 255), (0, 0, 0), 2, (0, 0), 1, 10.0, False)
        </Action>
        <Action>
            OSDx.ShowOSDx(u'Paused', u'0;-32;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 102, 102), (0, 0, 0), 4, (0, 0), 1, 10.0, False)
        </Action>
    </Macro>
</EventGhost>
osdxsample.jpg
Snowbird
Experienced User
Posts: 364
Joined: Fri Jul 03, 2009 10:04 am

Re: OSDx Plugin - Display multiple OSDs simultaneously

Post by Snowbird »

Hi,
Thanks for this plugin :) I've just tried it (almost 3 years later after its availability :p ), It works well but I have an issue with MPC, I can't get the OSD to display when I open MPC in fullscreen mode, It works well only when it's "Windowed". I can see in your screenshot that you are in fullscreen mode and that you're able to display some texts with the OSD, how did you do that ? Does it still work for you ?

I'm using the latest version of EG (0.4.1 r1722) and MPC-HC (1.7.10).

Thank you ! :)
Post Reply