Fix TV On Deck direct paths asking to choose between different media

This commit is contained in:
Croneter 2018-04-19 08:06:51 +02:00
parent 32a880cef0
commit 165b85c52d

View file

@ -553,7 +553,7 @@ def getOnDeck(viewid, mediatype, tagname, limit):
append_show_title=append_show_title, append_show_title=append_show_title,
append_sxxexx=append_sxxexx) append_sxxexx=append_sxxexx)
if directpaths: if directpaths:
url = api.file_path() url = api.file_path(force_first_media=True)
else: else:
url = ('plugin://%s.tvshows/?plex_id=%s&plex_type=%s&mode=play&filename=%s' url = ('plugin://%s.tvshows/?plex_id=%s&plex_type=%s&mode=play&filename=%s'
% (v.ADDON_ID, % (v.ADDON_ID,