Jump to content

Error using local paths


Recommended Posts

inesergio
Posted

When using the option for local paths and not the addon redirect the sinc stops at TV Shows.

 

kodi.log:

 

00:09:03 T:140361066342144   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument of type 'bool' is not iterable
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/service.py", line 259, in <module>
                                                Service().ServiceEntryPoint()
                                              File "/storage/.kodi/addons/plugin.video.emby/service.py", line 146, in ServiceEntryPoint
                                                libSync = librarySync.FullLibrarySync()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 83, in FullLibrarySync
                                                self.TvShowsFullSync(connection,cursor,pDialog)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 306, in TvShowsFullSync
                                                self.EpisodesFullSync(connection,cursor,item["Id"])
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 351, in EpisodesFullSync
                                                WriteKodiVideoDB().addOrUpdateEpisodeToKodiLibrary(item["Id"], kodiShowId, connection, cursor)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/WriteKodiVideoDB.py", line 622, in addOrUpdateEpisodeToKodiLibrary
                                                if "\\" in playurl:
                                            TypeError: argument of type 'bool' is not iterable
                                            -->End of Python script error report<--
 

 

 

 

btw the reason I want to use this setting is for the kodi skin to identify the filename in the info screen. It's possible using the defaul option for the skin to display the filename?

thank you.

Angelblue05
Posted

If it returned false in the first place. Most likely your paths are incorrect to begin with (there's no protocol attached to it, like smb, etc.) What are your paths like in your Emby dashboard > Library? Do you use path substitution?

inesergio
Posted

If it returned false in the first place. Most likely your paths are incorrect to begin with (there's no protocol attached to it, like smb, etc.) What are your paths like in your Emby dashboard > Library? Do you use path substitution?

I use "/media/user/path" and don't use path substitution

inesergio
Posted

yep, paths had problems but it should not crash. The change I made should stop the crash and just return with nothing added to the Kodi DB for that item.

How do I try this change?

inesergio
Posted

Ok, I don't know if it's related but I have two other problems. My Photo library doesn't show in the server, the path is /media/user/fotos and I have the photos in many directorys named by month and year.

The other problem is that when adding sources if I choose a Disk I don't see the directorys while browsing. don't know how to explain but I have 8 disks and all of them when I choose /media/user/disk I get only the 3 dots and nothing else but if I have a mount in fstab for /media/user/disk/othermovies then I can browse all the sub dirs.

inesergio
Posted

solved with path substitution:" /home/user/media to \\server\ " but I don't understand why I need this, I was not using drive letters. What do I lose by using local path option in Kodi? it's not possible, without that option, to send the local path to client? (I need to download the correct subtitle)

 

can you please help me with this:

 

My Photo library doesn't show in the server, the path is /media/user/fotos and I have the photos in many directorys named by month and year.

The other problem is that when adding sources if I choose a Disk I don't see the directorys while browsing. don't know how to explain but I have 8 disks and all of them when I choose /media/user/disk I get only the 3 dots and nothing else but if I have a mount in fstab for /media/user/disk/othermovies then I can browse all the sub dirs.

Guest
This topic is now closed to further replies.
×
×
  • Create New...