Revert "Feat: added idParentPath to tvshows"

This reverts commit 63d40810e85850642ad0b48e196b9a07cd379b7d.
This commit is contained in:
GrégoireDruant 2023-05-04 20:07:33 +02:00
parent 5b0fecf50c
commit 0473c1eb77

View file

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