From: fredrik Date: Wed, 31 May 2006 00:44:06 +0000 (+0000) Subject: Add bad eps to badlist automatically. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=79d4ee974947a12000d4ba14641b70606d96875b;p=utils.git Add bad eps to badlist automatically. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@634 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/autodlctl b/autodlctl index 004f5cf..8f551de 100755 --- a/autodlctl +++ b/autodlctl @@ -127,6 +127,10 @@ function getnext fi ;; esac + if [ "$estat" = bad ]; then + echo "episode reported as bad, adding to badlist" + echo "$curep" >>badlist + fi if ! findcurep; then echo "no more episodes to download from $tag" touch disabled