scripts for my gemini capsule
Diffstat (limited to 'makeplan.sh')
| -rw-r--r-- | makeplan.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/makeplan.sh b/makeplan.sh index ad53ee8..2cd5825 100644 --- a/makeplan.sh +++ b/makeplan.sh @@ -8,18 +8,25 @@ ps="$(grep "^$day" "$1" | cut -f4)" pr="$(grep "^$day" "$1" | cut -f5)" if [ -e /srv/gemini.zachdecook.com/oyb/$day.mp3 ]; then - echo "=> /oyb/$day.mp3 Listen to today's reading!" + echo "=> /oyb/$day.mp3 Listen to today's reading by Zach!" +elif [ -e /srv/gemini.zachdecook.com/oyb/$day.ogg ]; then + echo "=> /oyb/$day.ogg Listen to today's reading by Zach!" fi +echo "=>/cgi-bin/aoyb.sh/tomdooley/$(date +%m%d).mp3 Listen to today's reading by Tom Dooley © MasterMedia Ministries/Tyndale." cd "$(dirname "$0")" echo "# Old Testament Reading" ./webp.py "$ot" |grep -v 'text/gemini' +gcat "gemini://songs.zachdecook.com/searchVerse.gmi?$ot" | grep -v '^51\ ' | grep -v '^20\ ' echo "# New Testament Reading" ./oeb.py "$nt" |grep -v 'xt/ge' +gcat "gemini://songs.zachdecook.com/searchVerse.gmi?$nt" | grep -v '^51\ ' | grep -v '^20\ ' echo "# Psalm" ./oeb.py "$ps" |grep -v 'xt/ge' +gcat "gemini://songs.zachdecook.com/searchVerse.gmi?$ps" | grep -v '^51\ ' | grep -v '^20\ ' echo "# Proverb" -./webp.py "$pr" | grep -v 'xt/ge' +./lsv.py "$pr" | grep -v 'xt/ge' +gcat "gemini://songs.zachdecook.com/searchVerse.gmi?$pr" | grep -v '^51\ ' | grep -v '^20\ ' |