Display a episode runtime in minutes (1 Viewer)

wizard123

Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    Any way to display an episode runtime in minutes ?
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    • Thread starter
    • Moderator
    • #2
    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.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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.
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    • Thread starter
    • Moderator
    • #4
    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.
    The skinning part is not the issue its the fact that there is no documentation at all but no problem thanks anyway.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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.
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    • Thread starter
    • Moderator
    • #6
    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
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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?
     

    wizard123

    Retired Team Member
  • Premium Supporter
  • January 24, 2012
    2,523
    2,715
    Home Country
    United Kingdom United Kingdom
    • Thread starter
    • Moderator
    • #8
    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
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    TVseries has a helper property which will convert to minutes and seconds:
    Code:
    #TVSeries.Episode.PrettyLocalPlaytime
     

    Users who are viewing this thread

    Similar threads

    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    843
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    1K
    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    704
    Hallo, ich versuche gerade ein Thermaltake DH 101 Gehäuse mit iMON Software unter Windows 11 einzurichten. Das Display geht auch an und die FB reagiert auch, leider kann ich in Imon Softwäre(8 12 1202) Einstellungen nichts ändern , da jede Änderung sofort zurückspringt auf die Voreingestellten werte. Und unten linkt ist dauerhaft eine...
    Hallo, ich versuche gerade ein Thermaltake DH 101 Gehäuse mit iMON Software unter Windows 11 einzurichten. Das Display geht auch an...
    Hallo, ich versuche gerade ein Thermaltake DH 101 Gehäuse mit iMON Software unter Windows 11 einzurichten. Das Display geht auch an...
    Replies
    0
    Views
    379
    I would have to know more details, and ultimately, I'll have to test it when I get my new display, but an AI answer I got (I don't trust AI and this may not be correct) was that HDR is encoded with the HEVC codec and I know MePo uses the HEVC codec to play 4K UHD Blue-ray discs. So, there is at least the possibility that it will work...
    I would have to know more details, and ultimately, I'll have to test it when I get my new display, but an AI answer I got (I don't...
    Does MePo 1 pass the HDR metadata, Dolby Vision, HDR10, etc., along to the display when playing 4K UHD Blu-ray discs? If not, are...
    Replies
    2
    Views
    1K
    Top Bottom