Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Fixing issue 1 - where programme images were wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris102994 committed Mar 1, 2021
1 parent 0136615 commit 199366d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rootfs/app/PlutoTV/PlutoTV/pluto_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def adapt_ptv_object_to_xmltv_object(self):
_category.append(Category(content=[ptv_prog.episode.genre], lang=_lang))
if ptv_prog.episode.subGenre is not None:
_category.append(Category(content=[ptv_prog.episode.subGenre], lang=_lang))

self.TV_OBJECT.programme.append(
Programme(
category=_category,
Expand All @@ -147,7 +146,7 @@ def adapt_ptv_object_to_xmltv_object(self):
date=ptv_prog.episode.firstAired,
desc=[Desc(content=[ptv_prog.episode.description], lang=_lang)],
episode_num=[EpisodeNum(content=[ptv_prog.episode.number], system='onscreen')],
icon=[Icon(src=ptv_prog.episode.thumbnail.path)],
icon=[Icon(src=ptv_prog.episode.series.tile.path)],
language=Language(content=[_lang], lang=_lang),
rating=_rating,
start=self.get_proper_date_time(date_time_string=str(ptv_prog.start), new_format=_NEW_DATE_FORMAT_NO_TZ),
Expand Down

1 comment on commit 199366d

@chris102994
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes for #1

Please sign in to comment.