mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor(media): unify media identity and chain responsibilities
This commit is contained in:
@@ -425,7 +425,8 @@ class SearchChainAIRecommendTest(unittest.IsolatedAsyncioTestCase):
|
||||
),
|
||||
):
|
||||
chain.search_by_id(
|
||||
tmdbid=123,
|
||||
media_source="themoviedb",
|
||||
media_id="123",
|
||||
mtype=MediaType.MOVIE,
|
||||
area="title",
|
||||
season=2,
|
||||
@@ -437,7 +438,9 @@ class SearchChainAIRecommendTest(unittest.IsolatedAsyncioTestCase):
|
||||
(
|
||||
"__search_params__",
|
||||
{
|
||||
"keyword": "tmdb:123",
|
||||
"keyword": "",
|
||||
"media_source": "themoviedb",
|
||||
"media_id": "123",
|
||||
"type": "电影",
|
||||
"area": "title",
|
||||
"title": "",
|
||||
|
||||
Reference in New Issue
Block a user