diff --git a/lto2filemaker b/lto2filemaker index 6718519..4e3cb57 100755 --- a/lto2filemaker +++ b/lto2filemaker @@ -5,34 +5,32 @@ # Server using two tables called "lto_tapes" and "lto_files" with fields # according to the LTFS XML format. -VERSION=0.1 +VERSION="0.9" +SCRIPTDIR=$(dirname "${0}") REQUIRECONFIG="Y" DEPENDENCIES=(xml curl) unset CURL_OPTS VERBOSITY=0 -SCRIPTDIR=$(dirname "${0}") . "${SCRIPTDIR}/mmfunctions" || { echo "Missing '${SCRIPTDIR}/mmfunctions'. Exiting." ; exit 1 ; } _usage(){ - echo - echo "$(basename "${0}") ${VERSION}" - echo "This application will create a file suitable for broadcast or editing" - echo "from a video file or package input with the following options." - echo "Dependencies: ${DEPENDENCIES[@]}" - echo "Usage: $(basename "${0}") [-v|-h] LTFS_SCHEMA_FILE" - echo " -v N verbosity, 0 hides curl errors, default is 0" - echo " -h display this help" - echo - exit -} +cat <