From f62f902f27e1d03565f079b8eac72794a3226892 Mon Sep 17 00:00:00 2001 From: Florian Bischof Date: Wed, 3 Jan 2024 17:42:39 +0100 Subject: [PATCH] Remove trailing space --- .../services/nfsession/directorybuilder/dir_builder_items.py | 2 +- .../services/nfsession/directorybuilder/dir_path_requests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/services/nfsession/directorybuilder/dir_builder_items.py b/resources/lib/services/nfsession/directorybuilder/dir_builder_items.py index 03973a95c..147d61522 100644 --- a/resources/lib/services/nfsession/directorybuilder/dir_builder_items.py +++ b/resources/lib/services/nfsession/directorybuilder/dir_builder_items.py @@ -144,7 +144,7 @@ def build_season_listing(season_list, tvshowid, current_episode=None, pathitems= episodeid_value, episode_data = current_episode.episode current_episode_item = _create_episode_item(season_list.current_seasonid, episodeid_value, episode_data, current_episode, common_data_episode) list_item = current_episode_item[1] - + if list_item.getProperty('isPlayable') == 'true': episode_summary = episode_data['summary']['value'] label = f"{episode_summary['season']}x{episode_summary['episode']:02d}. {episode_data['title']['value']}" diff --git a/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py b/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py index d85232fcf..9a7592001 100644 --- a/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py +++ b/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py @@ -140,7 +140,7 @@ def req_episodes(self, videoid, perpetual_range_start=None): } path_response = self.nfsession.perpetual_path_request(**call_args) return EpisodeList(videoid, path_response) - + def req_current_episode(self, videoid): """Retrieve the current episode of a season""" if videoid.mediatype != common.VideoId.SEASON: @@ -150,7 +150,7 @@ def req_current_episode(self, videoid): [['seasons', videoid.seasonid, 'componentSummary']] + build_paths(['seasons', videoid.seasonid, 'episodes', 'current'], EPISODES_PARTIAL_PATHS) + build_paths(['videos', videoid.tvshowid], ART_PARTIAL_PATHS + [[['title', 'delivery']]])) - + call_args = { 'paths': paths, 'length_params': ['stdlist_wid', ['seasons', videoid.seasonid, 'episodes']]