#!/bin/bash
#
##############################################################################
#
# Copyright (C) 2014 - 2016 x-odos GmbH
#
##############################################################################
#

PORT=$(($1+6600))
export MPD_PORT=$PORT
/usr/bin/mpd /etc/xo-one-player/mpd$1.conf
/usr/bin/xo-one-player -m $2 localhost