diff --git a/README.md b/README.md index 61f013e..7cd31f3 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Now you select the result you want, and the plugin will cast its magic, creating | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | | [Jikan](https://jikan.moe/) | Jikan is an API that uses [My Anime List](https://myanimelist.net) and offers metadata for anime. | series, movies, specials, OVAs, manga, manwha, novels | No | 60 per minute and 3 per second | Yes | | [OMDb](https://www.omdbapi.com/) | OMDb is an API that offers metadata for movies, series, and games. | series, movies, games | Yes, you can get a free key here [here](https://www.omdbapi.com/apikey.aspx) | 1000 per day | No | -| [TMDB](https://www.themoviedb.org/) | TMDB is a API that offers community editable metadata for movies and series. | series, movies | Yes, by making an account [here](https://www.themoviedb.org/signup) and getting your `API Key` (**not** `API Read Access Token`) [here](https://www.themoviedb.org/settings/api) | 50 per second | Yes | +| [TMDB](https://www.themoviedb.org/) | TMDB is a API that offers community editable metadata for movies and series. | series, movies | Yes, by making an account [here](https://www.themoviedb.org/signup) and getting your `API Read Access Token` (**not** `API Key`) [here](https://www.themoviedb.org/settings/api) | 50 per second | Yes | | [MusicBrainz](https://musicbrainz.org/) | MusicBrainz is an API that offers information about music releases. | music releases | No | 50 per second | No | | [Wikipedia](https://en.wikipedia.org/wiki/Main_Page) | The Wikipedia API allows access to all Wikipedia articles. | wiki articles | No | None | No | | [Steam](https://store.steampowered.com/) | The Steam API offers information on all Steam games. | games | No | 10000 per day | No | @@ -152,6 +152,11 @@ Now you select the result you want, and the plugin will cast its magic, creating - the ID you need is the ID of the movie or show on [IMDb](https://www.imdb.com) - you can find this ID in the URL - e.g. for "Rogue One" the URL looks like this `https://www.imdb.com/title/tt3748528/` so the ID is `tt3748528` +- [TMDB](https://www.themoviedb.org/) + - the ID you need is the numeric value in the URL directly following `/movie/` or `/tv/` + - e.g. for "Stargate" the URL looks like this `https://www.themoviedb.org/movie/2164-stargate` so the ID is `2164` + - When searching by ID you need to select `TMDBSeriesAPI`, `TMDBSeasonAPI`, or `TMDBMovieAPI` for series, seasons, and movies respectively. + - Season ID searches use the format `/season/` - season 1 of The Expanse expects `63639/season/1` - [MusicBrainz](https://musicbrainz.org/) - the id of a release is not easily accessible; you are better off just searching by title - the search is generally for albums but you can have a more granular search like so: diff --git a/src/settings/Settings.ts b/src/settings/Settings.ts index 4c24635..6ccb6b3 100644 --- a/src/settings/Settings.ts +++ b/src/settings/Settings.ts @@ -556,8 +556,8 @@ export class MediaDbSettingTab extends PluginSettingTab { apiKeyGroup.addSetting( setting => void setting - .setName('TMDB API key') - .setDesc('API key for "https://www.themoviedb.org".') + .setName('TMDB API Token') + .setDesc('API Read Access Token for "https://www.themoviedb.org".') .addText(cb => { cb.setPlaceholder('API key') .setValue(this.plugin.settings.TMDBKey)