question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sync watched status is not working

See original GitHub issue

Bug report

Your Environment

  • Netflix add-on version: 1.18.0+matrix.1
  • Operating system version/name: LibreELEC 10.0.1
  • Device model: Raspberry Pi 4B

Used Operating system:

  • Android
  • iOS
  • Linux
  • OSX
  • Raspberry-Pi
  • Windows

Describe the bug

Watched status is not synchronizing, it appears there are 2 tracebacks in the log, I think after the 2nd one the am_video_events thread has died so no further events are attempted.

#1

2021-11-20 19:34:44.576 T:20393   ERROR <general>: [plugin.video.netflix (0)] [Event queue monitor] An error has occurred: 'locos'
2021-11-20 19:34:44.578 T:20393   ERROR <general>: [plugin.video.netflix (0)] Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/events_handler.py", line 58, in run
                                                       self._process_event_request(event_type, event_data, player_state)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/events_handler.py", line 72, in _process_event_req
                                                       self.loco_data = self.nfsession.get_loco_data()
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/nfsession_ops.py", line 296, in get_loco_data
                                                       if context_name in loco_data['locos'][loco_root]:
                                                   KeyError: 'locos'

#2:

2021-11-20 19:35:16.605 T:20393   ERROR <general>: [plugin.video.netflix (0)] [Event queue monitor] An error has occurred: 'NoneType' object is not subscriptable
2021-11-20 19:35:16.605 T:20393   ERROR <general>: [plugin.video.netflix (0)] Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/events_handler.py", line 58, in run
                                                       self._process_event_request(event_type, event_data, player_state)
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/events_handler.py", line 76, in _process_event_req
                                                       self._build_event_params(event_type,
                                                     File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/msl/events_handler.py", line 179, in _build_event_para
                                                       'lolomo_id': loco_data['root_id'],
                                                   TypeError: 'NoneType' object is not subscriptable

Expected behavior

Actual behavior

Steps to reproduce the behavior

Possible fix

Debug log

The debug log can be found here:

kodi.log

Additional context or screenshots (if appropriate)

Other information

Screenshots

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
wagnerchcommented, Nov 22, 2021

I don’t know exactly, but i see this behaviour:

* what i start to watch it is always add to "continue watching"

* if i leave a tvshow on standby for a long time, could be removed from "continue watching" but:
  
  * if the title was not included in My list, then the watched status of episodes will be lost
  * if the title was included in My list, then the watched status of episodes is kept saved and you can resume when you want

* the "continue watching" can contains only few titles (maybe 20 or 30?), so if exceeed the older ones i think will be lost

Continue watching is now working on the website, since I was testing the t2 version. And it is showing up in the add-on after clearing the cache. So it’s probably the case where they aged out, since I haven’t been using Netflix for a while, and I think I watched all of my in progress shows.

I usually thumbs up the shows I watched after removing them from my list, it probably skews Netflix’s reality of how good the show is because I will thumbs up even if I didn’t care for it (it has to be pretty awful to be a thumbs down, for me). 😃

0reactions
CastagnaITcommented, Nov 22, 2021

but some TV shows should be in there and they never are

I don’t know exactly, but i see this behaviour:

  • what i start to watch it is always add to “continue watching”
  • if i leave a tvshow on standby for a long time, could be removed from “continue watching” but:
    • if the title was not included in My list, then the watched status of episodes will be lost
    • if the title was included in My list, then the watched status of episodes is kept saved and you can resume when you want
  • the “continue watching” can contains only few titles (maybe 20 or 30?), so if exceeed the older ones i think will be lost

Yeah this version (t2) is working now for me.

good!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Watched Status syncing not working between devices
Hi all, I have two ATVs 4K connected to the same Apple ID, iCloud and Trakt account but for some reason the Watched...
Read more >
Watched status doesn't sync between devices? : r/PleX - Reddit
I'll watch some episodes of a show on my Nvidia Shield, then when I go to my PC, it won't show those as...
Read more >
Sync Watch State and Ratings - Support - Plex
Plex allows you to optionally sync your watched/played state and personal ratings of movies and episodes with your Plex account online.
Read more >
Watched Status not syncing - Emby For Kodi Next Gen
I am a fairly new user so this has never worked for me. I am running Kodi 19.3, Emby next gen 6.2.15, and...
Read more >
Syncing and sharing - Official Kodi Wiki
Emby is a media management server that allows you to synchronize media libraries, watched status, and watch progress between compatible devices.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found