Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Tmdb queries have stopped working (API version?)

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


fatgerman at ntlworld

Nov 11, 2009, 12:26 PM

Post #1 of 4 (542 views)
Permalink
Tmdb queries have stopped working (API version?)

As of tonight, my attempts to download metadata from TheMovieDb have stopped working.

This appears to be because tmdb have changed their API to version 2.1. The script on my setup is using API version 2.0.

I edited the tmdb.pl script to print out the URL it is trying to access, and when I put that URL into firefox I get 'The Requested URL /2.0/Movie.search was not found on this server. After some research I was able to format the request into the correct format for API version 2.1 and I can retrieve that data from firefox.

Is there a version of this script that works with the new API? If not I'll have a bash at doing it myself.

Thanks,

Mark
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


robert.mcnamara at gmail

Nov 11, 2009, 12:31 PM

Post #2 of 4 (505 views)
Permalink
Re: Tmdb queries have stopped working (API version?) [In reply to]

On Wed, Nov 11, 2009 at 12:26 PM, Mark Greenwood <fatgerman [at] ntlworld> wrote:
> As of tonight, my attempts to download metadata from TheMovieDb have stopped working.
>
> This appears to be because tmdb have changed their API to version 2.1. The script on my setup is using API version 2.0.
>
> I edited the tmdb.pl script to print out the URL it is trying to access, and when I put that URL into firefox I get 'The Requested URL /2.0/Movie.search was not found on this server. After some research I was able to format the request into the correct format for API version 2.1 and I can retrieve that data from firefox.
>
> Is there a version of this script that works with the new API? If not I'll have a bash at doing it myself.
>
> Thanks,
>
> Mark

No, To the best of my knowledge the API server is just in a state of
flux, the 2.0 API has not been turned off. See my other post earlier
re: supporting our grabber sources-- Travis is paying for the servers
out of pocket, which doesn't leave much left over for
redundancy/guaranteed uptime.

Expect these issues to continue as he rolls out the newer API (again,
as I understand it the old API will remain) and if he continues to run
short financially. Try again every few hours.

Robert
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fatgerman at ntlworld

Nov 11, 2009, 1:43 PM

Post #3 of 4 (500 views)
Permalink
Re: Tmdb queries have stopped working (API version?) [In reply to]

On Wednesday 11 Nov 2009 20:31:30 Robert McNamara wrote:
> On Wed, Nov 11, 2009 at 12:26 PM, Mark Greenwood <fatgerman [at] ntlworld> wrote:
> > As of tonight, my attempts to download metadata from TheMovieDb have stopped working.
> >
> > This appears to be because tmdb have changed their API to version 2.1. The script on my setup is using API version 2.0.
> >
> > I edited the tmdb.pl script to print out the URL it is trying to access, and when I put that URL into firefox I get 'The Requested URL /2.0/Movie.search was not found on this server. After some research I was able to format the request into the correct format for API version 2.1 and I can retrieve that data from firefox.
> >
> > Is there a version of this script that works with the new API? If not I'll have a bash at doing it myself.
> >
> > Thanks,
> >
> > Mark
>
> No, To the best of my knowledge the API server is just in a state of
> flux, the 2.0 API has not been turned off. See my other post earlier
> re: supporting our grabber sources-- Travis is paying for the servers
> out of pocket, which doesn't leave much left over for
> redundancy/guaranteed uptime.
>
> Expect these issues to continue as he rolls out the newer API (again,
> as I understand it the old API will remain) and if he continues to run
> short financially. Try again every few hours.
>
> Robert

OK Thanks. If it helps, I made the script work, to an extent so far anyway.

Mark

> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


robert.mcnamara at gmail

Nov 11, 2009, 1:46 PM

Post #4 of 4 (492 views)
Permalink
Re: Tmdb queries have stopped working (API version?) [In reply to]

On Wed, Nov 11, 2009 at 1:43 PM, Mark Greenwood <fatgerman [at] ntlworld> wrote:
>
> OK Thanks. If it helps, I made the script work, to an extent so far anyway.
>
> Mark
>

The 2.1 API script will be in .23, but it will be a completely new
script more likely than not, for a few reasons. One is that I want to
be able to offer a return for *any* query, not just those with IMDB
numbers defined. Also, the new script will use some hooks I have been
working on to transition existing records to TMDB numbers (rather than
the current IMDB numbers). It'll also reduce our impact on TMDB.

Robert
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.