Page 4 of 6

Re: VLC media player

Posted: Mon Jan 31, 2011 3:39 pm
by Diabl0570
thanks for the update Pako!
digg it!

Re: VLC media player

Posted: Sun Feb 27, 2011 12:23 pm
by zian
Is this possible?

Have an action/macro for VLC that will...
1. Create a bookmark of where you stopped watching a video.
2. Close VLC.

(different macro)
3. Next time that video is opened it opens to that saved bookmark where you left off.
???

I know many other media players have this option but not VLC... Not yet.
If "we" could do this "we" would be many VLC lovers' high priestess and/or priests.

What do you think?

Re: VLC media player

Posted: Thu May 12, 2011 1:41 pm
by zkab
Why do I get VLC.ConnectionLost when I try to use VLC Plugin ?

Re: VLC media player

Posted: Fri May 13, 2011 1:04 pm
by zkab
Solved :D

Re: VLC media player

Posted: Sat Sep 15, 2012 3:26 pm
by rbblue8
I recently had to reformat my media center PC. Using the same XML file... I'm no longer able to connect to VLC.

I'm getting VLC.ConnectionLost. Any idea what to check?

Re: VLC media player

Posted: Thu Mar 14, 2013 7:48 pm
by jinxdone
In VLC do the following:

In "Tools -> Preferences -> check "Show settings: All" -> Interface -> Main Interfaces"
---
Check box "Remote Control Interface"

In "Tools -> Preferences -> check "Show settings: All" -> Interface -> Main Interfaces -> RC"
---
Check box "Show stream position"
Check box "Do not open a DOS command box interface"
Type in the "TCP command input" the address you want to bind to.. so for example "127.0.0.1:1234"


If you look at your %appdata%/Roaming/VideoLAN/vlcrc file these are the settings the config dialog / RC changes.. the dialog suddenly make more sense when you look at the labels in this file..

Code: Select all

[oldrc] # Remote control interface

# Show stream position (boolean)
rc-show-pos=1

# Do not open a DOS command box interface (boolean)
rc-quiet=1

# TCP command input (string)
rc-host=localhost:1234

Re: VLC media player

Posted: Tue Jul 16, 2013 3:00 am
by blaher
jinxdone wrote:In VLC do the following:

In "Tools -> Preferences -> check "Show settings: All" -> Interface -> Main Interfaces"
---
Check box "Remote Control Interface"

In "Tools -> Preferences -> check "Show settings: All" -> Interface -> Main Interfaces -> RC"
---
Check box "Show stream position"
Check box "Do not open a DOS command box interface"
Type in the "TCP command input" the address you want to bind to.. so for example "127.0.0.1:1234"
Thank you for your guide, it works well now. I missed a step initially so here are some pics to help people like me. :)

Re: VLC media player

Posted: Wed Nov 20, 2013 11:17 pm
by Sagehorn
Hey there

Can anybody tell me how it's possible to jump x seconds back- and forwards? This command seems not be be avaible for the eventghost plugin and the keyboard emulation for the vlc hotkeys doesn't work, too.
Anybody has a special trick, that'll make it work? :)

Edit: Part of the Problem seems to be, that I cant create hotkeys with ctr, alt, shift etc.. whyever...

Re: VLC media player

Posted: Thu Nov 21, 2013 5:46 am
by Pako
Sagehorn wrote:Can anybody tell me how it's possible to jump x seconds back- and forwards?
Action Seek.
Pako

Re: VLC media player

Posted: Thu Nov 21, 2013 11:18 am
by Sagehorn
Up to now I use the emulated keys ',' and '.', because the combinations still don't work. I read about the seek-function. How does that work exactly? But more important is the first question..

Re: VLC media player

Posted: Thu Nov 21, 2013 3:38 pm
by Pako
I am confused by your questions.
You're in the topic, which is intended to support the VLC plugin.
But it seems, that you are actually not using this plugin. If you use it, so you do not need to emulate keystroke.
I'm sorry, but your questions are beyond my comprehension.

Pako

Re: VLC media player

Posted: Mon Nov 25, 2013 2:57 am
by Sagehorn
okay, i found the solution, why the plugin doesn't work more or less completely. i had to change the line to: --extraintf=oldrc
(whyever "old"!?)

but there is, of course ;), still a problem:
I'd like to use the fast forward buttons (>>/<<) as jump xx seconds forward and backward. but at the moment, they also speed up/down the video in the vlc player, although there is nothing configurated like that. and i'm pretty sure it hasn't to do with any (x10) windows driver, because i deactivated all of them. in eventghost, this line appears, when hitting the button:

VLC.status change: ( new rate: 2.000 )

Even if I deactivate the whole vlc player folder in EG, it still happens.. only by deactivating the plugin, it stops..
Any idea why?

I'm sorry if it's hard to understand me ;)

Re: VLC media player

Posted: Mon Nov 25, 2013 5:34 am
by Pako
Sagehorn wrote:Any idea why?
I can hardly have any ideas, when I do not know your situation.
For example, if you put your configuration file, it might help.
The speed is changed only when EventGhost is running?

However, one idea I have.
From what you write, it almost looks like that somewhere you have any other macro assigned to the same event.
You can try one thing: disable everything except VLC folder ...

Pako

Re: VLC media player

Posted: Mon Nov 25, 2013 9:46 pm
by Sagehorn
Thats the last thing i tried yesterday.
At the moment it works fine again with ',' and '.' but I really don't know why..
{Ctrl+,} still doesn't work. Is that command invalid?

Re: VLC media player

Posted: Thu Nov 28, 2013 6:21 pm
by wakko
Hi.

For vlc 1.1.11 and EG 0.4.1.r1534 on OS XP prof SP3 it's very easy.

I use following code:

Switch between "long" and "short" jump:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1534">
    <Folder Name="JumpControlForVLC" Expanded="True">
        <Macro Name="ShortJump" id="476" Enabled="False" Expanded="True">
            <Event Name="Lirc.OK" />
            <Action>
                EventGhost.ShowOSD(u'\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 \u043f\u0440\u044b\u0436\u043e\u043a', u'0;-35;0;0;0;700;0;0;0;204;3;2;1;34;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 2.0, True)
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(527))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(533))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(528))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(534))
            </Action>
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(484))
            </Action>
        </Macro>
        <Macro Name="LongJump" id="484" Expanded="True">
            <Event Name="Lirc.OK" />
            <Action>
                EventGhost.ShowOSD(u'\u0412\u043a\u043b\u044e\u0447\u0435\u043d \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u043f\u0440\u044b\u0436\u043e\u043a', u'0;-35;0;0;0;700;0;0;0;204;3;2;1;34;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 2.0, True)
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(528))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(534))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(533))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(527))
            </Action>
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(476))
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Macro for jump forward:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1534">
    <Macro Name="JumpControlMacroForward" Expanded="True">
        <Event Name="Lirc.Right" />
        <Action>
            EventGhost.ShowOSD(u'\u0412\u043f\u0435\u0440\u0451\u0434', u'0;-35;0;0;0;700;0;0;0;204;3;2;1;34;Arial', (128, 255, 128), (0, 0, 0), 4, (0, 250), 0, 0.29999999999999999, True)
        </Action>
        <Action id="533">
            VLC.SimulateKey(16)
        </Action>
        <Action id="534" Enabled="False">
            VLC.SimulateKey(20)
        </Action>
        <Action>
            EventGhost.AutoRepeat(0.20000000000000001, 0.20000000000000001, 0.050000000000000003, 1.0)
        </Action>
    </Macro>
</EventGhost>
Macro for jump backward:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1534">
    <Macro Name="JumpControlMacroBackward" Expanded="True">
        <Event Name="Lirc.Left" />
        <Action>
            EventGhost.ShowOSD(u'\u041d\u0430\u0437\u0430\u0434', u'0;-35;0;0;0;700;0;0;0;204;3;2;1;34;Arial', (255, 255, 128), (0, 0, 0), 4, (0, 250), 0, 0.29999999999999999, True)
        </Action>
        <Action id="527">
            VLC.SimulateKey(15)
        </Action>
        <Action id="528" Enabled="False">
            VLC.SimulateKey(19)
        </Action>
        <Action>
            EventGhost.AutoRepeat(0.20000000000000001, 0.20000000000000001, 0.050000000000000003, 1.0)
        </Action>
    </Macro>
</EventGhost>