innitial commit
[xbmc-qml-remote:xbmc-qml-remote.git] / xbmc.js
1 var xbmc;
2 function Xbmc(playlist) {
3         this.playlist = playlist;
4 }
5
6
7 function setup(playlist) {
8         xbmc = new Xbmc(playlist);
9         return xbmc;
10 }
11
12 function addAlbumToPlaylist(id) {
13         xbmc.playlist.addAlbum(id);
14 }