Explorar el Código

Centralized section detection

Zachary Kotlarek hace 13 años
padre
commit
5ffddbf096
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      pms/sections.sh

+ 4 - 0
pms/sections.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+curl --silent 'http://localhost:32400/library/sections' | \
+	grep '<Directory ' | sed 's%^.* key="\([0-9]*\)".*$%\1%'