Skip to content

Commit

Permalink
Include position ticks in external sub call
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlton00 committed May 28, 2021
1 parent 4ec75ad commit 7b547b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/play_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,10 +835,10 @@ def external_subs(media_source, list_item, item_id):

url_root = '{}/Videos/{}/{}/Subtitles/{}'.format(server, item_id, source_id, index)
if language:
url = '{}/Stream.{}.{}?api_key={}'.format(
url = '{}/0/Stream.{}.{}?api_key={}'.format(
url_root, language, codec, token)
else:
url = '{}/Stream.{}?api_key={}'.format(url_root, codec, token)
url = '{}/0/Stream.{}?api_key={}'.format(url_root, codec, token)

default = ""
if stream['IsDefault']:
Expand Down

0 comments on commit 7b547b2

Please sign in to comment.