MP2 - V2.4.1 Cinema (1 Viewer)

kilik360

MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    I wanna try your plugin with MP2 10AE update 1 but when I write 'quebec' in locations and press search, nothing happens.
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    You're right BigGranu, I can now see cinema near my city, select 3 of them, returned to homescreen, click cinema and nothing happend.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    You're right BigGranu, I can now see cinema near my city, select 3 of them, returned to homescreen, click cinema and nothing happend.
    Updating of programs is now done by a scheduled job. Did you try the plugin again, maybe the nightly job filled the content now?
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    Updating of programs is now done by a scheduled job. Did you try the plugin again, maybe the nightly job filled the content now?

    I don't see any improvement, here's my log.

    I'm using MediaPortal-2--morpheusxx--Weekly--2014-10-17--21-35 build
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    Updating of programs is now done by a scheduled job.
    That's right. But a change in Cinemasettings should also trigger an update. :(

    @kilik360
    Can you please attach the "Cinema.Settings.CinemaSettings.xml".
    I think there is an error in the date.

    Or test it self. Original:
    XML:
      <Property Name="LastUpdate">
        <string>21.10.2014</string>
      </Property>
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    <string>21.10.2014</string>
    Could there be localization issues? If you (de-)serialize date as strings, the computer's CultureInfo is considered.

    The problem is: https://github.com/BigGranu/Cinema_MP2/blob/master/Cinema/Settings/CinemaSettings.cs#L44-L48

    Define the "LastUpdate" as DateTime, then it gets correctly (de-)serialized using InvariantCulture. See example TaskSchedulerSettings.xml, LastRun and NextRun:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Configuration>
      <Property Name="TaskCollection">
        <TaskCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <Tasks>
            <Schedule>
              <Minute>0</Minute>
              <Hour>2</Hour>
              <Day>-1</Day>
              <Interval>-P10675199DT2H48M5.4775808S</Interval>
              <Type>TimeBased</Type>
            </Schedule>
            <ForceRun>true</ForceRun>
            <WakeupSystem>true</WakeupSystem>
            <LastRun>0001-01-01T00:00:00</LastRun>
            <NextRun>2014-10-23T02:00:00</NextRun>
            <Expires>9999-12-31T23:59:59.9999999</Expires>
            <ID>196bd3da-3eb8-49cf-a801-a6d1f8e571e8</ID>
            <Owner>ImporterWorker</Owner>
            <Occurrence>Repeat</Occurrence>
          </Tasks>
        </TaskCollection>
      </Property>
    </Configuration>
     

    Users who are viewing this thread

    Top Bottom