From 8026ba349df8c1ca2e7eb3c80e8cedee7139e152 Mon Sep 17 00:00:00 2001 From: Froghut Date: Wed, 23 Aug 2023 18:13:31 +0200 Subject: [PATCH] more work on making windows paths work --- app/src/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/series.py b/app/src/series.py index c0a5605..be8add0 100644 --- a/app/src/series.py +++ b/app/src/series.py @@ -186,7 +186,7 @@ class Show: return None base: str = get_config()["ta_video_path"] - channel_folder = os.path.split(os.path.split(jf_ep["Path"])[0])[-1] + channel_folder = os.path.split(os.path.split(jf_ep["Path"].replace("\\","/"))[0])[-1] season_folder = os.path.join(base, channel_folder, expected_season) os.makedirs(season_folder) self._wait_for_season(expected_season)