First of all, love this project. I have been using Emby/Kodi for a while now but I am finding the Emby iOS app to be lacking while the Plex iOS app is solid. I’ve decided to do something a little different and I’m hoping you can help me with the last bit that’s proving problematic/annoying.
I’m more or less building a control-less Kodi/Plex HTPC. I’ve modified a skin to have a more or less blank Home screen and the goal (via your Plex Companion) is to fully control my Kodi/TV setup via the Plex iOS app. So far this is working really well, I’ll still use my remote control for volume control and switching audio tracks, enabling/disabling subtitles, etc. but other than that the setup is working great.
The only thing that’s really bugging me is that the Plex Companion has a client navigation feature enabled. Because of this, anytime I select the Kodi target (via the iOS app) I get a basic navigation control menu that pops up (Up, Down, Left, Right, Home and Back). This menu also pops up any time I stop playback. Not a huge deal and I figured I was stuck with it but this afternoon I was testing playback from my iPad to the Plex app on my Apple TV and noticed that there was no option for client navigation when connected to that client. I had no idea this feature might be optional and client dependent.
So, my ask is. Can you tell me how to disable the client navigation piece on your Plex Companion? I’m ok to do a hack job for now but would love to see this as an option in the addon settings (toggle client navigation on/off kind of thing).
Anyway, thanks again and let me know if you can help me out. I was poking around your code but my python is rusty sad to say
tret
Edit: Actually found the code (pretty minimal actually) and was able to make the necessary edits to remove the client navigation features. Now my iOS app just switches between playback targets without popping up the navi controls. Would still like to see this as an option in the addon settings though so I won’t have to modify the code whenever I update the addon. Thanks!
I’ve had the sync thread die a few times with 1.1.0. I include the hopefully relevant section from the kodi log. 21:53:05 T:10556 ERROR: PlexKodiConnect LibrarySync -> LibrarySync thread crashed 21:53:05 T:10556 ERROR: PlexKodiConnect LibrarySync -> Error message: could not convert string to float: 21:53:10 T:10556 ERROR: Exception in thread Thread-6: Traceback (most recent call last): File "C:\Program Files (x86)\Kodi\system\python\Lib hreading.py", line 810, in __bootstrap_inner self.run() File "C:\Users\gyre\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1426, in run self.run_internal() File "C:\Users\gyre\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1601, in run_internal processMessage(message) File "C:\Users\gyre\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1199, in processMessage self.process_playing(message['_children']) File "C:\Users\gyre\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1406, in process_playing 'lastViewedAt': utils.DateToKodi(utils.getUnixTimestamp()) File "C:\Users\gyre\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\utils.py", line 36, in DateToKodi stamp = float(stamp) + float(window('kodiplextimeoffset')) ValueError: could not convert string to float:
Edit: Actually found the code (pretty minimal actually) and was able to make the necessary edits to remove the client navigation features. Now my iOS app just switches between playback targets without popping up the navi controls. Would still like to see this as an option in the addon settings though so I won’t have to modify the code whenever I update the addon. Thanks!
@tret Mind sharing what you did exactly? I wouldnt mind this workflow on my iPhone as well.
@tret Mind sharing what you did exactly? I wouldnt mind this workflow on my iPhone as well.
Removed code edit details.
While I was able to get rid of the navigation pop-up in the iOS app doing so caused some stability issues resulting in funky playback/connectivity between the app and Kodi. Will have to wait and see what @croneter has to say on the topic.
Can you check the edits in this post to make sure I’m not missing something in the bigger picture that may cause stability issues? Again, if you could make the Plex client navigation bits optional (via the settings) that would be awesome.
I have a Fire TVStick (1gen) with Kodi 16 Installed, your latest build give me an error “PlexKodiConnect failed to start”, revert to previous version and work, delete all and reinstall kodi not solution, on next days i try to upload the logs
Same here on my Mac mini. PKC 1.1.0 just gives an error at startup. No matter what settings / resets.
Reverting back to 1.0.17 solves the error and everything works as it used to.
@bigbadrabbit said:
Same here on my Mac mini. PKC 1.1.0 just gives an error at startup. No matter what settings / resets.
Reverting back to 1.0.17 solves the error and everything works as it used to.
same here, unable to get 1.1.0 to run/sync after install… does not find server (macmini also)
I had the same problem initially. I am using a FTV v2 box on all of the systems in my home and on two of the systems i kept getting this. I tried uninstall and reinstall without relief. I finally noticed the full reset option on advanced and that fixed it. Additionally, I am setting up my system with manual IP because it doesnt seem to find my PMS upstairs by itself. I am using .16 of the code and noted that this was either fixed or improved in the .17 version will try that today. A few questions on moving versions forward.
Will there eventually be a “Search” function in PKC. I understand this is Beta at this time, so just wanted to ask that question and see if there was a timetable for this feature. If it is not planned, what would be the chances on getting one added?
Thanks for all the hard work.
P.S. For the most part the entire process of loading the PKC went flawless with only a few minor hiccups on AFTV box. Keep up hard work and let me know if I can help in any small way.
Al
No. Does not make sense as you can use kodi functions to search
Wow, will need to check that out. I got so use to having a search option under PleXBMC that I never even checked to see if onewas in Kodi. Was not aware that Kodi could search the for what movies were in the PKC database. Thanks for the tip. I will investigate it. I am still a bit new to this.
I dont mind being the new guy, but hate being the idiot. I have been searching for how to search to see if I have a movie in PKC from within kodi. I checked all the tabs under PKC thinking maybe I didnt enable it, I checked the movie tab in kodi and tried every button on controller to bring up a submenu that might have search, i checked the subtabs under video and movies and didnt see a search function and none of my buttons on my controller brought up a menu with search as a function. Can someone give me a hint on how to search for one of my movies on PKC using kodi functions. Am I missing something very basic here?
Using AFTV V2 with the gaming controller which has all of the buttons of the normal AFTV plus some.
@lindseyinvestments said:
I dont mind being the new guy, but hate being the idiot. I have been searching for how to search to see if I have a movie in PKC from within kodi. I checked all the tabs under PKC thinking maybe I didnt enable it, I checked the movie tab in kodi and tried every button on controller to bring up a submenu that might have search, i checked the subtabs under video and movies and didnt see a search function and none of my buttons on my controller brought up a menu with search as a function. Can someone give me a hint on how to search for one of my movies on PKC using kodi functions. Am I missing something very basic here?
Using AFTV V2 with the gaming controller which has all of the buttons of the normal AFTV plus some.
You help is appreciated,
Al
Search is a pretty basic part of Kodi but where it is depends on the skin your using. Maybe we can start there? As far as Kodi is concerned it is searching it own internal database (which it really is). PKC has nothing to do with the search function really other than writing the info to the internal Kodi database.
I’m trying to change from addon default setup to native paths in PKC settings. After setting everything up how do I resync the library? If I press ok and exit settings nothing happens. Force update all content in settings doesn’t do the trick either? Please help a lost soul.
@Hufvudet said:
I’m trying to change from addon default setup to native paths in PKC settings. After setting everything up how do I resync the library? If I press ok and exit settings nothing happens. Force update all content in settings doesn’t do the trick either? Please help a lost soul.
Im pretty sure you need to do a full resync which is the last item in red under the Advanced tab.
@Hufvudet said:
But that resets everything to default?
I am not sure if it resets all the settings within PKC, However, it will effectively zero out the DB and re-read it all again. Once you do this, I get a small window in the upper right of my screen that shows it ingesting the movies and downloading the information. Unless you have a boatload of setting changes in PKC, that should not prove very problematic.
@lindseyinvestments said:
I dont mind being the new guy, but hate being the idiot. I have been searching for how to search to see if I have a movie in PKC from within kodi. I checked all the tabs under PKC thinking maybe I didnt enable it, I checked the movie tab in kodi and tried every button on controller to bring up a submenu that might have search, i checked the subtabs under video and movies and didnt see a search function and none of my buttons on my controller brought up a menu with search as a function. Can someone give me a hint on how to search for one of my movies on PKC using kodi functions. Am I missing something very basic here?
Using AFTV V2 with the gaming controller which has all of the buttons of the normal AFTV plus some.
You help is appreciated,
Al
Search is a pretty basic part of Kodi but where it is depends on the skin your using. Maybe we can start there? As far as Kodi is concerned it is searching it own internal database (which it really is). PKC has nothing to do with the search function really other than writing the info to the internal Kodi database.
Sorry all, hit the wrong button and posted this by accident. Where is the delete post button…
@lindseyinvestments said:
I dont mind being the new guy, but hate being the idiot. I have been searching for how to search to see if I have a movie in PKC from within kodi. I checked all the tabs under PKC thinking maybe I didnt enable it, I checked the movie tab in kodi and tried every button on controller to bring up a submenu that might have search, i checked the subtabs under video and movies and didnt see a search function and none of my buttons on my controller brought up a menu with search as a function. Can someone give me a hint on how to search for one of my movies on PKC using kodi functions. Am I missing something very basic here?
Using AFTV V2 with the gaming controller which has all of the buttons of the normal AFTV plus some.
You help is appreciated,
Al
Search is a pretty basic part of Kodi but where it is depends on the skin your using. Maybe we can start there? As far as Kodi is concerned it is searching it own internal database (which it really is). PKC has nothing to do with the search function really other than writing the info to the internal Kodi database.
I am using the original Confluence skin. I have the settings inside of Confluence set to expert so I can see all of the potential options.
Edit: Actually found the code (pretty minimal actually) and was able to make the necessary edits to remove the client navigation features. Now my iOS app just switches between playback targets without popping up the navi controls. Would still like to see this as an option in the addon settings though so I won’t have to modify the code whenever I update the addon. Thanks!
@tret Mind sharing what you did exactly? I wouldnt mind this workflow on my iPhone as well.
I replied to this earlier today but found my code edits left the iOS app > Kodi playback a bit unstable so I pulled the details. Since then I’ve found a way better one line change that gives me the exact result I was looking for and as far as I can tell via testing doesn’t cause any stability/usage issues. As a bonus it leaves the client navigation feature intact but doesn’t default to it when selecting a target in the iOS app or after stopping playback. The navigation screen can be activated as needed in the target client selection menu.
Here’s the code change (btw @croneter I find this to be a much better workflow for the companion in case you want to consider making the change yourself going forward)