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.
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>