Sfoglia il codice sorgente

Centralized section detection

Zachary Kotlarek 13 anni fa
parent
commit
5ffddbf096
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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%'