From 395800f2800f20713622daf73ba783f6a527c5cf Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Thu, 25 Jul 2024 20:32:22 +0300 Subject: [PATCH] increase timeout for fetch track --- funkwlplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwlplay.py b/funkwlplay.py index 9c014d3..ba65325 100755 --- a/funkwlplay.py +++ b/funkwlplay.py @@ -34,7 +34,7 @@ def create_playlist_file(track_list): def filter_tracks(tracks): def remove_unreach_tracks(track): try: - r = requests.head(track['listen_url'], timeout=1) + r = requests.head(track['listen_url'], timeout=2) r.raise_for_status() return 1 except: