sections.sh 191 B

12345678
  1. #!/bin/bash
  2. # Build URL and cURL opts
  3. source ~/bin/video/pms/curl.sh
  4. IFS=''
  5. curl ${CURL_OPTS[@]} "${PMS_URL}/library/sections" | \
  6. grep '<Directory ' | sed 's%^.* key="\([0-9]*\)".*$%\1%'