From 7d7b072a5b588ecb897a9283ca0ca7ac90736af0 Mon Sep 17 00:00:00 2001 From: zrose584 <57181548+zrose584@users.noreply.github.com> Date: Sat, 10 Oct 2020 18:42:54 +0200 Subject: always proxy cached thumbnails --- youtube/local_playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/local_playlist.py') diff --git a/youtube/local_playlist.py b/youtube/local_playlist.py index 857ed24..394e7db 100644 --- a/youtube/local_playlist.py +++ b/youtube/local_playlist.py @@ -52,7 +52,7 @@ def get_local_playlist_videos(name, offset=0, amount=50): try: info = json.loads(video_json) if info['id'] + ".jpg" in thumbnails: - info['thumbnail'] = settings.img_prefix + "https://youtube.com/data/playlist_thumbnails/" + name + "/" + info['id'] + ".jpg" + info['thumbnail'] = "https://youtube.com/data/playlist_thumbnails/" + name + "/" + info['id'] + ".jpg" else: info['thumbnail'] = util.get_thumbnail_url(info['id']) missing_thumbnails.append(info['id']) -- cgit v1.2.3