TiVo Community Forum banner
1 - 5 of 5 Posts

·
Registered
Joined
·
125 Posts
Yesterday I started seeing this:

Rectangle Font Screenshot Software Technology


This morning the exception was gone, but I'm saw Search error: Not Found instead of the list of shows. I don't see any major changes to theTVDB API docs to indicate something changed there
I closed the application, deleted the C:\Users\me\AppData\Roaming\Metagenerator folder and relaunched the application but still saw the same error.
Now the exception is back
 

·
Registered
Joined
·
125 Posts
@Atomic TacoNot seeing these issues. However, I notice the programId search finds no results for "Deadliest Catch", but no error message, just no PID's, although it does find a seriesID.
What endpoint does the search hit? I want to try it from that machine. I know Win 7 is long abandoned and I should update that machine; maybe root certs could be to blame.
 

·
Registered
Joined
·
125 Posts
@Atomic Taco Make sure your using the correct seriesId, SH0045266952. I don't get any errors, but I found 2 seriesIds that match "Deadliest Catch". The "bad" one is SH0441900122.

Using the correct seriesId, I was able to find almost all of the programIds.
That's not possible. The exception is thrown immediately upon clicking the search button. It's not possible to select a TV series (because none are ever returned) much less select a series and enter the seriesId.
 

·
Registered
Joined
·
125 Posts
I want to clear the air and explain a little bit more about what's going on here...

First is a domain token. This is generated by TiVo Online by each individual user. This allows MG3 to query TiVo Online as though it were that user logged in to the browser and retrieve series and episode IDs.

Then there is an API key for TheTVDB. These are issued per project and like @dlfl mentions they are secret to the project. It should only be visible by those compiling the source of MG3.

As has been diagnosed above my problem was not with the TiVo domain token but the search that is performed against TheTVDB.

The link above to the docs tells me that MG3 hitting the v4 API and not the v3 API. I've tested calls to the API server both via a browser and command-line cURL and don't see any certificate issues. My theory was that the root certificates on my machine had expired and were not updated, which means that my machine would not be able to validate a certificate presented by any website. A client does not download the certificate (per se); it's the trust chain against the root CAs that was my thought. But that's not it.

The error isn't specific to any one show; it happens on all searches. Searches against TMDb and TheMovieDB work fine.

I downloaded MG3 4.03 on to a Win10 machine and series searches against TheTVDB work as expected. So everything works, there's just something environment specific.

Looking deeper in to the stack trace it seems like the data coming back from TheTVDB is not in an expected format. Could it be an expired TVDB token causing the API to return an authorization failed message instead of the expected search results?

Besides deleting the Metagenerator folder in AppData is there anything I need to do to have the app run like a clean "install"?
 

·
Registered
Joined
·
125 Posts
Just to clarify my understanding: The problem is theTVDB searches fail on a Win7 PC but are OK on a Win10 PC. Correct?
To quote David Puddy: "yeah, that's right"
One possible candidate:

A commit message in the MG3 repo dated 17 Dec 2021 is:
"TVDB V4 needs .net 4.7.2 for TLS 1.2"
MG3 is targeted to .NET Framework 4.7.2.for this reason..
What an excellent find! This seems to be the issue; after following the instructions in the linked doc for adding the reg keys searching works again on the Win7 machine. Thank you!
 
1 - 5 of 5 Posts
Top