Explorar o código

Centralized section detection

Zachary Kotlarek %!s(int64=13) %!d(string=hai) anos
pai
achega
5ffddbf096
Modificáronse 1 ficheiros con 4 adicións e 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%'