MP2 - V2.4.1 Cinema (2 Viewers)

BigGranu

Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    In the "Cinema.Settings.Locations.xml" , the Cinemas are automatically saved when you leave the settings.
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Configuration>
      <Property Name="LocationSetupList">
        <ArrayOfCinema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <Cinema>
            <Address>53 South Evergreen Avenue, Arlington Heights, IL, United States - (847) 259-7827</Address>
            <Id>a503f4d883ee2b4a</Id>
            <Name>Star Cinema Grill - Arlington Heights</Name>
            <Near>Arligton+Heights,+Illinois</Near>
          </Cinema>
          <Cinema>
            <Address>200 Randhurst Village Drive, Mount Prospect, IL, United States - (888) 262-4386</Address>
            <Id>280815e50a8b0e8c</Id>
            <Name>AMC Randhurst 12</Name>
            <Near>Arligton+Heights,+Illinois</Near>
          </Cinema>
        </ArrayOfCinema>
      </Property>
      <Property Name="Changed">
        <boolean>false</boolean>
      </Property>
    </Configuration>
    In your Screen, I can see that it works.
    I just do not understand why the xml is empty in your appendix.

    Can add another cinema and post the location.xml?
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I picked the first 3 in the list.
    Question: Do you expect these config files to be directly in the config folder or the user folder under the config folder?
    C:\ProgramData\Team MediaPortal\MP2-Client\Config
    C:\ProgramData\Team MediaPortal\MP2-Client\Config\breese (this is were they are)
     

    Attachments

    • Cinema.Settings.CinemaSettings.xml
      230 bytes
    • Cinema.Settings.Datalist.xml
      288 bytes
    • Cinema.Settings.Locations.xml
      147 bytes

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    C:\ProgramData\Team MediaPortal\MP2-Client\Config\breese (this is were they are)
    Thats the real Folder.

    If you have selected your cinemas and Settings leaves, the Cinemas are written to the Cinema.Settings.Locations.xml.
    I can not see why they are not saved in your file.
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Why is it throwing exceptions?

    [2014-02-11 07:35:15,807] [58145 ] [InputMgr ] [ERROR] - WorkflowManager: Error entering model context of workflow model '78e0d999-d87a-4340-b8d1-9cf97814d2fd' for workflow state '5074508b-f6ee-4150-8fcd-7d8bd0a183f8'
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at System.Collections.Generic.List`1.get_Item(Int32 index)
    at Cinema.Models.CinemaHome.Init()
    at Cinema.Models.CinemaHome.EnterModelContext(NavigationContext oldContext, NavigationContext newContext)
    at MediaPortal.UI.Services.Workflow.WorkflowManager.DoPushNavigationContext(WorkflowState state, NavigationContextConfig config)
    [2014-02-11 07:35:15,807] [58145 ] [InputMgr ] [DEBUG] - WorkflowManager: Compiling menu actions for workflow state 'Home'
    [2014-02-11 07:35:15,807] [58145 ] [InputMgr ] [DEBUG] - WorkflowManager: Tidying up...
    [2014-02-11 07:35:15,807] [58145 ] [InputMgr ] [ERROR] - WorkflowManager.NavigatePushInternal: Error in workflow model or screen
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at MediaPortal.UI.Services.Workflow.WorkflowManager.DoPushNavigationContext(WorkflowState state, NavigationContextConfig config)
    at MediaPortal.UI.Services.Workflow.WorkflowManager.NavigatePushInternal(Guid stateId, NavigationContextConfig config)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I deleted the original xml files and tried again.
    There are a lot of exceptions in the logs.
    I did nothing but config the plugin and then tried to bring it up.
    It starts once but nothing is filled in.
    Going back to the Home screen brings me to the Top of the Home screen. I have to scowl back down to your plugin.
    A second try does nothing, does not open at all.
    I quit MP2 and crated this note.
     

    Attachments

    • Cinema.Settings.CinemaSettings.xml
      230 bytes
    • Cinema.Settings.Datalist.xml
      288 bytes
    • Cinema.Settings.Locations.xml
      147 bytes

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    The error arises because no Cinemas are in the list.
    As I said, in your first post is to see that it worked to save.
    I'm a little upset about this. :confused:

    If you select a Cinema, then leaves the Settings, and then again go back,
    is used to display the selected Cinemas the same file.
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Yes.... I set 1, 2, or 3 from the list
    Go to Home
    Go back into the plugin and the same ones are still set.
    If I Quit MP2, restart it and go back in, they are not there....
     

    BigGranu

    Retired Team Member
  • Premium Supporter
  • February 7, 2013
    240
    202
    53
    Home Country
    Germany Germany
    So MP2 empties the files when you finish it?:eek:

    Can you Test a other Part of the Plugin? Coming Soon, No Cinemas needed for this.
    Screenshot (8).png
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I did everything I can think of to get it to come up.
    Even went so far as to delete the xml files.
    Went into MP2 and tried to start it.
    Went to Coming Soon, nothing.
    Went and configured it for 1 location.

    This time I used Esc to back out of it to the home screen.
    Started Cinema, would not start
     

    Users who are viewing this thread

    Top Bottom