Display a episode runtime in minutes

Discussion in 'My TVSeries' started by wizard123, April 25, 2016.

  1. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    Any way to display an episode runtime in minutes ?


     
    • Off Topic Off Topic x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    Off topic how ? i was asking if there is an expression i can use in skinsettings to display runtime in minutes ? If they can't be used for that fine but i only ask as there are no docs.
     
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    This thread is for the expressions used to import TV shows and turn a filename into usable show/season/episode data.

    You want to locate a skin thread/forum with experts on skins, or create a new thread for other skin developers to answer.
     
  5. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    The skinning part is not the issue its the fact that there is no documentation at all but no problem thanks anyway.
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    There was wiki data on it, but it got lost in the Google Code to GitHub migration.

    Turning on trace/debug should show all the values you can use though, or maybe that was MovPic that had the skin option.

    Have you tried looking at other skins that might have what you are after? And finally you can always do skin math to other formats.
     
  7. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    Yep movpics has the skinners debug option but not tvs, yea i checked others but im after properties that are not usually used.
    I dont think i can use expressions to convert a preformatted time like 02:30 to 230 mins but i could be wrong.
    I have posted in another thread asking for a skinners debug option tho.


    Sent from my SM-G920F using Tapatalk
     
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    I've seen skins do RegExp and math, so you can so 2*60+30 after you extracted the hours/minutes, but i'm sure there is a minute value in skin somewhere.

    Have you tried trial-and-error to see if you can just stumble upon the value?
     
  9. wizard123
    • Team MediaPortal

    wizard123 Design Group

    Joined:
    January 24, 2012
    Messages:
    2,499
    Likes Received:
    1,695
    Gender:
    Male
    Occupation:
    genius
    Ratings:
    +2,919 / 11
    Home Country:
    United Kingdom United Kingdom
    Yep tried multiple variations of the property but cant seem to find one, i can see its stored in the database as miliseconds tho.

    Sent from my SM-G920F using Tapatalk
     
  10. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    Home Country:
    Australia Australia
    TVseries has a helper property which will convert to minutes and seconds:
    Code (Text):
    1.  
    2. #TVSeries.Episode.PrettyLocalPlaytime
    3.  
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!