fattony 4 Posted March 20, 2017 Posted March 20, 2017 Hi, I’m connecting remotely to an emby server using the Addon for kodi, I’m using the “Native (Direct paths)” playback mode as there will be times when there is no network connection to the remote emby server. When content is added to the remote emby server, this shows up immediately as expected locally in kodi witch is great BUT!!! ... As I am in a remote location to the emby server, the actual content that has been added to the emby server takes time to then be transferred (via 3rd party sync software) to my remote location. Consequently the Emby addon for kodi is complaining Kodi can't locate file: You may need to verify your network credentials in the add-on settings or use the Emby path substitution to format your path correctly (Emby dashboard > library). Stop syncing? Is there any way to stop emby addon from verifying if direct path is accessible or not.? As this Is proving a headache with the constant warnings and users unwittingly choosing to stop syncing. Taking the exact same scenario as above but this time using “Addon (Default)” Playback Mode, there is no problem and the above warning “Kodi can't locate file:” window is not triggered. This is perfect exactly as I need it! But I need to use the “Native (Direct paths)” playback mode for times when there is no network connection to the remote emby server. I found this in plugin.video.emby/resources/lib/objects/_common.py Seems to be relevant @classmethod def path_validation(cls, path): # Verify if direct path is accessible or not verify_path = path if not os.path.supports_unicode_filenames: verify_path = path.encode('utf-8') if window('emby_pathverified') != "true" and not xbmcvfs.exists(verify_path): if dialog(type_="yesno", heading="{emby}", line1="%s %s. %s" % (lang(33047), path, lang(33048))): window('emby_shouldStop', value="true") return False Hope this makes sense, quite a difficult one to articulate Thanks for any help!
Recommended Posts