Kaynağa Gözat

Centralized section detection

Zachary Kotlarek 13 yıl önce
ebeveyn
işleme
5ffddbf096
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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%'