Update podcasts based on avg update interval
commitc6238415ada270102f2eaac127910e865c670398
authorStefan Kögl <stefan@skoegl.net>
Sun, 27 Oct 2013 14:48:52 +0000 (27 15:48 +0100)
committerStefan Kögl <stefan@skoegl.net>
Sun, 27 Oct 2013 15:32:51 +0000 (27 16:32 +0100)
treeec82f2e279a7b1a028d80d320282f0b0d686890c
parent65e69bc3a0b13fd9c2c222b2dfb2e56ecf197d8d
Update podcasts based on avg update interval

feeddownloader.py calculates an average update interval (in hours) for each
podcast. If called with --next it uses the podcasts/by_next_update view to
determine which podcasts is due for an update next.
couchdb/general/_design/podcasts/views/by_next_update/map.js [new file with mode: 0644]
mygpo/core/models.py
mygpo/core/podcasts.py
mygpo/data/feeddownloader.py
mygpo/db/couchdb/podcast.py
mygpo/maintenance/management/podcastcmd.py