diff --git a/shuffle.py b/shuffle.py index 88ecf98..e1fa0e9 100755 --- a/shuffle.py +++ b/shuffle.py @@ -555,6 +555,10 @@ if __name__ == '__main__': parser.add_argument('path') result = parser.parse_args() + if not os.path.isdir(result.path): + print "Error finding IPod directory. Maybe it is not connected or mounted?" + sys.exit() + if result.rename_unicode: check_unicode(result.path)