Agents of S.H.I.E.L.D. not identified (4 Viewers)

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    50
    ::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

    There is a conflict as you have said between WinTV ad MP TV. MP TV takes over the Hauppauge HVR-1265 card. I may be even getting more channels with it. The Titan TV worked great until last year. Now it will not run the scheduler. WinTV scheduler will let me program manually but I have to set a program for each day. If I try to set...
    There is a conflict as you have said between WinTV ad MP TV. MP TV takes over the Hauppauge HVR-1265 card. I may be even getting...
    Sorry, but I have followed all the links that show how to upload specs and logs. I have read numerous pages that seem to be out of...
    Replies
    7
    Views
    4K
    Install it again, x86 and x64 have different repositories and often have different versions of the accompanying files.
    Install it again, x86 and x64 have different repositories and often have different versions of the accompanying files.
    Curious. Shouldn't the Extensions Manager be able to list all the previously installed extensions and plugins in the Plugins...
    Replies
    1
    Views
    876
    fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to re-scan the episodes. The series appears for just a few seconds and disappears again.
    fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to...
    I recorded all 6 episodes of "Walking With Dinosaurs (2025)" from PBS, edited the non essential stuff out and saved them as MKV. I...
    Replies
    1
    Views
    1K
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
    Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
    Replies
    2
    Views
    2K
    If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively instead of using MPExtended.
    If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively...
    I am another (almost) new user with a problem. About 18 months ago I managed to instal client and server of MP2 on my 32bit PC in...
    Replies
    5
    Views
    2K
    Top Bottom