Agents of S.H.I.E.L.D. not identified (1 Viewer)

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Does this mean that the plugin then searched for 'Marvel's Agents of SHIELD' instead of the acronym?
    Nope, that would be a search where the dots got REMOVED, instead of REPLACED with spaces :D
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    So Marvel's Agents of S H I E L D then?
    That'll be why it didn't work!
    Why replace with space anyway? surely that would break all acronyms?
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    I put in a special case String Replacement, "Enabled = on", "Run Before Matching = on" with

    Replace this = "Marvel's Agents Of S.H.I.E.L.D"
    With this = "Marvel's Agents Of Shield"

    It seems like at the start of every new season I need to "swizzle" a few series names to get the correct tvdb.com lookup, like "The Goldbergs" with "The Goldbergs (2013)" when there are 2 or more different shows/series with the same name.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    The reason dots are replaced with spaces is so that:

    file = Example.of.Long.Show.Title.S01E01.Episode.Description.720p.Whatever.ext

    is properly converted into "Example of Long Show Title", however when acronyms are then involved the same dots that should be kept, end up getting converted as well and that is when things go wrong.

    I have come up with a generic regular expression that 'should' work, and today I plan to finish my new HTPC so I can actually test it. Once that is added as a default expression, these acronym series issues will be a thing of the P.A.S.T. :cool:
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    Ah ha!
    So there was meaning in the madness :)
    Presuming that the update will F.I.X. will be in the next update?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    New HTPC up and running, so was able to test expression and realize a fix was needed. By default MP-TVSeries ignores case, but for acronym detection to work properly I needed that enabled. Had to dig up reference, but found the code.

    Used the following to run a test with:
    • 56 random popular series with 1+ episodes each
    • Test file: "Marvel's Agents of S.H.I.E.L.D - S01E03 - The Asset.mp4"
    No problems on test series and S.H.I.E.L.D was converted into "Shield" and properly found.

    Final Custom Replacement:

    [x] Enabled
    [ ] Used As Tag
    [x] Run before matching
    [x] Is Regex
    Replace this..: (?-i)([A-Z])\.(?=[A-Z])
    With this: ${1}
    Enjoy.
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    Still not working quite correctly...

    #EDIT#
    Cut 'n' pasted your fix in to the parser thing and no joy :(
    Manually typed it in and it works! :)

    Weird!!
     

    Attachments

    • unrecognised.jpg
      unrecognised.jpg
      85.1 KB
    Last edited:

    Users who are viewing this thread

    Similar threads

    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after restart. If you go to an episode and open the options and pick choose artwork then choose episode thumbnail it shows the correct thumbnail and says it is remote. Click on it and it goes local instantly and...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    Replies
    0
    Views
    345
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    433
    Fresh install of MP with Moving Pictures and IMDB+ (newest versions) on a new Windows 10 machine. Started scraping part of my library. I'm used to a relatively smooth and fast process. But now it was EXTREMELY slow. Also many titles that always gets identified by IMDB+ now were not. Themoviedb.org instead provided details. At first...
    Fresh install of MP with Moving Pictures and IMDB+ (newest versions) on a new Windows 10 machine. Started scraping part of my...
    Fresh install of MP with Moving Pictures and IMDB+ (newest versions) on a new Windows 10 machine. Started scraping part of my...
    Replies
    0
    Views
    486
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    2K
    And this is the follow-up thread, which includes log files: PiP audio problem
    And this is the follow-up thread, which includes log files: PiP audio problem
    I just updated from 2.4. Update did not conserve my channels or epg plug-in or anything, looks like, which of course was a...
    Replies
    5
    Views
    683
    Top Bottom