wilmardo / migrate-plex-to-jellyfin

Migrate watched status from Plex to Jellyfin
98 stars 22 forks source link

No match and crash #21

Closed 0x556c79 closed 2 years ago

0x556c79 commented 2 years ago

. . . No provider match in plex://episode/5d9c1080705e7a001e74624b for Z Nation S04e02 No provider match in plex://episode/5d9c1080705e7a001e746239 for Z Nation S04e03 No provider match in plex://episode/5d9c1080705e7a001e746245 for Z Nation S04e04 No provider match in plex://episode/5d9c1080705e7a001e746248 for Z Nation S04e06 No provider match in plex://episode/5d9c1080705e7a001e74623c for Z Nation S04e07 No provider match in plex://episode/5d9c1080705e7a001e746242 for Z Nation S04e08 No provider match in plex://episode/5d9c1080e98e47001eb6b5d0 for Z Nation S04e09 No provider match in plex://episode/5d9c1080e98e47001eb6b5cd for Z Nation S04e10 No provider match in plex://episode/5d9c1080e98e47001eb6b5ca for Z Nation S04e11 No provider match in plex://episode/5d9c1080e98e47001eb6b5c7 for Z Nation S04e12 No provider match in plex://episode/5d9c1080e98e47001eb6b5c4 for Z Nation S04e13 No provider match in plex://episode/5d9c1080e98e47001eb6b5d3 for Z Nation S05e01 No provider match in plex://episode/5d9c1080e98e47001eb6b5be for Z Nation S05e02 No provider match in plex://episode/5d9c1080e98e47001eb6b5d6 for Z Nation S05e03 No provider match in plex://episode/5d9c1080e98e47001eb6b5c1 for Z Nation S05e04 No provider match in plex://episode/5d9c1080ffd9ef001e9e99c4 for Z Nation S05e05 No provider match in plex://episode/5d9c1080ffd9ef001e9e99d6 for Z Nation S05e06 No provider match in plex://episode/5d9c1080ffd9ef001e9e99c7 for Z Nation S05e07 No provider match in plex://episode/5d9c1080ffd9ef001e9e99d9 for Z Nation S05e08 No provider match in plex://episode/5d9c1080ffd9ef001e9e99dc for Z Nation S05e09 No provider match in plex://episode/5d9c1080ffd9ef001e9e99d3 for Z Nation S05e10 No provider match in plex://episode/5d9c1080ffd9ef001e9e99df for Z Nation S05e11 No provider match in plex://episode/5d9c1080ffd9ef001e9e99ca for Z Nation S05e12 No provider match in plex://episode/5d9c1080ffd9ef001e9e99d0 for Z Nation S05e13 Traceback (most recent call last): File "/home/user/venv/lib/python3.8/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "migrate.py", line 151, in migrate() File "/home/user/venv/lib/python3.8/site-packages/click/core.py", line 1128, in call return self.main(args, kwargs) File "/home/user/venv/lib/python3.8/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/user/venv/lib/python3.8/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/user/venv/lib/python3.8/site-packages/click/core.py", line 754, in invoke return __callback(args, **kwargs) File "migrate.py", line 91, in migrate jf_uid = jellyfin.get_user_id(name=jellyfin_user) File "/home/user/migrate-plex-to-jellyfin/jellyfin_client.py", line 45, in get_user_id for u in self.get_users(): File "/home/user/migrate-plex-to-jellyfin/jellyfin_client.py", line 30, in get_users users = self._get(endpoint='Users') File "/home/user/migrate-plex-to-jellyfin/jellyfin_client.py", line 17, in _get return r.json() File "/home/user/venv/lib/python3.8/site-packages/requests/models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0