Catch exception
This commit is contained in:
parent
f6a0b70ca4
commit
e28a7af7ed
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue