Add the logic for "items" (videos) - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset 08b792ba7fd60b30614c323b5f22df70efe9746d
(DIR) parent a8d3436f94b0fd1237b22ec473b5cfc1e1ef2d96
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Fri, 14 Sep 2018 01:03:54
Add the logic for "items" (videos)
Diffstat:
raiplay/programma.dcgi | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff -r a8d3436f94b0 -r 08b792ba7fd6 raiplay/programma.dcgi
--- a/raiplay/programma.dcgi Fri Sep 14 01:03:09 2018 +0200
+++ b/raiplay/programma.dcgi Fri Sep 14 01:03:54 2018 +0200
@@ -5,8 +5,12 @@
#/usr/pkg/bin/curl -gs "${url}" |
/usr/pkg/bin/jq -r '
.Name,
- .channel,
- ( .Blocks[] |
+ .channel?,
+ ( .items[]? |
+ .name,
+ .pathID
+ ),
+ ( .Blocks[]? |
.Name,
( .Sets[] |
.Name,