diff --git a/Readme.md b/Readme.md index 9d6abf1..9da91e4 100644 --- a/Readme.md +++ b/Readme.md @@ -19,6 +19,7 @@ A python3 web app to record internet radio streams and present them in a podcast - Write the config for uwsgi, start that daemon - Write the config for nginx, and view the page. - Create a symbolic link in static/ pointing to files/output/. Command: `mkdir files/ ; mkdir files/output/ ; mkdir files/temp/ ; ln -s ../files/output static/test ` +- Add a cron job to call http://my.server/api/tick every minute. Podcast usage: each schedule has a numerical id. To view the podcast, http://my.server/api/getPodcast?id=[number] diff --git a/app.py b/app.py index 40d7e7a..a0fe4f5 100644 --- a/app.py +++ b/app.py @@ -13,7 +13,6 @@ import signal from jinja2 import Environment, FileSystemLoader from libs import database from libs import recordTick -from feedgen.feed import FeedGenerator from datetime import datetime if __name__ == '__main__' or 'uwsgi' in __name__: