VLC media player

Questions and comments specific to a particular plugin should go here.
Diabl0570
Posts: 30
Joined: Sun Feb 28, 2010 6:05 pm

Re: VLC media player

Post by Diabl0570 » Mon Jan 31, 2011 3:39 pm

thanks for the update Pako!
digg it!

User avatar
zian
Site Admin
Posts: 566
Joined: Wed Jun 24, 2009 3:54 pm

Re: VLC media player

Post by zian » Sun Feb 27, 2011 12:23 pm

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?
eventghost.net
Be there or be square.

zkab
Posts: 17
Joined: Tue Apr 26, 2011 5:43 pm

Re: VLC media player

Post by zkab » Thu May 12, 2011 1:41 pm

Why do I get VLC.ConnectionLost when I try to use VLC Plugin ?

zkab
Posts: 17
Joined: Tue Apr 26, 2011 5:43 pm

Re: VLC media player

Post by zkab » Fri May 13, 2011 1:04 pm

Solved :D

rbblue8
Posts: 1
Joined: Sat Sep 15, 2012 3:17 pm

Re: VLC media player

Post by rbblue8 » Sat Sep 15, 2012 3:26 pm

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?

User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: VLC media player

Post by jinxdone » Thu Mar 14, 2013 7:48 pm

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

blaher
Experienced User
Posts: 485
Joined: Thu Nov 17, 2011 1:27 am

Re: VLC media player

Post by blaher » Tue Jul 16, 2013 3:00 am

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. :)
Attachments
1Capture.PNG
2Capture.PNG
3Capture.PNG

Sagehorn
Posts: 32
Joined: Mon Feb 01, 2010 1:56 pm

Re: VLC media player

Post by Sagehorn » Wed Nov 20, 2013 11:17 pm

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

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: VLC media player

Post by Pako » Thu Nov 21, 2013 5:46 am

Sagehorn wrote:Can anybody tell me how it's possible to jump x seconds back- and forwards?
Action Seek.
Pako

Sagehorn
Posts: 32
Joined: Mon Feb 01, 2010 1:56 pm

Re: VLC media player

Post by Sagehorn » Thu Nov 21, 2013 11:18 am

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

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: VLC media player

Post by Pako » Thu Nov 21, 2013 3:38 pm

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

Sagehorn
Posts: 32
Joined: Mon Feb 01, 2010 1:56 pm

Re: VLC media player

Post by Sagehorn » Mon Nov 25, 2013 2:57 am

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 ;)

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: VLC media player

Post by Pako » Mon Nov 25, 2013 5:34 am

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

Sagehorn
Posts: 32
Joined: Mon Feb 01, 2010 1:56 pm

Re: VLC media player

Post by Sagehorn » Mon Nov 25, 2013 9:46 pm

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?

User avatar
wakko
Posts: 33
Joined: Sat Aug 20, 2011 9:27 pm
Location: Russia, Siberia

Re: VLC media player

Post by wakko » Thu Nov 28, 2013 6:21 pm

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>

Post Reply