Feat: added idParentPath to tvshows

This commit is contained in:
GrégoireDruant 2023-05-04 20:07:33 +02:00
parent 437df77246
commit fcda2ec043

View file

@ -348,14 +348,14 @@ VALUES (?, ?, ?, ?)
update_path = """
UPDATE path
SET strPath = ?, strContent = ?, strScraper = ?, noUpdate = ?
SET strPath = ?, strContent = ?, strScraper = ?, noUpdate = ?, idParentPath = ?
WHERE idPath = ?
"""
update_path_movie_obj = ["{Path}", "movies", "metadata.local", 1, "{PathId}"]
update_path_toptvshow_obj = ["{TopLevel}", "tvshows", "metadata.local", 1, "{TopPathId}"]
update_path_tvshow_obj = ["{Path}", None, None, 1, "{PathId}"]
update_path_episode_obj = ["{Path}", None, None, 1, "{PathId}"]
update_path_mvideo_obj = ["{Path}", "musicvideos", None, 1, "{PathId}"]
update_path_movie_obj = ["{Path}", "movies", "metadata.local", 1, None, "{PathId}"]
update_path_toptvshow_obj = ["{TopLevel}", "tvshows", "metadata.local", 1, None, "{TopPathId}"]
update_path_tvshow_obj = ["{Path}", None, None, 1, "{TopPathId}", "{PathId}"]
update_path_episode_obj = ["{Path}", None, None, 1, None, "{PathId}"]
update_path_mvideo_obj = ["{Path}", "musicvideos", None, 1, None, "{PathId}"]
update_file = """
UPDATE files
SET idPath = ?, strFilename = ?, dateAdded = ?