Sha256: 7c174ccfbef35d2a36773ca87a7e7c1fbe25cbbcb8c1a218bf15066d3d0ff8b8

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

# Some example calls for interacting with the Audio Library in XBMC

require "./" + File.join(File.dirname(__FILE__), 'example_environment')

pp Xbmc::AudioLibrary.get_artists
puts "="*60
pp Xbmc::AudioLibrary.get_albums(:artistid => Xbmc::AudioLibrary.get_artists.first[:artistid])
puts "="*60
pp Xbmc::AudioLibrary.get_songs(:albumid => 1)

pp Xbmc::AudioPlayer.play_pause

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xbmc-client-0.1.2 examples/audio_library.rb
xbmc-client-0.1.1 examples/audio_library.rb