Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-507

Improve Regex handling in OnlineLibraries

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.16.04 - Spring'16
    • 2.0.0-Summer Release '15 Update 1
    • Metadata Extractors
    • None

    Description

      <ul>
      <li>make Regex objects used in Onlinelibraries configurable via settings; [Edit: This one is postponed, because at some point we should carve all regex matching on the path or filename out into a separate plugin "PathMetadataExtractors" so that the regular expressions used can be aligned and are better managable; additionally we need much more unit tests]</li>
      <li>Test.OnlineLibraries.TheMovieDb does not&nbsp;pass anymore for the movie "Rango", because the name is no more unique; need to add a year "2011" to the test class.</li>
      <li>
      <p><font face="Consolas" size="2"><font face="Consolas" size="2">MediaPortal.Extensions.OnlineLibraries.TheMovieDB.NamePreprocessor.MatchTitleYear does not work for</font></font> movie titles consisting only of a number (such as "1911 (2011)"), because the regular expression currently accepts zero length titles; need to require at least one character for the title group.</p>
      </li>
      </ul>

      Attachments

        Activity

          People

            MJGraf MJGraf (Inactive)
            MJGraf MJGraf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: