From d7b56088a537bc67bd69c61ec0924430119415f2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 7 Jul 2019 14:15:37 +0200 Subject: Strip start after --- automedia.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automedia.py b/automedia.py index c02be30..0ce60de 100755 --- a/automedia.py +++ b/automedia.py @@ -529,6 +529,9 @@ def command_add(args): else: usage_add() + if start_after: + start_after = start_after.strip() + if media_type == "rss": os.makedirs(rss_config_dir, exist_ok=True) result = add_rss(media_name, media_url, rss_config_dir, start_after) -- cgit v1.2.3