i want to use the same button for toggling play and pause ( of course depends on the movie situation , paused or not ).
how can i do it??
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.
toggle play pause in media portal??
-
yakovyarmo
- Posts: 18
- Joined: Mon Jul 27, 2009 12:01 am
Re: toggle play pause in media portal??
any one knows??
-
yakovyarmo
- Posts: 18
- Joined: Mon Jul 27, 2009 12:01 am
Re: toggle play pause in media portal??
but if it is already playing or in pause mode??
now i do it simply by emulating the space key stroke.
isn't there any other elegant way???
now i do it simply by emulating the space key stroke.
isn't there any other elegant way???
Re: toggle play pause in media portal??
What happens if you press pause when it is paused?yakovyarmo wrote:but if it is already playing or in pause mode??
If it works by sending space, why do you what to change it?now i do it simply by emulating the space key stroke.
I have not used Media portal so I don't know if there is a more elegant way, sorry.isn't there any other elegant way???
jonib
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: toggle play pause in media portal??
yes, I think you can do this by configuring the message plugin in media portal. Keep the setup in eventghost as it is.
i.e when you press play send the play command and when you press pause send the pause command.
go to mediaportal configuration then in process plugins you can select the message plugin and then click configure.
You will see a tree. OPen the Microsoft MCE remote branch. Then open the Pause branch.
You will see that it allready has 2 actions. One is conditional if the slideshow is running.
You want one action that performs a pause on the condition that video (or music is playing) and one action that performs Play on the condition that you are paused.
Click on the words "No Condition" under "Slideshow" then click the button near the bottom labeled "New". You should now have 2 branches labeled "no Condition". On the right sidepanel you can set the conditions and actions for each.
under condition click "playing" radio button then select "media is playing" from the drop down. This one should have the "Pause" action.
hmmm they don't seem to have a specific condition "media is not playing", but maybe you can figure something out.
btw I have been using space for this toggle pause function and never had a problem, but I HAVE had problems using other keys because they are case sensitive and CAPSLOCK can screw you up.
J
i.e when you press play send the play command and when you press pause send the pause command.
go to mediaportal configuration then in process plugins you can select the message plugin and then click configure.
You will see a tree. OPen the Microsoft MCE remote branch. Then open the Pause branch.
You will see that it allready has 2 actions. One is conditional if the slideshow is running.
You want one action that performs a pause on the condition that video (or music is playing) and one action that performs Play on the condition that you are paused.
Click on the words "No Condition" under "Slideshow" then click the button near the bottom labeled "New". You should now have 2 branches labeled "no Condition". On the right sidepanel you can set the conditions and actions for each.
under condition click "playing" radio button then select "media is playing" from the drop down. This one should have the "Pause" action.
hmmm they don't seem to have a specific condition "media is not playing", but maybe you can figure something out.
btw I have been using space for this toggle pause function and never had a problem, but I HAVE had problems using other keys because they are case sensitive and CAPSLOCK can screw you up.
J

