LCARS Wide (16:9) (1 Viewer)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    Latest WW 0.4.8 nightly ;)
     

    gezortenplotz

    Portal Member
    January 4, 2012
    7
    0
    Germany
    Germany Germany
    hey, very great skin ... would like to use it as standard!
    but on my 60" plasma it looks a bit ... erm ... we definitely need an HD-version of this skin. (y)
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Germany Germany
    Hi Catavolt,
    is there a chance to suppoort this skin also for MP 1.3 in the future?
    P.S. Did you get a plugin on star date already or is this still needed?
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Germany Germany
    catavolt,
    what precision do you need for the stardate - how many digits after the decimal point?
    Does this make sense below?

    2012-11-06 23:20:57.231659 [Debug][(27)]: d=311
    2012-11-06 23:20:57.231659 [Debug][(27)]: y=2012
    2012-11-06 23:20:57.231659 [Debug][(27)]: h=23
    2012-11-06 23:20:57.231659 [Debug][(27)]: m=20
    2012-11-06 23:20:57.232659 [Debug][(27)]: s=-308859,02495015
    2012-11-06 23:20:57.232659 [Debug][(27)]: str_s=-308859,02495015

    2012-11-06 23:21:02.232945 [Debug][(27)]: d=311
    2012-11-06 23:21:02.232945 [Debug][(27)]: y=2012
    2012-11-06 23:21:02.232945 [Debug][(27)]: h=23
    2012-11-06 23:21:02.232945 [Debug][(27)]: m=21
    2012-11-06 23:21:02.233945 [Debug][(27)]: s=-308858,330505705
    2012-11-06 23:21:02.233945 [Debug][(27)]: str_s=-308858,330505705
    2012-11-06 23:21:02.233945 [Debug][(27)]:
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Germany Germany
    Hi Catavolt,
    please have a look at the attached files.
    You need to install the StarDate\bin\Release\stardate.dll file into C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows

    The skin label is named #stardate.label

    I have included seconds and calculated the date in an endless loop by
    System.Threading.Thread.Sleep(UPDATE_TIME * 1000);
    DateTime actual = DateTime.Now;
    int d = actual.DayOfYear;
    int y = actual.Year;
    int h = actual.Hour;
    int m = actual.Minute;
    int s = actual.Second;
    double stardate = (y + OFFSET_YEARS + ((((( (m + (s /60.0)) / 60.0) + h) / 24.0) + (d - 1.0) / 265.24)) - 2323.0) * 1000.0;
    string str_stardate = string.Format("{0:F3}", stardate);
    GUIPropertyManager.SetProperty("#stardate.label", str_stardate);

    You can optionally configure a future year and the update interval in the configuration.
     

    Attachments

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    Big THX huha (y) - downloading and testing soon! Great addition to LCARS IMHO! :D
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    Hehehe, looking strange when the "seconds" count down (until reaching the day when stardate actually started..)
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    12,806
    9,222
    Lanzarote
    Germany Germany
    Country flag
    Hi @huha, just found a severe issue with stardate.dll.
    When installed in ...\plugins\Windows, it won´t let MPConfig close correct, meaning MPConfig stays as active task in task manager.
    When you e.g. open MPConfig three times and close it correct with the OK button, you get three instances of MPConfig in task manager.
    Encountered this bug when I tried to install TVWishList where the installer refused to install the TVWishList MP plugin because "MPConfig is open".
    Removed stardate.dll from ...\plugins\Windows, and now MPConfig closes as expected (no instance in task manager).
    Please have a look ;)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow Default Wide HD Xmas Theme Problem General Support 3
    Similar threads

    Top Bottom