Skip podcasts not set for auto-download unless they are requested by a filter
This commit is contained in:
parent
005244e96d
commit
62f4b7bedd
2
process
2
process
|
@ -11,6 +11,8 @@ options = args.read()
|
||||||
for podcast in config['podcasts']:
|
for podcast in config['podcasts']:
|
||||||
if options.filter and not options.filter in podcast['name'].lower():
|
if options.filter and not options.filter in podcast['name'].lower():
|
||||||
continue
|
continue
|
||||||
|
elif not options.filter and podcast['auto'] == False:
|
||||||
|
continue
|
||||||
files.addRef(podcast)
|
files.addRef(podcast)
|
||||||
rss.fetch(podcast, options.loadFeed)
|
rss.fetch(podcast, options.loadFeed)
|
||||||
if options.downloadEpisodes:
|
if options.downloadEpisodes:
|
||||||
|
|
Loading…
Reference in a new issue