Browse Source

Centralized section detection

Zachary Kotlarek 13 năm trước cách đây
mục cha
commit
5ffddbf096
1 tập tin đã thay đổi với 4 bổ sung và 0 xóa
  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%'