The Movie Database Support

Working from a Web Sources script in mp3tag.

Search function is working properly, (So I am reasonably sure that it's not something up with API token)

But when it goes to pull data it throws a 401 error at me.

Code is:

[AlbumUrl]=https://api.themoviedb.org/3/tv/

json_select "id"

  SayRest

  Say "/season/TVSEASON/episode/TVEPISODE?append_to_response=api_key=xxxxxxxxxxxxxxx&language=en"

1 reply (on page 1 of 1)

Jump to last post

@Morningstar42 said:
401 error on retrieval.
Working from a Web Sources script in mp3tag.
Search function is working properly, (So I am reasonably sure that it's not something up with API token)
But when it goes to pull data it throws a 401 error at me.
Code is:
[AlbumUrl]=https://api.themoviedb.org/3/tv/
json_select "id"

  SayRest

  Say "/season/TVSEASON/episode/TVEPISODE?append_to_response=api_key=xxxxxxxxxxxxxxx&language=en"

Your API Key cannot be a parameter of &append_to_response=.
&append_to_response= should be used for additional data in a basic data search.
https://developer.themoviedb.org/docs/append-to-response

I don't know what data you want from the episode.
https://developer.themoviedb.org/reference/tv-episode-details
I assume that in addition to the Basic Data you also want the Credits.
If it's the Credits then your API Request should be written like this:

https://api.themoviedb.org/3/tv/4614/season/14/episode/6?api_key=THE_KEY&language=en-US&append_to_response=credits

You can also fetch only the credits directly.
https://developer.themoviedb.org/reference/tv-episode-credits

https://api.themoviedb.org/3/tv/4614/season/14/episode/6/credits?api_key=THE_KEY&language=en-US

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login