Big update out. I hope I did not brake too much - please send me logs if I messed it up :-). Otherwise I can’t help you.
YOU WILL NEED TO RECONNECT TO YOUR PMS: PKC Settings -> Connection -> ‘Choose Plex Server from a list’. Just repick your PMS
True Direct Play: Kodi will now try to grab your video file directly by using the path it was passed by Plex. If that is not possible, Direct Streaming will be used automatically (what we used up till now). Simply set-up your Plex libraries to point to something like \\MyNas\movies or smb://MyNas/movies and then go to Settings -> ‘Customize Paths’. Benefits:
Faster startup (but not as fast as direct paths)
Kodi knows the video filename for e.g. additional subtitle download
This is independant of the ‘Native (direct paths)’ setting and only works for the ‘Addon (http)’
##Changelog## version 1.1.3
YOU WILL NEED TO RECONNECT TO YOUR PMS: PKC Settings -> Connection -> ‘Choose Plex Server from a list’. Just repick your PMS
‘true’ awesome & fast direct play without ‘direct paths’ if your Plex library points to paths that are accessible to Kodi. Customize paths in the settings
Fix endless trailer loop
Fix smart playlists (you will need to choose ‘Refresh Plex playlists/nodes’)
Plex Collections available under Movies-Collections
Fix TypeError when marking item watched
Shutdown lib sync threads correctly on user switch
Fix KeyError if Kodi webserver disabled
Fix playback report for trailers that seem like the movie
Fix playback report when playing something on a PMS that’s not ours
Correctly stop transcoding
Sync Music playstates on a full library scan (like movies and tv)
Handle connection errors and unauthorized connections differently
Ok, I would like to attempt setting up PKC with Native (direct paths) again. I failed last time. However, before I do another wipe and rebuild I want to be sure I am setting up the replacement paths correctly. Thanks in advance for any help provided.
If I go to Plex and Get Info on a movie it shows this as the path: /Users/MAINUSER/Movies/Total Recall (2012)/Total Recall (2012).m4v
And I am able to connect to the SMB share (on a mac) by going to this server path: smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/Total Recall (2012)/
Then in PKC Configure: PKC->Sync Options->Playback Mode->Native (Direct Paths) PKC->Customize Paths->Replace Plex UNC Paths->OFF PKC->Customize Paths->Replace Plex paths->ON
Original Plex MOVIE path to replace: Would I leave blank? Or /Users/MAINUSER/Movies/
Replace Plex MOVIE with: smb://StorageCenter.local/MAINHD/ or smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/
Or am I completely missing something? Thanks again for the help and cool add-on.
For some reason PKC can’t find my PMS on the local network. I have Custom Addresses in PMS settings set to 10.0.0.2 and 25.101.54.16 (IPs of the server). There is another IP address in the logs, this is a shared server and shouldn’t matter.
I should note that I do not have remote access enabled (double NAT prevents this for me).
Looking at the logs, it seems that PKC is trying to connect to the *.plex.direct URL instead of http://10.0.0.2:32400 URL. Any suggestions?
Don’t seem to be able to edit my last post so I’ll add here:
192.168.56.1 is another IP address of my PMS (VMWare network adapters). It seems to be trying to connect to this address but not any of the other local ones.
@DreamStatic said:
Ok, I would like to attempt setting up PKC with Native (direct paths) again. I failed last time. However, before I do another wipe and rebuild I want to be sure I am setting up the replacement paths correctly. Thanks in advance for any help provided.
If I go to Plex and Get Info on a movie it shows this as the path: /Users/MAINUSER/Movies/Total Recall (2012)/Total Recall (2012).m4v
And I am able to connect to the SMB share (on a mac) by going to this server path: smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/Total Recall (2012)/
Then in PKC Configure: PKC->Sync Options->Playback Mode->Native (Direct Paths) PKC->Customize Paths->Replace Plex UNC Paths->OFF PKC->Customize Paths->Replace Plex paths->ON
Original Plex MOVIE path to replace: Would I leave blank? Or /Users/MAINUSER/Movies/
Replace Plex MOVIE with: smb://StorageCenter.local/MAINHD/ or smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/
Or am I completely missing something? Thanks again for the help and cool add-on.
If you want Kodi to play the files directly then in PKC settings, choose “Playback Mode” as “Native(direct paths)”. Then use “Replace Plex UNC paths \myNas with smb://myNas”. Don’t worry about the last settings where you’ve specified the path yourself. PKC will do that for you.
@croneter said:
Big update out. I hope I did not brake too much - please send me logs if I messed it up :-). Otherwise I can’t help you.
YOU WILL NEED TO RECONNECT TO YOUR PMS: PKC Settings → Connection → ‘Choose Plex Server from a list’. Just repick your PMS
##Changelog## version 1.1.3
Positive feedback here. Updated to new version, cleared library and rebuilt. All done with no issues, everything seems to be playing and working very well. This on a Sony Bravia 4K Android TV.
I also did not need to reconnect my server, that part just worked.
@DreamStatic said:
Ok, I would like to attempt setting up PKC with Native (direct paths) again. I failed last time. However, before I do another wipe and rebuild I want to be sure I am setting up the replacement paths correctly. Thanks in advance for any help provided.
If I go to Plex and Get Info on a movie it shows this as the path: /Users/MAINUSER/Movies/Total Recall (2012)/Total Recall (2012).m4v
And I am able to connect to the SMB share (on a mac) by going to this server path: smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/Total Recall (2012)/
Then in PKC Configure: PKC->Sync Options->Playback Mode->Native (Direct Paths) PKC->Customize Paths->Replace Plex UNC Paths->OFF PKC->Customize Paths->Replace Plex paths->ON
Original Plex MOVIE path to replace: Would I leave blank? Or /Users/MAINUSER/Movies/
Replace Plex MOVIE with: smb://StorageCenter.local/MAINHD/ or smb://StorageCenter.local/MAINHD/Users/MAINUSER/Movies/
Or am I completely missing something? Thanks again for the help and cool add-on.
If you want Kodi to play the files directly then in PKC settings, choose “Playback Mode” as “Native(direct paths)”. Then use “Replace Plex UNC paths \myNas with smb://myNas”. Don’t worry about the last settings where you’ve specified the path yourself. PKC will do that for you.
Is there anyway to show available external and internal subtitles before starting playback? Extra icon indicator or even inject text in description or something similar. Would be great to have.
when installing this natively, i get the pop ups asking if i want to change path to my media files, which would require all users to use these paths or something?
What exactly is this doing? Changing my filenames? Will I not be able to use plex home now or something since direct paths or changing or something?
@DreamStatic said:
Ok, I would like to attempt setting up PKC with Native (direct paths) again. I failed last time. However, before I do another wipe and rebuild I want to be sure I am setting up the replacement paths correctly. Thanks in advance for any help provided.
Check out the new wiki. You might also want to consider Direct Play first
when installing this natively, i get the pop ups asking if i want to change path to my media files, which would require all users to use these paths or something?
What exactly is this doing? Changing my filenames? Will I not be able to use plex home now or something since direct paths or changing or something?
Check out the new wiki. You might also want to consider Direct Play first
@manuelgorman said:
Don’t seem to be able to edit my last post so I’ll add here:
192.168.56.1 is another IP address of my PMS (VMWare network adapters). It seems to be trying to connect to this address but not any of the other local ones.
That is by design. The IP range of your PMS is not the same as your client - hence the PMS seems to be “remote”. If that is the case, PKC falls back to use the *.plex.direct URLs, which should always work. You can still manually plug-in your IP in the other subnet though
when installing this natively, i get the pop ups asking if i want to change path to my media files, which would require all users to use these paths or something?
What exactly is this doing? Changing my filenames? Will I not be able to use plex home now or something since direct paths or changing or something?
Check out the new wiki. You might also want to consider Direct Play first
so heres the context.
Installed PlexKodiConnect. The pop ups scared me a bit, so I went with Add-On.
Installed PseudoTV. TONS of problems. Files being skipped over. Like it would say “Movie 1 at 3pm, Movie 2 and 4pm, Movie 3 and 5pm” and when I went movie 1 skip right to move 3 cause it couldnt play 2.
Uninstalled everything. Went with Direct play. hit NO to the adds on that popped up.
PseudoTV SEEMS to be working perfectly fine now. However, Kodi is installed on the same machine as my plex media server. reason i ask is this makes me think if i installed this setup on say, a rasbpi, id have to hit YES to those pop ups and im not really sure what that means for my library, my plex home extends to like 8 users. Im not sure the effects of changing the paths that PKC wants to change.
Just updated to verdien 1.1.3, did a reset of the database and selected my server again with pin. My local server did show up, the last time i tried this a few versions ago i shaw only my remote server.
The only problem i had with live tv is sloved Now, thanks for this.
So far no problems found, but did not test everything yet, but it looks good.
when installing this natively, i get the pop ups asking if i want to change path to my media files, which would require all users to use these paths or something?
What exactly is this doing? Changing my filenames? Will I not be able to use plex home now or something since direct paths or changing or something?
Check out the new wiki. You might also want to consider Direct Play first
so heres the context.
Installed PlexKodiConnect. The pop ups scared me a bit, so I went with Add-On.
Installed PseudoTV. TONS of problems. Files being skipped over. Like it would say “Movie 1 at 3pm, Movie 2 and 4pm, Movie 3 and 5pm” and when I went movie 1 skip right to move 3 cause it couldnt play 2.
Uninstalled everything. Went with Direct play. hit NO to the adds on that popped up.
PseudoTV SEEMS to be working perfectly fine now. However, Kodi is installed on the same machine as my plex media server. reason i ask is this makes me think if i installed this setup on say, a rasbpi, id have to hit YES to those pop ups and im not really sure what that means for my library, my plex home extends to like 8 users. Im not sure the effects of changing the paths that PKC wants to change.
The changes PKC makes are only on the API/the communication with the Plex server. It does never change anything on your PMS.
That being said, you would still need to move your Plex libraries so that they point to something like smb://myNas/movies, following this guide. If you don’t screw that up, Plex continues to work as usual
@croneter WOW!! You wrote a Wiki?!?! Have you also coded a “Time Generator” as you are just flying creating this add-on!
But seriously, thank you for the Wiki it does answer a lot of questions to make sure I am following your intentions. **So helpful. **
I am running the full re-sync now to attempt direct paths I will let you know how it goes. And per your Wiki it looks like both @jasmart and @mkutscher were correct in their awesome responses to me on direct paths. Thank you guys for your help as well. I sure appreciate it.