Skip to content

nezetic/ruby-xbmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ruby-xbmc
  a remote access library for XBMC
=============================

ruby-xbmc is a ruby wrapper for the XBMC Web Server HTTP API.

It provides a remote access to any XBMC running on the local network, 
in a simple way (methods follow the ones from XBMC API).

 Example:

    irb(main):001:0> require 'ruby-xbmc'
    irb(main):002:0> xbmc = XBMC::XBMC.new(hostname, port, user, pass)
    => #<XBMC::XBMC:0x1128e7c>
    
    irb(main):003:0> pp xbmc.GetMediaLocation("music")
    [{"name"=>"Jazz", "type"=>"1", "path"=>"/mnt/data/Music/Jazz/"},
     {"name"=>"Electro", "type"=>"1", "path"=>"/mnt/data/Music/Electro/"},
     {"name"=>"Metal", "type"=>"1", "path"=>"/mnt/data/Music/Metal/"},
     {"name"=>"Last.fm", "type"=>"1", "path"=>"lastfm://"}]
    
References
=========

http://xbmc.org/wiki/?title=Web_Server_HTTP_API

About

ruby-xbmc is a ruby wrapper for the XBMC Web Server HTTP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages