Thanks for the update on that plugin.. now that is a damn useful plugin that I will definitely grab.zian wrote:Thanks molitar...I'll check that out.
I also somewhat took care of the issue with the information in this link...
TextGrab Plug-in
http://www.eventghost.org/forum/viewtop ... f=2&t=1962
It was very handy.
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.
How to show OSD on secondary display?
Re: OSD to show current time / end time
Re: OSD to show current time / end time
molitar,
I think the ffdshow is a no go for me. It wasn't installed so I tried it yesterday. I use mpc mainly for mp4 and mkv files that my BeyondTV does not play. It took some tweaking a while back to make some mkv files play well in mpc (I ended up jacking up the process priority in winxp..it works much better now).
I did try ffdshow yesterday (holy cow lots of options there). I set it up to play those certain files but then it was back to lots of jitters and skipping and just plain bad playback. This very well could have been "operator error"...but. And EG would not see that ffdshow was running. So I'll just keep using all the internal filters-codecs of mpc for now. It's an older PC so the fewer things running the better.
Back to this OSD topic...
I still would LOVE to have a simple bar graph (instead of the text/times display) for the MPC file position. I remember a few weeks back you suggesting a program you use for the volume bar I think. I have yet to try that. I do know that even if it is a small 3rd party program that lets me do the things I want I would prefer to do it as "simply" as possible. No added programs always running. But I'll do what I have to do...or I wont.
my to do list...
MPC file title osd (they work w/mp4's not mkv's yet)
Simple volume bar graph display (4 WinXP & all apps but not BTV)
Jump back to start of file in MPC (now it just goes to previous file)
I think some of these could go to different topics.
I think the ffdshow is a no go for me. It wasn't installed so I tried it yesterday. I use mpc mainly for mp4 and mkv files that my BeyondTV does not play. It took some tweaking a while back to make some mkv files play well in mpc (I ended up jacking up the process priority in winxp..it works much better now).
I did try ffdshow yesterday (holy cow lots of options there). I set it up to play those certain files but then it was back to lots of jitters and skipping and just plain bad playback. This very well could have been "operator error"...but. And EG would not see that ffdshow was running. So I'll just keep using all the internal filters-codecs of mpc for now. It's an older PC so the fewer things running the better.
Back to this OSD topic...
I still would LOVE to have a simple bar graph (instead of the text/times display) for the MPC file position. I remember a few weeks back you suggesting a program you use for the volume bar I think. I have yet to try that. I do know that even if it is a small 3rd party program that lets me do the things I want I would prefer to do it as "simply" as possible. No added programs always running. But I'll do what I have to do...or I wont.
my to do list...
MPC file title osd (they work w/mp4's not mkv's yet)
Simple volume bar graph display (4 WinXP & all apps but not BTV)
Jump back to start of file in MPC (now it just goes to previous file)
I think some of these could go to different topics.
eventghost.net
Be there or be square.
Be there or be square.
Re: OSD to show current time / end time
I have modified Pako's script so it would display a progress bar. It is actually the first thing I've ever done in Python but it appears to be working fine for me.
Edit: If you are using "autorepeat current macro", make sure the script is executed before it. Otherwise, the OSD will not appear while holding down the button.
Edit: If you are using "autorepeat current macro", make sure the script is executed before it. Otherwise, the OSD will not appear while holding down the button.
Code: Select all
Find_MPC_Time=eg.WindowMatcher(u'mpc-hc.exe', u'{*}Media Player Classic{*}', u'MediaPlayerClassicW', None, u'Static', 2, True, 0.0, 0)
hwnd = Find_MPC_Time()
if len(hwnd) > 0:
howManyBars = 80
timeE,timeR = eg.WinApi.GetWindowText(hwnd[0]).split(' / ')
secArray = timeE.split(':')
secArrayTotal = timeR.split(':')
secondsTotal = int(secArrayTotal[0])*(60)+int(secArrayTotal[1])
secondsElapsed = int(secArray[0])*(60)+int(secArray[1])
percent = (secondsElapsed*howManyBars)/secondsTotal
osd = "[" + "|"*(percent) + " "*(howManyBars-percent) + "]" + "\n" + " "*30 + timeE + " / " + timeR
eg.plugins.EventGhost.ShowOSD(osd, u'0;-64;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (0, 255, 255), (0, 0, 0), 4, (0, 0), 0, 1.0, False)
Last edited by pvy on Thu Nov 05, 2009 8:27 pm, edited 1 time in total.
Using EventGhost 0.3.7.r1194 on Windows7 RC build 7100 x64
Re: OSD to show current time / end time
YAHOOO!!!pvy wrote:I have modified Pako's script so it would display a progress bar. It is actually the first thing I've ever done in Python but it appears to be working fine for me.
Edit: If you are using "autorepeat current macro", make sure the script is executed before it. Otherwise, the OSD will not appear while holding down the button.
Great job pvy. It works great.
I just changed the first line to match my exact MPC program and also the screen position of the display (bottom).
For a first script it look nice to me...but what do I know? I know it works. Thanks much and keep coding.
Ian
eventghost.net
Be there or be square.
Be there or be square.
Re: OSD to show current time / end time
How can I make the OSD show on the secondary monitor? Now that I moved to Windows 7 when I maximize I can't have the video on both monitors only one. So now when it's maximized the video shows on the secondary display.
Re: How to show OSD on secondary display?
See here to use native eventghost events for volume changes instead, hopefully will be put into base soon so you won't need to download:
viewtopic.php?f=10&t=3744&p=21314&hilit=3RVX#p21314
viewtopic.php?f=10&t=3744&p=21314&hilit=3RVX#p21314