Class: Cejo::Media::Players

Inherits:
Object
  • Object
show all
Defined in:
lib/cejo/media/play/players.rb

Overview

Availables media system players w/ settings

Defined Under Namespace

Classes: PLAYER_INFO

Instance Method Summary collapse

Instance Method Details

#mpvObject



14
15
16
17
18
19
20
# File 'lib/cejo/media/play/players.rb', line 14

def mpv
  name = 'mpv'
  config = '--no-config --no-audio-display'
  format = '--ytdl-format="bestvideo[height<=?1080]+bestaudio/best"'

  PLAYER_INFO.new(name, config, format)
end

#vlcObject



22
23
24
25
26
# File 'lib/cejo/media/play/players.rb', line 22

def vlc
  name = 'vlc'

  PLAYER_INFO.new(name, nil, nil)
end