Sha256: dada2b5d01fa6535d47e1f5880293f9a7f56217f47b098399c3dfe62c17c8f7f
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
require 'bundler/setup' require 'vedeu' require 'playa/track' require 'playa/track_collection' require 'playa/player' require 'playa/controller' module Playa class Application include Vedeu interface 'help' do centred true colour foreground: '#ffffff', background: '#000000' cursor false group 'help' height 9 width 60 end interface 'playlist' do colour foreground: '#afd700', background: '#000000' cursor false width 60 height 5 centred true group 'player' end interface 'progress' do colour foreground: '#005aff', background: '#000000' cursor false width 60 height 1 y use('playlist').north(2) x use('playlist').left centred false delay 1.0 group 'player' end interface 'status' do colour foreground: '#d70000', background: '#000000' cursor false width 60 height 1 y use('playlist').south(1) x use('playlist').left centred false group 'player' end def self.start(args = []) Controller.new(args) Vedeu::Launcher.new(args).execute! rescue Errno::EMFILE puts "Playa does not support this number of files." puts "Please see https://github.com/gavinlaking/playa/issues/11" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playa-0.0.12 | lib/playa.rb |