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

Attempt to parse series metadata from the comments

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.0.0-alpha.4
    • Metadata Extractors
    • None

    Description

      <p>EPG data (and hence TVE recording metadata) sometimes has blank series number / episode number tags but the comments contain the information. For example:</p>

      <ol class="text" style="margin: 1em 0px 1em 3em; padding-right: 0px; padding-left: 0px; color: rgb(211, 211, 211); -webkit-user-select: none; line-height: 16.53333282470703px; white-space: nowrap; font-family: monospace;">
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;"><span style="color: rgb(128, 128, 128); font-family: monospace; line-height: 15.600000381469727px; white-space: nowrap;">&nbsp; &nbsp;&nbsp;</span>&lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;TITLE&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;Get Well Soon&lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;COMMENT&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;1/30. Take a Break: Programme for young children exploring medical conditions. Dr Ranj and Jobi discover the wonder of x-rays, while Nurse Morag leads the Healthy Helpers in a bony quiz. [S]&lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;GENRE&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;childrens's/youth program (general)&lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;CHANNEL_NAME&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;CBeebies&lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;EPISODENAME&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;SERIESNUM&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;SimpleTag&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;name&gt;EPISODENUM&lt;/name&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; font-weight: bold; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-weight: normal; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &nbsp; &lt;/value&gt;</div>
      </li>
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; -webkit-user-select: text; font-size: 1em; line-height: 1.2em; background-image: none; vertical-align: top;">&nbsp; &nbsp; &lt;/SimpleTag&gt;</div>
      </li>
      </ol>

      <p>The series extractor should only attempt to get the series number / episode number from the comments tag if not already present.</p>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: