#!/bin/bash

case "$1" in
  start)
        sh ./display.sh stop
        sudo omxplayer -b --loop $2
  ;;
  *)
        echo "Usage omxplayer.sh {start <urlOrPath>}"
        exit 1
  ;;
esac

exit 0
