From d6c4a6ea4606e79becd4cb6e06ebc24ebb0de148 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 12 May 2024 21:09:48 +0200 Subject: [PATCH] remove redundant playlistcheck in _process_entry --- tubearchivist/home/src/download/queue.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tubearchivist/home/src/download/queue.py b/tubearchivist/home/src/download/queue.py index 57f966de..661f39b9 100644 --- a/tubearchivist/home/src/download/queue.py +++ b/tubearchivist/home/src/download/queue.py @@ -7,10 +7,7 @@ Functionality: import json from datetime import datetime -from home.src.download.subscriptions import ( - ChannelSubscription, - PlaylistSubscription, -) +from home.src.download.subscriptions import ChannelSubscription from home.src.download.thumbnails import ThumbManager from home.src.download.yt_dlp_base import YtWrap from home.src.es.connect import ElasticWrap, IndexPaginate @@ -196,7 +193,6 @@ class PendingList(PendingIndex): self._parse_channel(entry["url"], vid_type) elif entry["type"] == "playlist": self._parse_playlist(entry["url"]) - PlaylistSubscription().process_url_str([entry], subscribed=False) else: raise ValueError(f"invalid url_type: {entry}")