or you could go with subsonic
wget wget http://downloads.sourceforge.net/project/subsonic/subsonic/5.2.1/subsonic-5.2.1.deb
sudo apt-get install openjdk-7-jre-headless
sudo nano /etc/default/subsonic
change this line
SUBSONIC_USER=root
to
SUBSONIC_USER=osmc
then
sudo service subsonic restart
access subsonic
http://(yourosmcip):4040/
then setup remote access
http://www.subsonic.org/pages/getting-started.jsp#2
good luck have fun