Metagenerator 3 -- Support & Downloads

Discussion in 'TiVo Home Media Features & TiVoToGo' started by dlfl, Jun 7, 2018.

  1. elprice7345

    elprice7345 Member TCF Club

    324
    15
    Sep 28, 2009
    Denver, CO
    The good news it's working again for me ... the bad news ... MG3 returns more search results than it used to.

    TVDB v2 searches in MG3 for "ruins" only returned "Adam Ruins Everything". Similarly, searches for "fringe" only returned the show "Fringe".

    Now, when I do the same searches, I get the expected shows in the results, but also many more shows. Some of the titles appear to be in different languages.

    Any ideas on what happened to search? I know TVDB improved their search functionality significantly ... maybe the changes impacted MG3 negatively? Maybe they changed the way they handle languages?

    Can you have a look @dlfl?
     
  2. Sparky1234

    Sparky1234 Well-Known Member

    2,137
    299
    May 8, 2006
    Down for most of the day. Its working again now.
     
  3. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    The search API is really screwed up now. According to the documentation the calls and functionality of V3 are identical to V2. However a lot of data is missing, e.g., a series name and ID will be returned but when you try to retrieve data for the series using that ID a null document is returned. This should be impossible so the error isn't handled in MG3. If you get a crash when you select a series to get episodes, that is what caused it.

    At the moment the interactive website search isn't responding to searches at all so, for example, I can't check to see if ID's found via the API match those in the web page..

    I'm not going to address MG3 search issues until they get this thing settled down. I already wasted hours on the authorization problem which eventually went away with no changes needed in MG3 code.
     
    Mikeguy and mlippert like this.
  4. Zaphod

    Zaphod Member

    146
    7
    Feb 17, 2003
    Des Moines,...
    Thanks for the update. Yep, that's what I'm seeing now. I get search results for the series title, but it crashes when I try to retrieve episode info. Will wait it out.
     
  5. elprice7345

    elprice7345 Member TCF Club

    324
    15
    Sep 28, 2009
    Denver, CO
    Sorry for TVDB wasting your time @dlfl, but thanks for looking into the issues!

    Last night MG3 worked briefly and then later I only got search timeouts.

    This morning I’m getting search results, but when I click on a series title, MG3 crashes. I suspect this is the same error everyone else is seeing:
    Code:
    ************** Exception Text **************
    
    System.NullReferenceException: Object reference not set to an instance of an object.
    
       at MetaDataSearch.theTVDBSearch.BuildSeries(String& status)
    
       at TVSearchForm.TVSearchForm.bwShowSelected_DoWork(Object sender, DoWorkEventArgs e)
    
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) 
    FYI … I’m able to search TVDB from the web site this morning.

    When TVDB first rolled out v3 of the web site earlier this summer, they were going to wait and roll out v3 of the API at some later date. It seems like this upgrade to v3 of the web site also included v3 of the API? Is that your understanding as well @dlfl? I can't find any definitive statements in the TVDB forums.
     
  6. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    I'm not sure what's going on with the api, and the info in their forum is far from clear. But I can say that:
    1. MG3 is using the API in accordance with their documentation, see:
    The TVDB API
    2. Many others are reporting the same problem i described in my previous post, so I'm sure they are working to correct it.
     
    elprice7345 likes this.
  7. kflinch

    kflinch Member

    37
    2
    May 19, 2004
    Philly Suburbs
    Sorry if someone already posted about this. I see "unhandled exception" when I select a TV show from the search results. I upgraded to lasted version (3.89). Still see unhandled exeception. See attachments for screenshot and details.
     

    Attached Files:

  8. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    Err ... yes. Just two posts before yours. :rolleyes: Read the few posts just prior to that to see what's going on.

    BTW your error message says you're running 3.88T2, which is months older than 3.89, although that has nothing to do with this problem.
     
    Last edited: Nov 17, 2019
  9. kflinch

    kflinch Member

    37
    2
    May 19, 2004
    Philly Suburbs
    FYI, I updated the attached screenshot to show v3.89. Thanks for your reply.
     
  10. kflinch

    kflinch Member

    37
    2
    May 19, 2004
    Philly Suburbs
    It was working about an hour ago. I got metadata for 2 TV series.
     
  11. Zaphod

    Zaphod Member

    146
    7
    Feb 17, 2003
    Des Moines,...
    Working for me right now too.
     
  12. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    Is this still an issue? If so, I will attempt to pursue it on the TVDB forum (developers sub-forum), although they don't seem to be responding to many questions there at the moment. I've searched the forum and neither it nor the API documentation yield anything helpful on this. If I can't get any help there, I will consider adding code to MG3 to prune the results for a narrower match criterion.

    I have determined that MG3 is accessing the V3 API by default, i.e., with no code mods needed. But this is subject to change, perhaps without any notice from theTVDB.com, as they continue their V3 rollout.
     
  13. Sparky1234

    Sparky1234 Well-Known Member

    2,137
    299
    May 8, 2006
    It's good to hear that it's working again.
     
  14. Sparky1234

    Sparky1234 Well-Known Member

    2,137
    299
    May 8, 2006
    It's working for TV and movies again. TV search is very slow..... Terrific program, Thanks!!!
     
  15. elprice7345

    elprice7345 Member TCF Club

    324
    15
    Sep 28, 2009
    Denver, CO
    @dlfl It seems to be working. TVDB is returning results, but I need to do some more testing to make sure they're correct, especially given the API changes and issues.

    Been busy the last few days and just now trying to catch up.

    I'll give more detailed feedback later tonight or tomorrow.
     
  16. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    @elprice7345
    I am particularly concerned about your observation that the V3 api is returning many more series than V2 did. Is that still an issue? I've got a test version of MG3 running that computes a similarity distance between each returned series name and the search term. It then sorts the results, most similar first. Then it displays only the top ten results.

    For example, for a search term of just 'ruins', 'Adam Ruins Everything' comes out around fifth place. But if you use a more realistic search term (IMHO) of 'adam ruins', then it comes out in first place. I am amazed if V2 was returning just 'Adam Ruins Everything' for a search query of just 'ruins', as you stated.

    Currently theTVDB.com (web page) returns 30 TV results for a search on 'ruins'. Interesting that 'Adam Ruins Everthing' is first. I don't know what algorithm they might be using to achieve that. I will inquire on their forum but won't hold my breath for an answer.

    If you like the similarity sort idea, I will post a test version. I also solicit your comments about the max results to display.
     
    Last edited: Nov 20, 2019
  17. Sparky1234

    Sparky1234 Well-Known Member

    2,137
    299
    May 8, 2006
    Some one word shows could be a problem with a limit of 10. Can you make it so 11+ shows could be seen by user selection?
     
  18. dlfl

    dlfl Cranky old novice

    8,666
    603
    Jul 6, 2006
    Dayton OH
    Can you give an example of your concern? The similarity sort would be expected to put the correct match for a one word show at the top of the list. For example, I tried 'friends' in my test version and 'Friends' was the top response.
     
  19. elprice7345

    elprice7345 Member TCF Club

    324
    15
    Sep 28, 2009
    Denver, CO
    I’ve tested quite a bit and MG3 seems to be working fine with TVDB with the exception of the new search results.

    TVDB is still slow at times. I added an episode last night and it still isn’t showing in the TVDB results … hopefully it’s a cache issue like I had recently.

    I’m still seeing the search issue and I agree with @Sparky1234 about series with only one word. With one-word series titles, we’ll have to rely on refining the MG3/TVDB API search results or allow the results screen to show more than it does now.

    Searching for “ruins” used to find only “Adam Ruins Everything” and now returns several titles, some of which appear to be in a different language. This particular search is easily fixed by adding another word to the search terms.

    Searching for “fringe” used to yield a small set of results (I don’t remember if it was the only result). Now, the results fill the MG3 screen. Many of the results are in a different language that are probably not relevant to an English language search. AFAIK, MG3 is English only.

    Can you narrow the MG3 searches to English language only? That might fix some of the problems.

    TVDB v3 significantly improved their search functionality on their web site, but in the process changed the API search results. The search is now more friendly, for example searching “friends” didn’t use to return results. Now, it assumes you mistyped and returns “Friends” as the top result. The TVDB web site search results now prioritize results, maybe by popularity? This makes the web site search results much more useful. It also (finally) treats search terms as joined by an AND rather than an OR. Searching for “adam ruins” used to return all series with either the word “adam” or “ruins” in the title.

    Is my understanding correct? A similarity search would place a perfect match like this: searching for “friends” would place “Friends” at the top of the search results, similarly for other one-word titles like fringe, emergence, 24, etc.
     
  20. Sparky1234

    Sparky1234 Well-Known Member

    2,137
    299
    May 8, 2006
    FBI is 5th on the list. Still slow on the results but working again!
     

Share This Page