mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-31 19:59:31 -05:00
feat(search): search by id (#2082)
* feat(search): search by id This adds the ability to search by ID (starting with TMDb ID). Since there doesn't seem to be way of searching across movies, tv and persons, I have to search through all 3 and use the first one in the order: movie -> tv -> person Searching by ID is triggered using a 'prefix' just like in the *arrs. * fix: missed some refactoring * feat(search): use locale language * feat(search): search using imdb id * feat(search): search using tvdb id * fix: alias type import * fix: missed some refactoring * fix(search): account for id being a string * feat(search): account for movies/tvs/persons with the same id * feat(search): remove non-null assertion Co-authored-by: Ryan Cohen <ryan@sct.dev>
This commit is contained in:
committed by
GitHub
parent
e0b6abe479
commit
b31cdbf074
@@ -1326,7 +1326,7 @@ components:
|
||||
running:
|
||||
type: boolean
|
||||
example: false
|
||||
PersonDetail:
|
||||
PersonDetails:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
@@ -4871,7 +4871,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/PersonDetail'
|
||||
$ref: '#/components/schemas/PersonDetails'
|
||||
|
||||
/person/{personId}/combined_credits:
|
||||
get:
|
||||
|
||||
Reference in New Issue
Block a user