Class: ActiveVlc::CLI::Vlc

Inherits:
Thor
  • Object
show all
Defined in:
lib/activevlc/cli/vlc.rb

Instance Method Summary collapse

Instance Method Details

#supportedObject



26
27
28
# File 'lib/activevlc/cli/vlc.rb', line 26

def supported
  puts _supported
end

#versionObject



15
16
17
18
19
20
21
22
# File 'lib/activevlc/cli/vlc.rb', line 15

def version
  v = _version
  if v
    puts "VLC version #{v[0]}.#{v[1]}.#{v[2]} (supported = #{_supported})"
  else
    puts "vlc binary NOT FOUND (probably not in $PATH)"
  end
end