MP2 - V2.5 TVMosaic Provider for MP2 (6 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you transfer the changes related to recording genre if still compatible. Those are missing yet. Thanks.
    I have to check... Until now genres were only supported for EPG programs, there I added the translation. For recordings we have to add similar translation to the MDE.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I have added genre information to recordings. Unfortunately the C# API was incomplete, so I had to add many properties first (according to API documentation). Then also property names are using different pattern (Program: IsHorror vs. VideoInfo: CatHorror), so I could not use same code and had to duplicate the mapping.

    The MDE should support genres now, but it's completely untested...
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I have added genre information to recordings. Unfortunately the C# API was incomplete, so I had to add many properties first (according to API documentation). Then also property names are using different pattern (Program: IsHorror vs. VideoInfo: CatHorror), so I could not use same code and had to duplicate the mapping.

    The MDE should support genres now, but it's completely untested...
    I’ll test it tomorrow and report back. Thanks.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I pulled the changes, rebuild server and client, removed and readded the TVMosaic share.
    Unfortunately the recordings made with TVMosaic do not show genre infos in MP2 (In TVMosaic webview they have).
    Logs are attached.
     

    Attachments

    • logs.rar
      54.6 KB

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    We are getting the info via the TvMosaic API so don't have access to the video files directly so can't just pass them through MediaInfo. I think MediaInfo does have some support for reading files from a stream so we could potentially start a download of a file and pass it in, but I don't know what the performance implications would be, e.g. if it decided it needed to download the entire file every time.


    I've pushed a change for this. There was a property returned from the API called 'CreationTime' but it was always 0 for me (perhaps @pbarvinko could shed some light on this?) , instead I've populated it with the schedule start time.

    We are building it ourselves from the source ;). @ge2301 are you able to create a new installer to test? I did try merging the changes back into the original branch but it still contained @morpheus_xx 's changes so I didn't in the end.
    Last time I created one, there were issues. I think we better wait until @morpheus_xx merged the last changes into the MDE branch and replace the current branch on TC with the MDE branch.
     

    Timhoh1234

    Portal Pro
    September 29, 2015
    252
    90
    Home Country
    Germany Germany
    I installed the new version. Live-TV, EPG and schedules look good so far. I imported my recording once again, I saw a new media category for that. They look also good, just the mentioned genres are not shown.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Could you reproduce the missing genres for recordings with your last changes?
    I have debugged the MDE right now and could see genre mapping received from API, translated into MP genre and also the MediaAspect being filled. So from code point of view it's working.

    In what place I should see the genre of a recording? I tried to find it shown in my 2.3/2.4 with Nereus setup(s), but can't see them also with TVE3.5 recordings?
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I have debugged the MDE right now and could see genre mapping received from API, translated into MP genre and also the MediaAspect being filled. So from code point of view it's working.

    In what place I should see the genre of a recording? I tried to find it shown in my 2.3/2.4 with Nereus setup(s), but can't see them also with TVE3.5 recordings?
    Try with the MDE branch, I've added them only with WIP2.4.1, so with 2.3 and 2.4 you won't see them. One example picture below, but it's systematic.
    genre.jpg
     

    Users who are viewing this thread

    Top Bottom