Skip to content

Commit

Permalink
slyguy.paramount.plus -> v0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman authored and johnny5-is-alive committed Nov 15, 2023
1 parent f172b66 commit 41b6d7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions slyguy.paramount.plus/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="slyguy.paramount.plus" name="Paramount+" provider-name="SlyGuy" version="0.7.3">
<addon id="slyguy.paramount.plus" name="Paramount+" provider-name="SlyGuy" version="0.7.4">
<requires>
<import addon="script.module.slyguy" version="0.63.1"/>
</requires>
Expand All @@ -14,7 +14,7 @@ Subscription required.</description>
<license></license>
<language></language>
<website></website>
<news>Fix live sports playback</news>
<news>Fix playback</news>
<assets>
<icon>icon.png</icon>
<fanart>fanart.jpg</fanart>
Expand Down
3 changes: 2 additions & 1 deletion slyguy.paramount.plus/resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def show(show_id, config=None, **kwargs):
if not config:
continue

if config.get('display_seasons'):
if config.get('display_seasons') and 'episodes' in config.get('section_type').lower():
for row in sorted(api.seasons(show_id), key=lambda x: int(x['seasonNum'])):
if not row['totalCount']:
continue
Expand Down Expand Up @@ -682,6 +682,7 @@ def _play(video_id, **kwargs):
data = api.play(video_id)
item = plugin.Item(
path = data['url'],
headers = config.headers,
)

if settings.getBool('sync_playback', False) and NO_RESUME_TAG in kwargs and not kwargs.get(ROUTE_RESUME_TAG):
Expand Down

0 comments on commit 41b6d7d

Please sign in to comment.