Catch exception

This commit is contained in:
Croneter 2018-07-05 13:03:18 +02:00
parent f6a0b70ca4
commit e28a7af7ed

View file

@ -168,6 +168,9 @@ def _playlist_file_to_plex_ids(playlist):
""" """
if playlist.kodi_extension == 'm3u': if playlist.kodi_extension == 'm3u':
plex_ids = m3u_to_plex_ids(playlist) plex_ids = m3u_to_plex_ids(playlist)
else:
LOG.error('Unknown playlist extension: %s', playlist.kodi_extension)
raise PL.PlaylistError
return plex_ids return plex_ids