Metagenerator 3 -- Support & Downloads

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

  1. elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO

    Advertisements

    TMDB Slowness
    Retrieving TMDB data for series with many seasons/episodes can take quite a while. Have you experienced this? Is there anything to be done on our side? Is it a TMDB issue? Retrieving data for Frontline on TVDB is nearly instantaneous, while TMDB took 50-55 seconds.
     
  2. elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    T10-12 Testing
    Tested and working

    The file is renamed with the series year concatenated, but the series year doesn’t appear in the MG3 metadata window or in the resulting metadata file.
     
  3. dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    Yes I noticed this immediately and mentioned it in one post of our private conversation (3 Sep 2020). My guess is this results from having to make more internet queries due to different structures of the two API's. Or perhaps the TMDb servers are just slower. I don’t have any ideas on how to speed it up.
     
  4. dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    Just to make my job a little easier, please provide an example or two. Note that this applies only to series titles that include the year in parens in the database itself (not just added by MG3).
     
  5. dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH

    Advertisements

    I’ll work on this.
    I arrived at this position long ago — glad you agree. I’m dumping the ep groups stuff and will implement seasons by year.
     
  6. elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Regarding TMDB Slowness: I thought so … hoping you could manufacture another miracle! ;)

    Regarding Feedback on Episode Groups: Excellent!

    For series with the same title, such as “The Office”, I would like to see the “series start year” appended to the file name (already happening) and the series title in the metadata (not happening yet).

    I believe the “series start year” is derived in TMDB from the OAD of the 1st episode and isn’t part of the series title. As such, MG3 would have to derive it as well and concatenate it to the TMDB series title.

    TMDB doesn’t allow series titles to include the year. From their contribution bible: “There should be no extra info such as the year of release "MacGyver (2016)" or a country code "Shameless (US)" added to the titles.”

    Instead of:
    seriesTitle : The Office
    title : The Office

    It should be:
    seriesTitle : The Office (2005)
    title : The Office (2005)

    Or:
    seriesTitle : The Office (2001)
    title : The Office (2001)
     
  7. dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    Try test distro Ver. 3.91T14 in attached zip.
    EDIT: Attachment removed -- superseded by later test version
    Ver. 3.91T14
    Changed: Episode group by years stuff dumped -- Seasons by year implemented for both TMDb and TVDB.com cases.
    Changed: title and seriesTitle include appended (<year>) in metadata when titles are identical for multiple shows (TMDb)
    Fixed: Series tree didn't clear when series search results list selected item changed.

    @elprice7345 , I think I've addressed everything we discussed. It's a major mod, so not surprising if some bugs were introduced. When using Seasons by year, cases where some or all episodes of a series do not have air dates have to be handled. If none have dates, message is given and no series/episode tree is presented. If some, but not all, have dates, only episodes with dates are displayed in the tree, and appropriate messages are given. To see episodes that had no date, you will have to redo the search with Seasons by year unchecked.
     
    Last edited: Nov 16, 2020
    Sparky1234 likes this.
  8. Nov 3, 2020 #608 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Seasons by year
    If I’m going to bite the bullet and “rename/renumber” my media to match the TMDB, I’m not sure I can come up with a good use case for this feature.

    I know I asked for the episode group feature a while back :(, but as I mentioned earlier, it just seems more complicated than it’s worth and will cause more problems down the road.

    Can you think of any use for Seasons by year?

    Should it be removed?
     
  9. Nov 3, 2020 #609 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Series Year Metadata
    Tested and working!
     
  10. Nov 3, 2020 #610 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Series Posters
    I wasn’t clear on what my concern was.

    Scenario:
    • Search for “The Office” on TMDB
    • Double-click “The Office (2001)”. Series poster disappears and series tree appears
    • Single-click “The Office (2005)”. Series poster appears and series tree disappears
    • Single-click back on “The Office (2001)”. New series poster appears, but series tree disappeared when clicking on “The Office (2005)” and I have to search again.
    Can you leave the series tree in the background until I perform another search and only change the series posters?
     
  11. Nov 3, 2020 #611 of 651
    dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    I hate to remove it after I had so much fun putting it in. :cool:

    But seriously: At a minimum, I would think some users would like to be able to see how episodes break down by years. An extreme example is “Case Closed” which assigns multiple years of episodes to a single season.
    Also, I’m confused, given your comments in post #580:
    .
    I thought the current mod addressed this. (??). What am I missing?

    Assuming I retain Seasons by year, does the checkbox setting need to be persistent? Currently it will default to unchecked on each program start or each time a new TV Search tab is created.
     
    Last edited: Nov 3, 2020
  12. Nov 3, 2020 #612 of 651
    dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    I’m not clear on what you want. For your last step above, you have two choices:
    1. The series tree reappears but without the superimposed poster image.
    2. The behavior in the current test version (poster reappears but tree is gone)
    If there is some other desired result, please advise.

    EDIT: OK, I think I see a better (3rd) choice, which probably is what you would want:
    3. The same as 2 (i.e., current test version) except: When you double-click (or click select button) the previous search results (which have been saved) instantly replace the poster.
     
    Last edited: Nov 3, 2020
  13. Nov 3, 2020 #613 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Seasons by Year Testing
    Sorry, @dlfl! It was late. I was tired and I just wasn’t feeling it. :oops:

    Of course, you are correct! Let’s keep the seasons by year feature. It will come in handy to see chronological order of episodes.

    Regarding persistence of the check box, I agree with the way it’s programmed now: “it will default to unchecked on each program start or each time a new TV Search tab is created”.

    Why are the series results for "seasons by year" presented differently for some series?
    • “The Alienist”: all episodes are prefaced by “MMDD”
    • “Adam Ruins Everything”: all episodes are prefaced by “s#E#”
    • “12 Monkeys”: is a mix of “MMDD” and “s#E#”
    I tested with MG3 set to TVDB (faster), “seasons by year” checked, and the TV series “12 Monkeys”.
    • I like your idea of prefacing the episode title with “MMDD”. Can you do this for all episodes?
    • It is helpful to identify special episodes in the results as different from the official season episodes
    • What about “MMDD-S#E#” as the preface for all episodes?
    “12 Monkeys”, Season 2015, first entry is “s0e2- Out of Time: Testing”
    • When I double-click it, MG3 displays the metadata for the episode “S02E02-Primary”
    • “S00E01- Out of Time: Goodbye” should be the 1st entry with an OAD = 1/15/15
    • Metadata is similarly incorrect for subsequent episodes in that season. I’m guessing there’s a bug there, so I didn’t test all the episodes
    “12 Monkeys”, Season 2016: double-clicking the 1st 3 episodes works fine (with incorrect metadata), but double-clicking the 4th entry “0418-Year of the Monkey” produces the following error:
    Code:
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at TVSearchForm.frmShowTVMG..ctor(series Series, String season, String episode, String metaRenameTemplate, String metaSeriesRenameTemplate, Boolean combineDvdEps, Boolean combineMultiParts)
       at TVSearchForm.TVSearchForm.ShowSelectedEpisode(enumProcessMode mode)
       at TVSearchForm.TVSearchForm.treeShow_DoubleClick(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     
    Last edited: Nov 8, 2020
  14. Nov 3, 2020 #614 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    You are correct!

    Leave the search results in place in the background until the user searches again. As the user clicks around, the results stay in the background with the series posters overlaying until the user selects the series matching the search results, at which point the poster disappears so the user doesn't have to search again. This is even more important with TMDB being much slower!
     
  15. Nov 4, 2020 #615 of 651
    dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    @elprice7345 Thanks for the great testing and feedback! I think we’re on the same page now and I’m doing the appropriate mods.

    I’m uncertain about the best way to handle duplicate titles from TVDB. I’ll use Yellowstone as an example. As you know, the database titles for the 2009 and 2018 series are as follows:
    Code:
    Year      TVDB_title                TMDb_title
    2009    Yellowstone                Yellowstone
    2018    Yellowstone (2018)         Yellowstone
    
    And apparently TMDb allows duplicate titles while TVDB does not.

    In MG3 land, we have chosen to disambiguate the TMDb titles by always appending (<year>) for titles that are duplicates. But I’m not sure what should be done for TVDB titles (since they don’t need disambiguation). In the Yellowstone case, should MG3 detect the two yellowstone titles as duplicates and then force-append (2009) to the 2009 title?
     
  16. Nov 4, 2020 #616 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Hmm … a couple of thoughts …

    TMDB specifically forbids adding a country or year identifier to the series name, so MG3 has to differentiate in some way. MG3 is differentiating by adding the year at the end as well as displaying series posters if available.

    TVDB generally enforces a unique title, but their web site allows duplicates to be created. They “enforce” the unique title concept when duplicates are found by concatenating either the start year or the original country’s country code. So, while it is possible for MG3 to find duplicate series titles in TVDB, its unlikely. (I couldn’t find one in my cursory search.)

    I don’t have a strong opinion about this. Maybe use the same logic as we developed for TMDB? If MG3 finds duplicate titles in a TVDB search, concatenate the start year on the end? If the titles are unique, do nothing?

    So, for your Yellowstone example, since the TVDB titles are unique, I would leave the titles as TVDB has them as Yellowstone and Yellowstone (2018).
     
    Last edited: Nov 4, 2020
  17. Nov 5, 2020 #617 of 651
    dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    Try test distro Ver. 3.91T17 in attached zip
    EDIT: Attachment removed -- superseded by later test version
    Ver. 3.91T17
    Fixed: Cleaned up series/ep tree visibility and updates in response to UI inputs.
    Enhanced: When using seasons by year, prepend each ep name with MMDD from air date.

    @elprice7345 , This should be getting pretty close. Everything should be as recently agreed. Just to be clear,
    For TMDb searches:
    MG3 looks for duplicate series names and appends (<year>) to duplicate names (only).

    For TVDB searches:
    MG3 assumes there are no duplicate series names and doesn't append (<year>) to any of them.
     
    Last edited: Nov 16, 2020
  18. Nov 7, 2020 #618 of 651
    dlfl

    dlfl Cranky old novice

    9,021
    777
    Jul 6, 2006
    Dayton OH
    Had a couple of ideas about handling episodes that are missing air dates when doing seasons by years, instead of just the current message giving the count:

    1. The message could list those episodes in S#E# format.
    (or)
    2. Those episodes could appear in the series/episode tree in a bogus year node, e.g. year “0000”.

    Personally I like option 2, but let me know if either option appeals to you.
     
  19. Nov 7, 2020 #619 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    I like option 2 as well.
     
  20. Nov 8, 2020 #620 of 651
    elprice7345

    elprice7345 Active Member TCF Club

    397
    25
    Sep 28, 2009
    Denver, CO
    Testing T14

    Series Posters
    You nailed it!

    Seasons by Year Testing
    In cases where the OAD is the same for multiple episodes, can MG3 sort them by OAD and then by S#E#? A good example is “The Alienist”. Often series will broadcast 2 episodes on the same day and streaming services will release an entire season on the same date. See “The Haunting of Bly Manor”.

    Missing Metadata Warnings
    When creating a metadata file with TVDB, MG3 warns about some fields missing from the TVDB source. I don’t remember all of them, but description and OAD were 2 of them.

    TMDB, NOVA-S47E11, is missing a description and MG3 didn’t warn me when creating the metadata file.

    I can’t find an example of an episode missing OAD, but a warning should be generated if OAD is missing from TMDB as well.

    Thanks!
     

Share This Page

spam firewall

Advertisements