Skip to content

Commit

Permalink
Update default.py
Browse files Browse the repository at this point in the history
Fix playTrailer
  • Loading branch information
5cent committed Nov 5, 2015
1 parent fec34d1 commit 837beda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugin.video.prime_instant/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,12 @@ def helloPrimeProxy():
return False

def playVideo(videoID, selectQuality=False, playTrailer=False):
debug("Start Player for videoID=" + videoID)
xbmc.Player().play("https://www.amazon.de/piv-apk-play?asin=" + videoID)
if playTrailer:
debug("Start Trailer for videoID=" + videoID)
xbmc.Player().play("https://www.amazon.de/piv-apk-play?asin=" + videoID + "&playTrailer=T")
else:
debug("Start Player for videoID=" + videoID)
xbmc.Player().play("https://www.amazon.de/piv-apk-play?asin=" + videoID)

# streamTitles = []
# streamBitrates = []
Expand Down

0 comments on commit 837beda

Please sign in to comment.