Method: XBMC#initialize
- Defined in:
- lib/xbmc.rb
#initialize(host, port = 80, playlist = 0) ⇒ XBMC
Creates a new instance using the hostname or IP address, port, and
13 14 15 16 17 18 19 20 |
# File 'lib/xbmc.rb', line 13 def initialize(host,port = 80, playlist = 0) @host = host @port = port @paused = false @playlist = playlist set_playlist end |