Fix audiobook playback

This commit is contained in:
angelblue05 2018-09-08 02:02:18 -05:00
parent acafe27b6c
commit 48daed72b2
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
version = "1710760" version = "171076004"
from movies import Movies from movies import Movies
from musicvideos import MusicVideos from musicvideos import MusicVideos

View file

@ -91,7 +91,7 @@ class Actions(object):
seektime = window('emby.resume.bool') seektime = window('emby.resume.bool')
window('emby.resume', clear=True) window('emby.resume', clear=True)
if item['MediaType'] == 'Video': if item['MediaType'] in ('Video', 'Audio'):
resume = item['UserData'].get('PlaybackPositionTicks') resume = item['UserData'].get('PlaybackPositionTicks')
if resume: if resume: