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

Importer should ignore leading spaces in media tags

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1
    • 2.1pre
    • Importer
    • None

    Description

      <p>Media tag fields often contain more than one entry, separated by ';' or '/'.</p>

      <p>The importer starts reading content from the first position after the separator even if the first character is a space. This can lead to the same content being recognized differently:</p>

      <p style="margin-left: 40px;">Example:</p>

      <ul>
      <li style="margin-left: 40px;">Tag1: "Artist1; Artist2"</li>
      <li style="margin-left: 40px;">Tag2: "Artist1;Artist2"</li>
      </ul>

      <p style="margin-left: 40px;">will lead to two different media library entries for "Artist2"</p>

      <p>Tag content should be read starting with the first non-space alphanumeric character. Trailing spaces can be treated in the same manner.</p>

      Attachments

        Activity

          People

            brownard Brownard
            HTPCSourcer HTPCSourcer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: