#!/bin/bash
#play video DVD from spacefm
# $1 is the device path

smplayer dvdnav://
sleep 1
udevil umount "$1"