PlexKodiConnect: Kodi Plex Integration Done Right

PKC now available for Kodi 19 Matrix

Install the dedicated PKC beta repository for Kodi Matrix. See https://github.com/croneter/PlexKodiConnect/issues/1243

So Video nodes worked great and library is now sorted, however it seems that there’s also a problem when sorting a movie that starts with “The”
This is how it’s sorted in the Plex app (The Grudge for example)


But somehow, Kodi doesn’t seem to know what to do and ignore the Sorting title, in the case of the Grudge, it ends up being sorted in the G (Same applies for the other movies that starts with “The”)

Updating metadata / try rename it doesn’t seems to do anything, maybe it’s from the Plex side, it’s weird, other content I’ve renamed works, except the one that contains “The”
Interesting thing is, you can change the display title, it works, but the Sorting title that contains “the” is ignored for some odd reasons

Strange, when I look at Plex it is how you are seeing it in Kodi.

Edit: I just assumed Plex disregards titles starting with “The”

In Kodi, navigate to Settings, Media, General. Enable or disable “Ignore Articles when sorting”

For better and faster experiance I do NFS mount of my NAS multimedia on system boot.
So i have them “localy”, let say at /storage/multimedia.

@croneter,

Is it correct if i replace pats with /storage/multimedia/… instead of smb://…

Thanks!

Update:
It’s work!
No need to add full path but only the diference between Plex library path and network/local patth.
Example: if the Plex path is: /somedir/somedir/Multimedia/shows in my case the direct path is /storage/Multimedia

Yes, that worked, thanks a lot !

Hi, I installed everything on a Firestick Lite. On first iteration, the install from the beta repository did not go through (one of the dependent installs failed). Then went through the add-on menu to install both dependencies and then PKC. Went fine.

Only bug I have found (might be purely on my side, but wanted to report anyhow) is that the moment I try and play a 4K movie (my other stick with Kodi 18 is a 4K one) then it crashes KODI.
I have then set in PKC the transcode on i.e. to 1080p 40Mbps and it tries to play, but still crashed out. Did a full reset of the settings, but to no avail.

Aware that it is not yet in supported mode.

Some error data here:

020-12-28 22:02:28.014 T:16421 ERROR : :

2020-12-28 22:02:28.015 T:16421 ERROR : Traceback (most recent call last):

2020-12-28 22:02:28.015 T:16421 ERROR : File “/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/threading.py”, line 932, in _bootstrap_inner

2020-12-28 22:02:28.038 T:16421 ERROR :
2020-12-28 22:02:28.038 T:16421 ERROR : self.run()
2020-12-28 22:02:28.038 T:16421 ERROR :

2020-12-28 22:02:28.038 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/playqueue.py”, line 208, in run

2020-12-28 22:02:28.051 T:16421 ERROR :
2020-12-28 22:02:28.051 T:16421 ERROR : self._run()
2020-12-28 22:02:28.051 T:16421 ERROR :

2020-12-28 22:02:28.051 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/playqueue.py”, line 229, in _run

2020-12-28 22:02:28.053 T:16421 ERROR :
2020-12-28 22:02:28.053 T:16421 ERROR : self._compare_playqueues(playqueue, kodi_pl)
2020-12-28 22:02:28.054 T:16421 ERROR :

2020-12-28 22:02:28.054 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/playqueue.py”, line 164, in _compare_playqueues

2020-12-28 22:02:28.055 T:16421 ERROR :
2020-12-28 22:02:28.055 T:16421 ERROR : PL.init_plex_playqueue(playqueue, kodi_item=new_item)
2020-12-28 22:02:28.056 T:16421 ERROR :

2020-12-28 22:02:28.056 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/playlist_func.py”, line 463, in init_plex_playqueue

2020-12-28 22:02:28.079 T:16421 ERROR :
2020-12-28 22:02:28.080 T:16421 ERROR : verify_kodi_item(plex_id, kodi_item)
2020-12-28 22:02:28.080 T:16421 ERROR :

2020-12-28 22:02:28.083 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/playlist_func.py”, line 333, in verify_kodi_item

2020-12-28 22:02:28.088 T:16421 ERROR :
2020-12-28 22:02:28.088 T:16421 ERROR : kodi_id, kodi_type = kodiid_from_filename(kodi_item[‘file’],
2020-12-28 22:02:28.088 T:16421 ERROR :

2020-12-28 22:02:28.088 T:16421 ERROR : File “/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/kodi_db/init.py”, line 23, in kodiid_from_filename

Hope this helps.

Thanks, but the excerpts from the log are useless. Kindly share the entire log as described here: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

Is it possible to use trailers from Plex server instead of youtube from the extended info in Kodi?

Changelog

version 3.0.1 for Kodi Matrix:

  • Fix rare KeyError when using PKC widgets
  • Update translations

version 3.0.0 for Kodi Matrix:

  • Major upgrade from Python 2 to Python 3, allowing use of Kodi 19 Matrix

version 2.12.6:

  • Fix rare KeyError when using PKC widgets
  • Fix suspension of artwork caching and PKC becoming unresponsive
  • Update translations
  • Versions 2.12.4 and 2.12.5 for everyone

Sorry if this is a dumb question, and surely that has been asked before, but I’ve just installed PKC and I would like to see how can I see my Live TV airings from kodi, am I missing something? I can just see fine my libraries, but I cannot find where to see Live TV, and I see on this thread people are watching it…

I hope I FINALLY fixed a bug where Plex home users were suddenly seeing content from other users and/or playstate progress reports were sent for the wrong user. Fingers crossed…

Changelog

version 3.0.3:

  • Fix PKC suddenly using main Plex user’s credentials, e.g. when the PMS address changed
  • Fix missing Kodi tags for movie collections/sets
  • Change thread.isAlive to thread.is_alive

version 2.12.7 (beta only):

  • Fix PKC suddenly using main Plex user’s credentials, e.g. when the PMS address changed
  • Fix missing Kodi tags for movie collections/sets

Hi,

I am trying to use plexamp to cast to PlexKodiConnect device but unsuccessfully.
With the Plex app everything works just as expected.
Is it happen only with my setup or it is by “design”?

Thanks!

This is a nice one :laughing:

Changelog

version 3.0.4 for Kodi Matrix

  • Automatically look for missing movie trailers using TMDB

Hmm, nope, should work. Unfortunately, I’m not using plexamp. Kindly open a new issue on Github and share your DEBUG Kodi log file according to How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

Hi and tenks for your replay.

I am not sure that the log will show you the problem because PlexKodiConnect device is not showup at all in Plexamp (android phone) app.

Issue confirmed. I opened a new Github issue to track it: PlexKodiConnect does not show up as a casting target for Plexamp · Issue #1292 · croneter/PlexKodiConnect · GitHub

Changelog

version 3.0.5 for Kodi Matrix:

  • Fix pictures from Plex picture libraries not working/displaying
  • Fix sqlite3.OperationalError on PKC upgrade

version 2.12.10:

  • Fix pictures from Plex picture libraries not working/displaying

OK folks, first of all i want to say that PlexKodiConnect is the best Kodi implementation for Plex.
I want to say thanks and to send my best wishes to @croneter for his great work and his eforts to keep the project alive.

Now about the “skip intro” funcionality. I have spent some time to investigate the implementation possibilities with PlexKodiConnect and i dont believe it is posible to be done with the current PKC approach at all. Anyway I realy hope I am wrong and I keep my fingers crosed so to @croneter to have succsess in the end of the day.

For the moment my workaround to have “skip intro” for the TV Shows together with PlexKodiConnect as main Plex integration with Kodi is to use Composite plugin by the Team Kodi Member “anxdpanic” for TV Shows only.

BTW, Composite is also don’t shows up as a renderer to Plexamp app.

Changelog

3.0.6 for Kodi Matrix

  • Fix PKC not auto-picking audio/subtitle stream when transcoding
  • Fix ValueError when deleting a music album
  • Fix OSError: Invalid argument when Plex returns an invalid timestamp

2.12.11 (beta only)

  • Fix PKC not auto-picking audio/subtitle stream when transcoding
  • Fix ValueError when deleting a music album
  • Fix OSError: Invalid argument when Plex returns an invalid timestamp