Skip to content

Comments

Search by external id#709

Merged
IRHM merged 4 commits intodevfrom
search-by-id
Dec 5, 2024
Merged

Search by external id#709
IRHM merged 4 commits intodevfrom
search-by-id

Conversation

@IRHM
Copy link
Member

@IRHM IRHM commented Dec 5, 2024

Changes made

You can now use the search bar to lookup movies/tv/people via external ids with this format: provider:id eg: imdb:tt15435876

If there is only one result (which should be every time?), you will be redirected straight to the content.

Added support for all the ones tmdb supports:

  • imdb (aliases: i, imd)
  • tvdb (aliases: thetvdb)
  • youtube (aliases: yt)
  • wikidata (aliases: wd, wdt)
  • facebook
  • instagram
  • twitter
  • tiktok

(also simplified some search result structs for the server)

Closes #564

IRHM added 4 commits December 3, 2024 23:04
encountered a bug where doing a search while last was loading could infinitely keep loading next pages because curPage got higher than maxContentPage.

Corrected the logic to check for curPage bigger OR equal to max page, rather than only checking equal.
@IRHM IRHM added the enhancement New feature or request label Dec 5, 2024
@IRHM IRHM self-assigned this Dec 5, 2024
@IRHM IRHM merged commit 6c40487 into dev Dec 5, 2024
@IRHM IRHM deleted the search-by-id branch December 5, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search by id

1 participant