0.0
Low commit activity in last 3 years
No release in over a year
Sends remote commands to VLC via HTTP.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.5, >= 1.5.11
 Project Readme

Introducing the remote_vlc2019 gem

Usage

require 'remote_vlc2019'

vlc = RemoteVlc2019.new host: '192.168.4.193', port: '8080', password: 'password'
vlc.stop
vlc.volume
sleep 2
vlc.play
sleep 1
vlc.vol_down
sleep 3
vlc.vol_up

The above example connects to a VLC host running at 192.168.4.193 on port 8080 using password password.

Note:

To enable the HTTP host in VLC go to Tools > Preferences > Show Settings all > Main interfaces > Lua and then set a password. Then restart VLC and visit the VLC player in your browser to ensure it is accessible using HTTP basic authentication with the username left blank and the password set to whatever you chose.

Resources

vlc vlcplayer audio audioplay gem remote remotevlc2019