mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix audiobook playback
This commit is contained in:
parent
57758f3f99
commit
f469885d8b
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class Actions(object):
|
||||||
''' Set listitem for video content. That also include streams.
|
''' Set listitem for video content. That also include streams.
|
||||||
'''
|
'''
|
||||||
API = api.API(item, self.server)
|
API = api.API(item, self.server)
|
||||||
is_video = obj['MediaType'] == 'Video'
|
is_video = obj['MediaType'] in ('Video', 'Audio') # audiobook
|
||||||
|
|
||||||
obj['Genres'] = " / ".join(obj['Genres'] or [])
|
obj['Genres'] = " / ".join(obj['Genres'] or [])
|
||||||
obj['Studios'] = [API.validate_studio(studio) for studio in (obj['Studios'] or [])]
|
obj['Studios'] = [API.validate_studio(studio) for studio in (obj['Studios'] or [])]
|
||||||
|
|
Loading…
Reference in a new issue