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
1 changed files with 4 additions and 3 deletions

View File

@ -353,9 +353,10 @@ 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_tvshow_obj = ["{Path}", "tvshows", "metadata.local", 1, "{PathId}"]
update_path_episode_obj = ["{Path}", "tvshows", "metadata.local", 1, "{PathId}"]
update_path_mvideo_obj = ["{Path}", "musicvideos", "metadata.local", 1, "{PathId}"]
update_file = """
UPDATE files
SET idPath = ?, strFilename = ?, dateAdded = ?