mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix audiobook playback
This commit is contained in:
parent
acafe27b6c
commit
48daed72b2
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
version = "1710760"
|
version = "171076004"
|
||||||
|
|
||||||
from movies import Movies
|
from movies import Movies
|
||||||
from musicvideos import MusicVideos
|
from musicvideos import MusicVideos
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue