luigi311 / JellyPlex-Watched

Sync watched between jellyfin and plex locally
GNU General Public License v3.0
422 stars 20 forks source link

[BUG] Format for user/library mapping #191

Closed Pascal2708 closed 3 months ago

Pascal2708 commented 3 months ago

Describe the bug I dont understand how user/library mapping should work. Followed the env sample to set it up in docker on unraid. Tried different formats, but I dont get it working. How would it be right? image

Logs

[ERROR]: Extra data: line 1 column 9 (char 8)
[ERROR]: Traceback (most recent call last):
  File "/app/src/main.py", line 405, in main
    main_loop()
  File "/app/src/main.py", line 275, in main_loop
    user_mapping = json.loads(user_mapping.lower())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 9 (char 8)

Retrying in 3600.0

Type:

Additional context Add any other context about the problem here.

luigi311 commented 3 months ago

Take a look at this ticket and comment https://github.com/luigi311/JellyPlex-Watched/issues/110#issuecomment-1817485739 seems to be the same issue so I'm going to close this one and if you are still having issues with that change then comment on that ticket.