Skip to content

Commit

Permalink
Fixed: Use the correct token for TV4Play.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Oct 16, 2023
1 parent a0dcaca commit 566ebca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions channels/channel.se/tv4se/chn_tv4se.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,7 @@ def update_video_item(self, item):

# retrieve the mediaurl
# needs an "x-jwt: Bearer" header.
token = AddonSettings.get_setting("channel_tv4play_se_token")
token = token.split("|")[1]
token = self.__access_token
headers = {
"x-jwt": "Bearer {}".format(token)
}
Expand Down

0 comments on commit 566ebca

Please sign in to comment.