Feat: Set mediaType and scrapper to all paths for movies and tvshows

This commit is contained in:
GrégoireDruant 2023-05-06 09:59:09 +02:00
parent d6a086a09b
commit 8de0a022b6

View file

@ -353,9 +353,10 @@ WHERE idPath = ?
""" """
update_path_movie_obj = ["{Path}", "movies", "metadata.local", 1, "{PathId}"] update_path_movie_obj = ["{Path}", "movies", "metadata.local", 1, "{PathId}"]
update_path_toptvshow_obj = ["{TopLevel}", "tvshows", "metadata.local", 1, "{TopPathId}"] update_path_toptvshow_obj = ["{TopLevel}", "tvshows", "metadata.local", 1, "{TopPathId}"]
update_path_tvshow_obj = ["{Path}", None, None, 1, "{PathId}"] update_path_tvshow_obj = ["{Path}", "tvshows", "metadata.local", 1, "{PathId}"]
update_path_episode_obj = ["{Path}", None, None, 1, "{PathId}"] update_path_episode_obj = ["{Path}", "tvshows", "metadata.local", 1, "{PathId}"]
update_path_mvideo_obj = ["{Path}", "musicvideos", None, 1, "{PathId}"] update_path_mvideo_obj = ["{Path}", "musicvideos", "metadata.local", 1, "{PathId}"]
update_file = """ update_file = """
UPDATE files UPDATE files
SET idPath = ?, strFilename = ?, dateAdded = ? SET idPath = ?, strFilename = ?, dateAdded = ?