[solved] TV Recordings episode field blank (1 Viewer)

cladinshadows85

Portal Pro
February 3, 2013
53
26
38
Home Country
Australia Australia
Hi,

I am starting to get a few recordings building up and wanting to watch the shows in episode order (some episodes/re-runs are aired out of order which messes it up if I decide to watch by recording date). The episode field is always empty so I never know if the next recorded show is the actual next episode or not.

I have a EPG scrapper that collects season and episode details which are displayed in the EPG (which is very nice when watching live tv), and the recording are saved in this format of "The X-Files - 2019-07-05 - S1 - E20 - Darkness Falls.ts". However in TV Recording, episode is always blank.

Is this a matter of the formatting of the file name or is something else needed?

Cheers.
 

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    Hi,

    I am starting to get a few recordings building up and wanting to watch the shows in episode order (some episodes/re-runs are aired out of order which messes it up if I decide to watch by recording date). The episode field is always empty so I never know if the next recorded show is the actual next episode or not.

    I have a EPG scrapper that collects season and episode details which are displayed in the EPG (which is very nice when watching live tv), and the recording are saved in this format of "The X-Files - 2019-07-05 - S1 - E20 - Darkness Falls.ts". However in TV Recording, episode is always blank.

    Is this a matter of the formatting of the file name or is something else needed?

    Cheers.
    I'm not recording and do not have even TV at the moment. But checking some past recordings from beginning of the year, which I used for skinning, I always find the episode information. Please check your xml file in the folder of the recording and compare once.
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <tags>
      <tag>
        <SimpleTag>
          <name>TITLE</name>
          <value>Star Trek - Raumschiff Voyager</value>
        </SimpleTag>
        <SimpleTag>
          <name>COMMENT</name>
          <value>Als die Voyager die Eltern eines der geretteten Borg-Kinder ausfindig macht, befürchtet Seven of Nine, dass der Junge sein Studium der Astrophysik aufgeben muss, um zu seinen - ihm fremd gewordenen - Eltern zurückzukehren. Ihre mütterlichen Instinkte erzeugen bei Seven den aggressiven Argwohn, dass ihm dort eine erneute Assimilation droht. Sollte Sie recht haben?</value>
        </SimpleTag>
        <SimpleTag>
          <name>GENRE</name>
          <value>Science-Fiction</value>
        </SimpleTag>
        <SimpleTag>
          <name>CHANNEL_NAME</name>
          <value>TELE 5</value>
        </SimpleTag>
        <SimpleTag>
          <name>EPISODENAME</name>
          <value>Child's Play</value>
        </SimpleTag>
        <SimpleTag>
          <name>SERIESNUM</name>
          <value>6</value>
        </SimpleTag>
        <SimpleTag>
          <name>EPISODENUM</name>
          <value>19</value>
        </SimpleTag>
        <SimpleTag>
          <name>EPISODEPART</name>
          <value>
          </value>
        </SimpleTag>
        <SimpleTag>
          <name>STARTTIME</name>
          <value>2016-02-01 18:05</value>
        </SimpleTag>
        <SimpleTag>
          <name>ENDTIME</name>
          <value>2016-02-01 18:10</value>
        </SimpleTag>
      </tag>
    </tags>
    The problem is I think, that you can not sort for episodes in case of recordings, because recordings are handled neutraly, meaning they can be movies or series.
    At least this is my understanding.
     

    cladinshadows85

    Portal Pro
    February 3, 2013
    53
    26
    38
    Home Country
    Australia Australia
    Thanks @ge2301

    My xml is similar in that its stores the Episode Name, Series Number and Series Episode.



    XML:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <tags>
    - <tag>
    - <SimpleTag>
      <name>TITLE</name>
      <value>The X-Files</value>
      </SimpleTag>
    - <SimpleTag>
      <name>COMMENT</name>
      <value>A group of loggers working in a remote forest unearth thousands of deadly insect-like creatures that paralyse - and then cocoon - their victims. (Remastered in HD)(United States, English)</value>
      </SimpleTag>
    - <SimpleTag>
      <name>GENRE</name>
      <value>Drama</value>
      </SimpleTag>
    - <SimpleTag>
      <name>CHANNEL_NAME</name>
      <value>SBS VICELAND HD</value>
      </SimpleTag>
    + <SimpleTag>
      <name>EPISODENAME</name>
      <value>Darkness Falls</value>
      </SimpleTag>
    - <SimpleTag>
      <name>SERIESNUM</name>
      <value>1</value>
      </SimpleTag>
    - <SimpleTag>
      <name>EPISODENUM</name>
      <value>20</value>
      </SimpleTag>
    - <SimpleTag>
      <name>EPISODEPART</name>
      <value />
      </SimpleTag>
    - <SimpleTag>
      <name>STARTTIME</name>
      <value>2019-07-05 19:55</value>
      </SimpleTag>
    - <SimpleTag>
      <name>ENDTIME</name>
      <value>2019-07-05 20:45</value>
      </SimpleTag>
    - <SimpleTag>
      <name>PROGRAMSTARTTIME</name>
      <value>2019-07-05 19:45</value>
      </SimpleTag>
    - <SimpleTag>
      <name>PROGRAMENDTIME</name>
      <value>2019-07-05 20:35</value>
      </SimpleTag>
      </tag>
      </tags>

    The problem is I think, that you can not sort for episodes in case of recordings, because recordings are handled neutraly, meaning they can be movies or series.
    At least this is my understanding.

    I can appreciate that TV recordings doesn't sort for episodes due to handling both movies and series, but to clarify I have attached a screen shot of the screen and locating the right episode would be very handy!
    MP - TV recordings episode details.png
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Mmh, indeed. I either didn’t see the data or the posting was edited.

    Anyway, if the field content is not displayed by TE, I would rather think of a skin issue.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    Mmh, indeed. I either didn’t see the data or the posting was edited.
    It was not edited ;)

    Anyway, if the field content is not displayed by TE, I would rather think of a skin issue.
    That was the first thing I checked. As the screenshot is from TE theme I checked the code and the episode label is available.
    XML:
        <media:SeriesAspectWrapper Grid.Row="6" Grid.Column="1" MediaItem="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}">
          <media:SeriesAspectWrapper.Template>
            <ControlTemplate>
              <Label x:Name="Episode" Margin="0" DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"
                  Content="{Binding Series}" Color="{ThemeResource TextColor}" Scroll="Auto" />
            </ControlTemplate>
          </media:SeriesAspectWrapper.Template>
        </media:SeriesAspectWrapper>

    I wonder, if anybody ever saw episode numbers. Here I'm the wrong guy because I have no need to record something from TV.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    I investigated a bit and it was never available. See here.
    Technically it can be not done from skin side. The reason is
    The TV3Recording MDE only imports episode information if it is importing from a series share. So if you added it as a video share then it will not import the episode information.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    @henso
    Is it possible to add the episode info also to the RecordingAspectWrapper, to have the info even when not importet from a series share?
    I'd hide the label in case it has no content, so it won't cause any inconsistancy. Currently the episode label always exists in some skins/themes (e.g. TE in screenshots above).
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    829
    Home Country
    Denmark Denmark
    Is it possible to add the episode info also to the RecordingAspectWrapper
    No, they are not part of the RecordingAspect so there is nothing to wrap. Can you not check if the SeriesAspect is present? It should only be present if there is any series information.
    EDIT: I meant the EpisodeAspect not the SeriesAspect.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom