Remove: jittypod.sh

Former-commit-id: 72ddb4ca02fcbd1338b3988d8a46f0ef8202ef72 [formerly 7088cf4e8eac7f7cb2115fbde694eca6881a8221] [formerly 2b6a1f8293f13dd304b78e519cf6888bf9991081]
Former-commit-id: 72dc31d09520922a55aa33d71dbdbf3c3322683b
Former-commit-id: 5807ecc80bc3171f0b2f4c70fc51871fb48c9649
This commit is contained in:
mollusk 2019-05-29 09:24:37 -07:00
parent 3e3524a719
commit d573a42edd

View File

@ -1,66 +0,0 @@
#!/bin/bash
function main(){
echo "---------------------"
echo " JittyPod v0.1 "
echo "---------------------"
printf "[1] - Add feeds\n\n"
printf "[2] - Show Podcasts\n\n"
printf ">> "
read choice
if [ "${choice}" = "1" ];then
add_feeds
elif [ "${choice}" = "2" ];then
show_podcasts
fi
}
function add_feeds(){
while true;do
echo
printf "Podcast Name: "
read podname
printf "Feed URL: "
read feed
greg add "${podname}" "${feed}"
if [ $? != 0 ];then
printf "Greg failed to pull the feed"
else
echo
echo "Podcast: ${podname} added!"
echo "| Feed: ${feed}"
fi
done
}
function show_podcasts(){
echo
echo "-----------------"
echo " Podcasts "
echo "-----------------"
echo
greg info
echo
main
}
function download_feeds(){
echo
}
main