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.

OSD Problems

If you have a question or need help, this is the place to be.
Post Reply
brotbuexe
Posts: 19
Joined: Wed Feb 21, 2007 8:40 pm

OSD Problems

Post by brotbuexe »

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1076">
<Macro Name="Play/Pause" Expanded="True">
<Event Name="X10.Play" />
<Action>
MySpotify.PlayPause()
</Action>
<Action>
EventGhost.ShowOSD(u'{eg.result}', u'0;-64;0;0;0;400;0;0;0;0;3;2;1;34;Candara', (255, 255, 255), (0, 0, 0), 3, (0, 0), 0, 5.0, True)
</Action>
</Macro>
</EventGhost>

This only shows "None" in the OSD. But in Eventghost I get:

Play/Pause
Spotify: Play/Pause
Spotify running! Now playing Chopin - Polonaise In A Flat, Op. 53, "Herioc"
Zeige OSD: {eg.result}

Should it not show the last "Infoline"?
How can I get it?
Where is the list of the variables?

Workaround for now is to add:
<Action>
MySpotify.GetCurrentTrack()
</Action>
<Action>
EventGhost.ShowOSD(u'{eg.result}', u'0;-64;0;0;0;400;0;0;0;0;3;2;1;34;Candara', (255, 255, 255), (0, 0, 0), 3, (0, 0), 0, 5.0, True)
</Action>
Post Reply