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.
VLC media player
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
Added several actions of type "Get Info". The results are not returned as an event, but as eg.result.
Get time - returns elapsed and remaining times.
Get length - returns the length of the current stream.
Get some info - returns information whose type is chosen by user.
Updated plugin can be downloaded from the SVN repository.
Pako
Get time - returns elapsed and remaining times.
Get length - returns the length of the current stream.
Get some info - returns information whose type is chosen by user.
Updated plugin can be downloaded from the SVN repository.
Pako
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
It's looks that nobody is interested, but I have again made another improvement of VLC plugin.
What actions were added this time:
1) Action, allowing cyclic switch of audio tracks. As "eg.result" returns the name of the currently selected track.
2) Action, allowing cyclic switch of subtitles. As "eg.result" returns the name of the currently selected subtitles.
3) Action named "Simulate hotkey press". As the name suggests, through this action you can simulate the pressing any hotkey.
So you can now use a total of 101 commands! It is therefore clear that the majority is completely new.
4) Action named "Get list of hotkeys". If bellow this action adding the action "OSM / Show menu, created from expression"
you get on screen menu with all 101 commands. For instance:5) The group of actions to control the DVD menu
Pako
What actions were added this time:
1) Action, allowing cyclic switch of audio tracks. As "eg.result" returns the name of the currently selected track.
2) Action, allowing cyclic switch of subtitles. As "eg.result" returns the name of the currently selected subtitles.
3) Action named "Simulate hotkey press". As the name suggests, through this action you can simulate the pressing any hotkey.
So you can now use a total of 101 commands! It is therefore clear that the majority is completely new.
4) Action named "Get list of hotkeys". If bellow this action adding the action "OSM / Show menu, created from expression"
you get on screen menu with all 101 commands. For instance:5) The group of actions to control the DVD menu
Pako
-
AndiChrist
- Posts: 2
- Joined: Sat Jan 09, 2010 1:22 pm
Re: VLC media player
Thx for this useful improvements, especially the skipping features! The 'Fast Rewind' works properly, skipping back some seconds. But 'Fast Forward' seems to have the same behavier like 'Play Faster'.
AndiChrist
AndiChrist
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
Thank you for responding. At least I know that my work was not entirely in vain.
Regarding actions "Fast Forward" and "Play Faster", I have nothing to add.
I do not use these actions and I'm not the author of the original version of the plugin, in which these actions have been included.
Pako
Regarding actions "Fast Forward" and "Play Faster", I have nothing to add.
I do not use these actions and I'm not the author of the original version of the plugin, in which these actions have been included.
Pako
Re: VLC media player
When I upgraded to VLC 1.10 I had to set things to work with Eventghost again and I noticed it won't save the telnet port number preference. I was able to get around it by modifying Eventghost to use VLC's (apparently immutable) default, 4212, but was curious if anyone else was encountering this. Tried Googling it, since it's a VLC issue, not an Eventghost one, but came up empty. FYI, I'm running Windows XP and was trying to set it to 1234, which is what it was set up for before the upgrade.
Re: VLC media player
Great plugin!, but i cant get the file name of the current playing video.
i use the "VLC media player: Current Playlist Status" action
if i run this action i get this back in my log:
my question: how can i get the filenmame into a variable?
gives me a bool "true"
this gives errors:
i use the "VLC media player: Current Playlist Status" action
if i run this action i get this back in my log:
Code: Select all
VLC.status change: ( new input: file:///W:/TV/History%20Of%20Sportscar%20Racing%202005%20DVDRip%20XviD%20FiCO/fico-hosr.avi )
VLC.status change: ( audio volume: 192 )
VLC.status change: ( play state: 3 )
VLC.status: returned 0 (no error)Code: Select all
eg.globals.filename = eg.resultgives me a bool "true"
Code: Select all
eg.globals.info0 = eg.result.split(":")
eg.globals.info1 = eg.globals.info[0]
eg.globals.info2 = eg.globals.info[1]Code: Select all
Traceback (most recent call last):
Python script "3", line 1, in <module>
eg.globals.info0 = eg.result.split(":")
AttributeError: 'bool' object has no attribute 'split'- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
Please follow these steps:
1) Download the latest version of the plugin from the SVN repository
2) Using notepad or another plain text editor to open the file __init__.py
in directory EventGhost\plugins\VLC and adjust the line number 38 as follows:3) Start EventGhost and to obtain needed information, use the action Get some info (in the configuration dialog box, select the type of information).
Pako
1) Download the latest version of the plugin from the SVN repository
2) Using notepad or another plain text editor to open the file __init__.py
in directory EventGhost\plugins\VLC and adjust the line number 38 as follows:
Code: Select all
version = "0.4." + "$LastChangedRevision: 1472 $".split()[1],Pako
Re: VLC media player
I was actually looking forward to trying this tomorrow, nice to see that the vlc plugin is still developed!
HTPC:Silverstone LC16M | E7200 | Gigabyte GA-EG45M-DS2H | Corsair 2GB 6400CL4 | Hauppauge HVR930C |
Server: Antec P180m | X6800 | XFX GF7100 | Corsair 4GB 6400CL5 | 3TB |
Stuff: LG 50PS3000 | Sanyo Z3 | Marantz SR7200 | B&W 683, B&W HTM61 | PS3 |
Server: Antec P180m | X6800 | XFX GF7100 | Corsair 4GB 6400CL5 | 3TB |
Stuff: LG 50PS3000 | Sanyo Z3 | Marantz SR7200 | B&W 683, B&W HTM61 | PS3 |
Re: VLC media player
Hi all,
First following forum rules:
EventGhost 0.3.7.r1462
Windows 7 Ultimate x64
VLC media player 1.1.4
I have recently installed eventghost to control VLC media player through the MCE controller. I had some problems capturing events, but solved them looking at some posts in this forum.
Now that I can capture events, I relate them with vlc players macros.
When I started testing them, I get this error in the log an nothing happens.
I tried to find in the VLC media player, where is the port it's using to see if setting the same port will work. I set the same, and still causing problems. Any ideas?
1:58:41 PM MceRemote.BE9
1:58:41 PM Play
1:58:41 PM VLC.Connected
1:58:41 PM error: uncaptured python exception, closing channel <eg.PluginModule.VLC.VlcSession connected at 0x5fa0468> (<type 'exceptions.UnicodeDecodeError'>:'utf8' codec can't decode byte 0xff in position 45: unexpected code byte [asyncore.pyc|read|76] [asyncore.pyc|handle_read_event|416] [asynchat.pyc|handle_read|158] [C:\Program Files (x86)\EventGhost\plugins\VLC\__init__.py|found_terminator|155] [C:\Program Files (x86)\EventGhost\plugins\VLC\__init__.py|ValueUpdate|580] [encodings\utf_8.pyc|decode|16])
1:58:41 PM VLC.ConnectionLost
First following forum rules:
EventGhost 0.3.7.r1462
Windows 7 Ultimate x64
VLC media player 1.1.4
I have recently installed eventghost to control VLC media player through the MCE controller. I had some problems capturing events, but solved them looking at some posts in this forum.
Now that I can capture events, I relate them with vlc players macros.
When I started testing them, I get this error in the log an nothing happens.
I tried to find in the VLC media player, where is the port it's using to see if setting the same port will work. I set the same, and still causing problems. Any ideas?
1:58:41 PM MceRemote.BE9
1:58:41 PM Play
1:58:41 PM VLC.Connected
1:58:41 PM error: uncaptured python exception, closing channel <eg.PluginModule.VLC.VlcSession connected at 0x5fa0468> (<type 'exceptions.UnicodeDecodeError'>:'utf8' codec can't decode byte 0xff in position 45: unexpected code byte [asyncore.pyc|read|76] [asyncore.pyc|handle_read_event|416] [asynchat.pyc|handle_read|158] [C:\Program Files (x86)\EventGhost\plugins\VLC\__init__.py|found_terminator|155] [C:\Program Files (x86)\EventGhost\plugins\VLC\__init__.py|ValueUpdate|580] [encodings\utf_8.pyc|decode|16])
1:58:41 PM VLC.ConnectionLost
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
I've made improvements to VLC plugin in order to use it for VLC version 1.1.0 and higher.
Pako
Pako
- Attachments
-
- __init__.py
- (28.5 KiB) Downloaded 764 times
-
giantpopples
- Posts: 13
- Joined: Fri Mar 26, 2010 7:34 pm
Re: VLC media player
Hi !
I'm having issues with the original VLC plugin and VLC 1.1.4 so i downloaded your upgrade, paste it in the original VLC plugin folder but it doesn't seem to work.
I'm using Windows 7 x64, and eventghost doesn't see your plugin, it's not in the list of available ones.
I also tried to put your __init__.py in another folder (VLC Pako) but still the plugin does not show in the list of plugins..
What should i do or what should i modified in __init__.py ??
Thank you very much !
PS: i also wanted to thank you for all the development you do in eventghost, it would be great if you can help with the new fork since eventghost won't be maintained anymore, or create your own fork
I'm having issues with the original VLC plugin and VLC 1.1.4 so i downloaded your upgrade, paste it in the original VLC plugin folder but it doesn't seem to work.
I'm using Windows 7 x64, and eventghost doesn't see your plugin, it's not in the list of available ones.
I also tried to put your __init__.py in another folder (VLC Pako) but still the plugin does not show in the list of plugins..
What should i do or what should i modified in __init__.py ??
Thank you very much !
PS: i also wanted to thank you for all the development you do in eventghost, it would be great if you can help with the new fork since eventghost won't be maintained anymore, or create your own fork
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: VLC media player
Unfortunately, I have no idea why you can not see the plugin.
I do not think this is due to the fact that your Windows are x64.
But I do not have the opportunity to try it.
Plugin should be in the folder ...\EventGhost\plugins\VLC.
Pako
I do not think this is due to the fact that your Windows are x64.
But I do not have the opportunity to try it.
Plugin should be in the folder ...\EventGhost\plugins\VLC.
Pako
-
giantpopples
- Posts: 13
- Joined: Fri Mar 26, 2010 7:34 pm
Re: VLC media player
Nevermind, it works fine now.. Probably an issue with the name of the files i had, a space was in there i guess, sorry to had bothered you 
-
AndreasMergner
- Posts: 1
- Joined: Fri Nov 19, 2010 6:16 pm
Re: VLC media player
Thanks so much Pako! Your latest update fixed all of my problems!
