• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Guides, Walkthroughs & Tutorials Python script to migrate watched status and watched progress between servers

     
    • 0 Vote(s) - 0 Average

    Python script to migrate watched status and watched progress between servers

    https://github.com/Ozymandyaz/JellySync
    Essjay
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Nov
    Reputation: 0
    Country:Canada
    #2
    5 hours ago
    Hi @Ozymandyaz, Thanks for updating the original script. I really like that i can filter which user I want to sync. I keep getting a json.decoder.JSONDecodeError when i run the code. I also got the same error with the original Emby2Jelly python file, but with that one, i got far enough to be able to create the initial --tofile. It was the --fromfile that produced the error. I also tried without any file and it also failed. I double checked the jellysync.ini file and it looks correct. I tried both local IP and reverse proxy URL. Same error. Full error below.

    Traceback (most recent call last):
    File "C:\Users\Essjay\Documents\Emby2Jelly\jellysync.py", line 535, in <module>
    source(selectedUsers)
    ~~~~~~^^^^^^^^^^^^^^^
    File "C:\Users\Essjay\Documents\Emby2Jelly\jellysync.py", line 204, in source
    get_watched_status()
    ~~~~~~~~~~~~~~~~~~^^
    File "C:\Users\Essjay\Documents\Emby2Jelly\jellysync.py", line 181, in get_watched_status
    itemDto = json.loads(
    response2.content.decode("utf-8")
    )
    File "C:\Users\Essjay\AppData\Local\Programs\Python\Python314\Lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^
    File "C:\Users\Essjay\AppData\Local\Programs\Python\Python314\Lib\json\decoder.py", line 345, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Essjay\AppData\Local\Programs\Python\Python314\Lib\json\decoder.py", line 363, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    Let me know if you know what might be causing this.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Python script to migrate watched status and watched progress between servers - by Ozymandyaz - 2025-09-28, 10:57 PM
    RE: Python script to migrate watched status and watched progress between servers - by Essjay - 5 hours ago

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode