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"
|
Video DB: Adds all subdirectories to path table while setting a "trail"
|
||||||
of parent path ids
|
of parent path ids
|
||||||
"""
|
"""
|
||||||
parentpath = path_ops.path.abspath(
|
parentpath = path_ops.path.split(path_ops.path.split(path)[0])[0]
|
||||||
path_ops.path.join(path, path_ops.path.pardir))
|
parentpath = path_ops.append_os_sep(parentpath)
|
||||||
pathid = self.get_path(parentpath)
|
pathid = self.get_path(parentpath)
|
||||||
if pathid is None:
|
if pathid is None:
|
||||||
self.cursor.execute('''
|
self.cursor.execute('''
|
||||||
|
|
Loading…
Reference in a new issue