Fix extras not playing when path substitution is enabled

This commit is contained in:
croneter 2019-08-09 08:16:17 +02:00
parent 9139669f44
commit b7f13a8842

View file

@ -362,7 +362,7 @@ KODI_PLAYLIST_TYPE_FROM_KODI_TYPE = {
REMAP_TYPE_FROM_PLEXTYPE = { REMAP_TYPE_FROM_PLEXTYPE = {
PLEX_TYPE_MOVIE: 'movie', PLEX_TYPE_MOVIE: 'movie',
PLEX_TYPE_CLIP: 'clip', PLEX_TYPE_CLIP: 'movie',
PLEX_TYPE_SHOW: 'tv', PLEX_TYPE_SHOW: 'tv',
PLEX_TYPE_SEASON: 'tv', PLEX_TYPE_SEASON: 'tv',
PLEX_TYPE_EPISODE: 'tv', PLEX_TYPE_EPISODE: 'tv',
@ -400,20 +400,6 @@ TRANSLATION_FROM_PLEXTYPE = {
PLEX_TYPE_PHOTO: 1, PLEX_TYPE_PHOTO: 1,
} }
REMAP_TYPE_FROM_PLEXTYPE = {
'movie': 'movie',
'show': 'tv',
'season': 'tv',
'episode': 'tv',
'artist': 'music',
'album': 'music',
'song': 'music',
'track': 'music',
'clip': 'clip',
'photo': 'photo'
}
PLEX_TYPE_FROM_WEBSOCKET = { PLEX_TYPE_FROM_WEBSOCKET = {
1: PLEX_TYPE_MOVIE, 1: PLEX_TYPE_MOVIE,
2: PLEX_TYPE_SHOW, 2: PLEX_TYPE_SHOW,