mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
Feat: Set mediaType and scrapper to all paths for movies and tvshows
This commit is contained in:
parent
d6a086a09b
commit
8de0a022b6
1 changed files with 4 additions and 3 deletions
|
@ -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 = ?
|
||||||
|
|
Loading…
Reference in a new issue