PlexKodiConnect: Kodi Plex Integration Done Right

trying to install version 2.7.5 on a fresh leia18 ( I don’t want to try a different PKC in case i get the playlists issue again on my server ) am getting an error on PKC movies v2.10 ?

You need 2 dependency addons. Are you installing from repository? Reboot Kodi an try again. If it still does not work, manually install the 2 dependency addons for movies and tv shows from the PKC repo

1 Like

Changelog

version 2.7.7:

  • Fix sync not working due to non-ASCII Plex library names
  • Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
  • Fix playback sometimes not being reported for direct paths
  • Fix float() argument must be a string or a number
  • Fix nodes for skin use
  • Fix ‘NoneType’ object has no attribute ‘kodi_path’

Hiya.

Not sure if I’m the only one experiencing this, but since updating from 2.7.5 to 2.7.6/7 TV clearlogos are not showing during playback (movies are still displaying fine) and clearlogo are showing in tv library views…I seem to have it pinned to Plex Kodi connect.

I have a back up image I just installed and 2.7.5 works fine, and the problem occurs when updating. Can’t give a log on GitHub just yet as I’m waiting for my account to be unflagged for some reason… But thought I’d let you know incase it is maybe something glaringly obvious to you matey.

Plex does not provide clear logos. PKC has nothing to do with what happens during actual kodi playback, apart from delivering the file to play. This issue has nothing to do with PKC, I’m afraid

Yeah that’s what’s confusing me, I use artwork beef to download those items and thought it was tied to an update pushed by rector, the other day, or the skin’s artwork helper… I copied my Kodi image on three different occasions, turning off autoupdates and updating one at a time to check the behaviour… It’s bizarre and wasn’t sure if could be tied to the TV show helper for PKC, so thought it best to see if that could affect the player or IDs that match the downloaded artwork during playback. I’ll do it again tomorrow and post a log on GitHub if I replicate it. Cheers

repo fixed it tx.

Updating to 2.7.6 causes on deck to disappear. I had to downgrade back to 2…7.4. This is on Kodi 18.

Simply re-link the on deck widget once updated, that should work

When I navigate through the plex video library on deck is empty for both movies and tv shows.

I’m also getting empty widgets, but also an error appearing saying “Plexkodiconnect: None”. It kept popping up enough to become annoying so I rolled back to 2.7.4 and everything works as it used to, error disappeared and widgets came back.

Tried to replicate the widget issue and the error on the duplicate installation of Kodi I maintain on my PC but couldn’t. The new version works on the Windows version, requires reconfiguration of some widgets but that is all. But it just won’t work on my Nvidia Shield no matter what, and that is my main install. No time to collect logs now as I have to go, maybe later tonight.

Not time for detailed logs atm but found these at the regular log:

2019-03-18 16:12:13.375 T:803  NOTICE: PLEX.utils: It took 0:00:00.116184 to run the function playstate_per_section
2019-03-18 16:12:13.398 T:821  NOTICE: PLEX.sync.full_sync: User chose to not sync section {'index': 2, 'name': 'Anime Test', 'section_id': 16, 'section_type': 'show', 'sync_to_kodi': False, 'last_sync': None}
2019-03-18 16:12:13.409 T:803  NOTICE: PLEX.utils: It took 0:00:00.032752 to run the function playstate_per_section
2019-03-18 16:12:13.447 T:803  NOTICE: PLEX.utils: It took 0:00:00.037072 to run the function playstate_per_section
2019-03-18 16:12:13.474 T:803  NOTICE: PLEX.utils: It took 0:00:00.026501 to run the function playstate_per_section
2019-03-18 16:12:13.629 T:821  NOTICE: PLEX.sync.full_sync: User chose to not sync section {'index': 2, 'name': 'Anime Test', 'section_id': 16, 'section_type': 'show', 'sync_to_kodi': False, 'last_sync': None}
2019-03-18 16:12:13.741 T:803  NOTICE: PLEX.utils: It took 0:00:00.111759 to run the function playstate_per_section
2019-03-18 16:12:13.783 T:803  NOTICE: PLEX.utils: It took 0:00:00.041617 to run the function playstate_per_section
2019-03-18 16:12:13.842 T:803  NOTICE: PLEX.playlists: Starting playlist full sync
2019-03-18 16:12:13.871 T:803  NOTICE: PLEX.playlists: Playlist full sync done
2019-03-18 16:12:13.872 T:803  NOTICE: PLEX.utils: It took 0:00:01.216464 to run the function _run
2019-03-18 16:12:13.872 T:803  NOTICE: PLEX.sync.full_sync: Done full_sync
2019-03-18 16:12:13.873 T:803  NOTICE: PLEX.sync: Done initial sync on Kodi startup
2019-03-18 16:12:13.885 T:803  NOTICE: PLEX.sync: Additional fanart download is deactivated
2019-03-18 16:12:13.900 T:833  NOTICE: PLEX.artwork: ---===### Starting ImageCachingThread ###===---
2019-03-18 16:12:13.937 T:833  NOTICE: PLEX.artwork: ---===### Stopped ImageCachingThread ###===---
2019-03-18 16:12:14.001 T:803  NOTICE: PLEX.sync: Starting daily time sync
2019-03-18 16:12:14.001 T:803  NOTICE: PLEX.sync.time: Synching time with PMS server
2019-03-18 16:12:14.040 T:803   ERROR: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/library_sync/time.py:26: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
                                              if not sections:
2019-03-18 16:12:14.076 T:639   ERROR: GetDirectory - Error getting library://video/Plex-7/7_recentepisodes.xml/
2019-03-18 16:12:14.078 T:639   ERROR: GetDirectory - Error getting library://video/Plex-3/3_recentepisodes.xml/
2019-03-18 16:12:14.168 T:637  NOTICE: VideoInfoScanner: Starting scan ..
2019-03-18 16:12:14.174 T:637  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
2019-03-18 16:12:14.207 T:803  NOTICE: PLEX.sync.time: Found a movie item to sync with: 41451
2019-03-18 16:12:14.209 T:637  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
2019-03-18 16:12:15.402 T:803  NOTICE: PLEX.plex_functions: Toggled watched state for Plex item 41451
2019-03-18 16:12:15.403 T:835  NOTICE: PLEX.default: plugin.video.plexkodiconnect started
2019-03-18 16:12:15.749 T:835  NOTICE: PLEX.download: Request session does not exist: start one
2019-03-18 16:12:15.765 T:835  NOTICE: PLEX.clientinfo: Unique device Id plex_client_Id loaded: a94f646d-19c8-42ea-a138-bee8c2be60b4
2019-03-18 16:12:15.929 T:835   ERROR: PLEX.widget: xml that caused the crash: "MediaContainer": {'size': '5', 'librarySectionID': '7', 'art': '/:/resources/show-fanart.jpg', 'viewGroup': 'episode', 'mixedParents': '1', 'title1': 'Anime', 'title2': 'On Deck', 'librarySectionUUID': '3e625cae-9ae1-499c-bc19-faacb6c0d8bc', 'librarySectionTitle': 'Anime', 'thumb': '/:/resources/show.png', 'identifier': 'com.plexapp.plugins.library', 'nocache': '1', 'mediaTagPrefix': '/system/bundle/media/flags/', 'mediaTagVersion': '1552487975', 'viewMode': '65592', 'allowSync': '1'}
2019-03-18 16:12:15.930 T:835   ERROR: PLEX.utils: Error encountered:  - None
2019-03-18 16:12:15.931 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.932 T:835   ERROR: PLEX.utils:     Traceback (most recent call last):
2019-03-18 16:12:15.932 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 95, in generate_item
2019-03-18 16:12:15.932 T:835   ERROR: PLEX.utils:         return _generate_content(xml_element)
2019-03-18 16:12:15.933 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 129, in _generate_content
2019-03-18 16:12:15.933 T:835   ERROR: PLEX.utils:         kodi_type = v.KODITYPE_FROM_PLEXTYPE[plex_type]
2019-03-18 16:12:15.933 T:835   ERROR: PLEX.utils:     KeyError: None
2019-03-18 16:12:15.934 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.934 T:835   ERROR: PLEX.widget: xml that caused the crash: "MediaContainer": {'size': '5', 'librarySectionID': '7', 'art': '/:/resources/show-fanart.jpg', 'viewGroup': 'episode', 'mixedParents': '1', 'title1': 'Anime', 'title2': 'On Deck', 'librarySectionUUID': '3e625cae-9ae1-499c-bc19-faacb6c0d8bc', 'librarySectionTitle': 'Anime', 'thumb': '/:/resources/show.png', 'identifier': 'com.plexapp.plugins.library', 'nocache': '1', 'mediaTagPrefix': '/system/bundle/media/flags/', 'mediaTagVersion': '1552487975', 'viewMode': '65592', 'allowSync': '1'}
2019-03-18 16:12:15.934 T:835   ERROR: PLEX.utils: Error encountered:  - None
2019-03-18 16:12:15.935 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.935 T:835   ERROR: PLEX.utils:     Traceback (most recent call last):
2019-03-18 16:12:15.935 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 95, in generate_item
2019-03-18 16:12:15.935 T:835   ERROR: PLEX.utils:         return _generate_content(xml_element)
2019-03-18 16:12:15.936 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 129, in _generate_content
2019-03-18 16:12:15.937 T:835   ERROR: PLEX.utils:         kodi_type = v.KODITYPE_FROM_PLEXTYPE[plex_type]
2019-03-18 16:12:15.937 T:835   ERROR: PLEX.utils:     KeyError: None
2019-03-18 16:12:15.937 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.938 T:835   ERROR: PLEX.widget: xml that caused the crash: "MediaContainer": {'size': '5', 'librarySectionID': '7', 'art': '/:/resources/show-fanart.jpg', 'viewGroup': 'episode', 'mixedParents': '1', 'title1': 'Anime', 'title2': 'On Deck', 'librarySectionUUID': '3e625cae-9ae1-499c-bc19-faacb6c0d8bc', 'librarySectionTitle': 'Anime', 'thumb': '/:/resources/show.png', 'identifier': 'com.plexapp.plugins.library', 'nocache': '1', 'mediaTagPrefix': '/system/bundle/media/flags/', 'mediaTagVersion': '1552487975', 'viewMode': '65592', 'allowSync': '1'}
2019-03-18 16:12:15.938 T:835   ERROR: PLEX.utils: Error encountered:  - None
2019-03-18 16:12:15.938 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.939 T:835   ERROR: PLEX.utils:     Traceback (most recent call last):
2019-03-18 16:12:15.939 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 95, in generate_item
2019-03-18 16:12:15.939 T:835   ERROR: PLEX.utils:         return _generate_content(xml_element)
2019-03-18 16:12:15.939 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 129, in _generate_content
2019-03-18 16:12:15.940 T:835   ERROR: PLEX.utils:         kodi_type = v.KODITYPE_FROM_PLEXTYPE[plex_type]
2019-03-18 16:12:15.940 T:835   ERROR: PLEX.utils:     KeyError: None
2019-03-18 16:12:15.940 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.941 T:835   ERROR: PLEX.widget: xml that caused the crash: "MediaContainer": {'size': '5', 'librarySectionID': '7', 'art': '/:/resources/show-fanart.jpg', 'viewGroup': 'episode', 'mixedParents': '1', 'title1': 'Anime', 'title2': 'On Deck', 'librarySectionUUID': '3e625cae-9ae1-499c-bc19-faacb6c0d8bc', 'librarySectionTitle': 'Anime', 'thumb': '/:/resources/show.png', 'identifier': 'com.plexapp.plugins.library', 'nocache': '1', 'mediaTagPrefix': '/system/bundle/media/flags/', 'mediaTagVersion': '1552487975', 'viewMode': '65592', 'allowSync': '1'}
2019-03-18 16:12:15.942 T:835   ERROR: PLEX.utils: Error encountered:  - None
2019-03-18 16:12:15.942 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.943 T:835   ERROR: PLEX.utils:     Traceback (most recent call last):
2019-03-18 16:12:15.943 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 95, in generate_item
2019-03-18 16:12:15.943 T:835   ERROR: PLEX.utils:         return _generate_content(xml_element)
2019-03-18 16:12:15.943 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 129, in _generate_content
2019-03-18 16:12:15.944 T:835   ERROR: PLEX.utils:         kodi_type = v.KODITYPE_FROM_PLEXTYPE[plex_type]
2019-03-18 16:12:15.944 T:835   ERROR: PLEX.utils:     KeyError: None
2019-03-18 16:12:15.944 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.945 T:835   ERROR: PLEX.widget: xml that caused the crash: "MediaContainer": {'size': '5', 'librarySectionID': '7', 'art': '/:/resources/show-fanart.jpg', 'viewGroup': 'episode', 'mixedParents': '1', 'title1': 'Anime', 'title2': 'On Deck', 'librarySectionUUID': '3e625cae-9ae1-499c-bc19-faacb6c0d8bc', 'librarySectionTitle': 'Anime', 'thumb': '/:/resources/show.png', 'identifier': 'com.plexapp.plugins.library', 'nocache': '1', 'mediaTagPrefix': '/system/bundle/media/flags/', 'mediaTagVersion': '1552487975', 'viewMode': '65592', 'allowSync': '1'}
2019-03-18 16:12:15.945 T:835   ERROR: PLEX.utils: Error encountered:  - None
2019-03-18 16:12:15.946 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.946 T:835   ERROR: PLEX.utils:     Traceback (most recent call last):
2019-03-18 16:12:15.946 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 95, in generate_item
2019-03-18 16:12:15.946 T:835   ERROR: PLEX.utils:         return _generate_content(xml_element)
2019-03-18 16:12:15.947 T:835   ERROR: PLEX.utils:       File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/widgets.py", line 129, in _generate_content
2019-03-18 16:12:15.947 T:835   ERROR: PLEX.utils:         kodi_type = v.KODITYPE_FROM_PLEXTYPE[plex_type]
2019-03-18 16:12:15.947 T:835   ERROR: PLEX.utils:     KeyError: None
2019-03-18 16:12:15.948 T:835   ERROR: PLEX.utils: _____________________________________________________________
2019-03-18 16:12:15.949 T:835  NOTICE: PLEX.default: plugin.video.plexkodiconnect stopped
2019-03-18 16:12:16.598 T:803  NOTICE: PLEX.plex_functions: Toggled watched state for Plex item 41451
2019-03-18 16:12:16.617 T:803  NOTICE: PLEX.sync.time: Time offset Koditime - Plextime in seconds: -6.0

I agree widgets (linked to Plex) are not working as well on Android (FireTV) with the last 2 updates compared to my Windows laptop., however even on windows, some things are a incorrect. Rolled back to 2.7.4 to fix (see pics of each)

2.7.7

2.7.4

What theme are you using?

skin? Aura

That’s what I use. How did you get to rearrange the widgets?

I am using an Nvidia Shield so maybe that’s the issue.

You just need to redo the default ones to point to a different source.

i tried to open a video with korean in the title and it didnt open… any help?

Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xed in position 51: ordinal not in range(128)
2019-03-19 17:18:08.644 T:140458408016512   
ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.plexkodiconnect/2744/?plex_id=2750&plex_type=episode&mode=play&filename=태양의 후예.E05.160309.1080p.HDTV.x264-ELANOR.mkv]

Yes, but you cut off the interesting part of the log. Please share the entire log: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub