Merge pull request #1060 from croneter/fix-keyerror

Fix KeyError when using Plex search capabilities
This commit is contained in:
croneter 2019-11-14 17:21:42 +01:00 committed by GitHub
commit 5273e874e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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