Skip to content

Commit

Permalink
Fix Bayern.tv 1:1 talk and other videos
Browse files Browse the repository at this point in the history
  • Loading branch information
betacentauri committed Dec 22, 2018
1 parent 6a5f572 commit a74417e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,9 @@ def buildPostEventScreen(self, jsonData):
for content in jsonData['data']['content']:
if content['group_elements']:
for element in content['group_elements']:
if element['type'] == 'eventVideos':
if element['type'] in ('eventVideos', 'player'):
if element['type'] == 'eventVideos': # remove all previous player videolist entries. This is needed for Bayern.TV
self.videoList = []
for videos in element['data']:
title = videos['title'].encode('utf8')
if videos['pay']:
Expand Down Expand Up @@ -979,7 +981,7 @@ def showTableResults(self):

class TelekomSportMainScreen(Screen):

version = 'v2.4.3'
version = 'v2.4.4'

base_url = 'https://www.telekomsport.de/api/v2/mobile'
main_page = '/navigation'
Expand Down

0 comments on commit a74417e

Please sign in to comment.