Shows Movie Length (duration) in listview. (1 Viewer)

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi,

    I am working on a small modification for My Video list view. I want to show the movie length (duration) next to the file size. I made themes for Titan and DefaultWide skin but there is an issue. It is shows on the attached screenshots. When I select a list item, then <textcontent3>#duration</textcontent3> is not same colour as file size (label2).

    DefaultWide.PNG
    Titan.PNG

    Thanks for advance!
     

    Attachments

    • common.facade.video.Title.xml
      15.4 KB
    • common.facade.video.default.xml
      10 KB

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I think it's a work in progress, maybe give some tips, probably like most people he is just getting to grips with the skin engine :)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    I have made the following changes in MP code.

    When you enter a directory in my video, the file duration is read from db. If the file there is not in the db, the list will be shown without duration info, and in a separated thread all files will be scanned and added to the database in the background.

    Just for test! Make a copy before overwrite the original files.

    How to apply the patch.

    Expand the skin directory in the MP skin directory (for example c:\ProgramData\Team MediaPortal\MediaPortal\skin\)

    Select the theme in config. Config.PNG

    Overwrite the dll-s in MP installation directory.
     

    Attachments

    • MP_1.4.0_Movie_Length_patchV1.zip
      1.7 MB

    Users who are viewing this thread

    Top Bottom