Direct Paths: fix several issues with episodes
This commit is contained in:
parent
2cc60a8f70
commit
cfdcfb4bc4
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ class KodiVideoDB(common.KodiDBBase):
|
|||
Video DB: Adds all subdirectories to path table while setting a "trail"
|
||||
of parent path ids
|
||||
"""
|
||||
parentpath = path_ops.path.abspath(
|
||||
path_ops.path.join(path, path_ops.path.pardir))
|
||||
parentpath = path_ops.path.split(path_ops.path.split(path)[0])[0]
|
||||
parentpath = path_ops.append_os_sep(parentpath)
|
||||
pathid = self.get_path(parentpath)
|
||||
if pathid is None:
|
||||
self.cursor.execute('''
|
||||
|
|
Loading…
Reference in a new issue