Skip to content

Commit

Permalink
Remove trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design committed Jan 3, 2024
1 parent 498a294 commit f62f902
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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']}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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']]
Expand Down

0 comments on commit f62f902

Please sign in to comment.