Skip to content

Can't sync local playlist with Plex #49

@off112a

Description

@off112a

Hi,

I can't sync local playlist with Plex. I get this error message:

2022-04-29 11:56:38,122 - plugins - DEBUG - Running plugin local playlists v0.4 (plugins.py:158) 2022-04-29 11:56:38,124 - 🎧 local playlists - INFO - Found 21 playlist(s) in supplied directory. (up_local playlists.py:254) 2022-04-29 11:56:38,124 - 🎧 local playlists - INFO - 21 playlist(s) match supplied filter. (up_local playlists.py:263) 2022-04-29 11:56:38,125 - plugins - ERROR - 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte (plugins.py:291) Traceback (most recent call last): File "/ultrasonics/plugins.py", line 273, in applet_run for item in plugin_run(*get_info(plugin), component="inputs", applet_id=applet_id): File "/ultrasonics/plugins.py", line 162, in plugin_run response = found_plugins[name].run( File "/ultrasonics/official_plugins/up_local playlists.py", line 273, in run songs = io.open(playlist["path"], "r", encoding="utf8").read().splitlines() File "/usr/local/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte 2022-04-29 11:56:38,159 - plugins - WARNING - Applet d339aed0-c786-11ec-b2c4-0242ac1b0002 failed in 0:00:00.073421 (plugins.py:299) 2022-04-29 11:56:38,296 - database - INFO - Applet lastrun updated (database.py:377)

I can sync from Plex to local playlist without any problems.

I have tried to remove my local playlist and sync new from Plex and directly afterwards sync from local to Plex. But I get the same error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions