Fix KeyError when using Plex search capabilities

This commit is contained in:
croneter 2019-11-14 16:11:07 +01:00
parent 938b82da9c
commit 2359430260

View file

@ -444,6 +444,7 @@ CONTENT_FROM_PLEX_TYPE = {
PLEX_TYPE_VIDEO: CONTENT_TYPE_VIDEO,
PLEX_TYPE_PLAYLIST: CONTENT_TYPE_PLAYLIST,
PLEX_TYPE_CHANNEL: CONTENT_TYPE_FILE,
PLEX_TYPE_TAG: CONTENT_TYPE_FILE,
'mixed': CONTENT_TYPE_SHOW,
None: CONTENT_TYPE_FILE
}