StreamedMP anpassen Einträge im Abschaltmenü (1 Viewer)

alexfon

MP Donator
  • Premium Supporter
  • July 10, 2011
    96
    27
    Home Country
    Germany Germany
    Hallo,

    ich würde gerne das Abschaltmenü im StreamedMp Skin anpassen. Im Standard ist hier eingetragen:

    1. Herunterfahren
    2. Neustarten
    3. Standby
    4. Ruhezustand

    Da ich Probleme im Zusammenhang mit dem Aufwachen für Aufnahmen aus dem Standby habe, würde ich diesen Punkt gerne entfernen, damit dieser nicht versehentlich verwendet wird.

    Wo wird dieses Menü definiert? Eine Anpassung über den Menügenerator schein nicht möglich zu sein, oder irre ich mich hier?

    Gruß
    Alexfon
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Müsstest du manuell in der BasicHome.xml editieren denke ich mal.
     

    alexfon

    MP Donator
  • Premium Supporter
  • July 10, 2011
    96
    27
    Home Country
    Germany Germany
    Ich habe mit mal die BasicHome.xml des Skins angesehen. Ich bin mir nich sicher, ob ich die richtige Stelle gefunden habe. Auch ist mit nicht klar, was zu ändern ist, damit ich mein Ziel erreiche, die Standbyoption auszubauen.

    Code:
    <control>
          <description>Shutdown Label</description>
          <type>label</type>
          <id>0</id>
          <width>210</width>
          <height>60</height>
          <posY>590</posY>
          <posX>100</posX>
          <align>center</align>
          <font>mediastream10tc</font>
          <label>#StreamedMP.MediaPortalShutDownMenu</label>
          <visible>Control.HasFocus(160003)|Control.HasFocus(160103)|Control.HasFocus(160203)|Control.HasFocus(160303)|Control.HasFocus(160403)|Control.HasFocus(160503)|Control.HasFocus(160603)|Control.HasFocus(160703)|Control.HasFocus(160803)|Control.HasFocus(160903)|Control.HasFocus(161003)|Control.HasFocus(161103)</visible>
        </control>
        <control>
          <description>Settings Label</description>
          <type>label</type>
          <id>0</id>
          <width>210</width>
          <height>60</height>
          <posY>590</posY>
          <posX>100</posX>
          <align>center</align>
          <font>mediastream10tc</font>
          <label>Settings</label>
          <visible>Control.HasFocus(160004)|Control.HasFocus(160104)|Control.HasFocus(160204)|Control.HasFocus(160304)|Control.HasFocus(160404)|Control.HasFocus(160504)|Control.HasFocus(160604)|Control.HasFocus(160704)|Control.HasFocus(160804)|Control.HasFocus(160904)|Control.HasFocus(161004)|Control.HasFocus(161104)</visible>
        </control>
        <control>
          <description>Shutdown menu hbar</description>
          <type>image</type>
          <id>1</id>
          <posX>100</posX>
          <posY>630</posY>
          <width>210</width>
          <height>1</height>
          <texture>hbar1white.png</texture>
          <visible>Control.HasFocus(160001)|Control.HasFocus(160101)|Control.HasFocus(160201)|Control.HasFocus(160301)|Control.HasFocus(160401)|Control.HasFocus(160501)|Control.HasFocus(160601)|Control.HasFocus(160701)|Control.HasFocus(160801)|Control.HasFocus(160901)|Control.HasFocus(161001)|Control.HasFocus(161101)|Control.HasFocus(160002)|Control.HasFocus(160102)|Control.HasFocus(160202)|Control.HasFocus(160302)|Control.HasFocus(160402)|Control.HasFocus(160502)|Control.HasFocus(160602)|Control.HasFocus(160702)|Control.HasFocus(160802)|Control.HasFocus(160902)|Control.HasFocus(161002)|Control.HasFocus(161102)|Control.HasFocus(160003)|Control.HasFocus(160103)|Control.HasFocus(160203)|Control.HasFocus(160303)|Control.HasFocus(160403)|Control.HasFocus(160503)|Control.HasFocus(160603)|Control.HasFocus(160703)|Control.HasFocus(160803)|Control.HasFocus(160903)|Control.HasFocus(161003)|Control.HasFocus(161103)|Control.HasFocus(160004)|Control.HasFocus(160104)|Control.HasFocus(160204)|Control.HasFocus(160304)|Control.HasFocus(160404)|Control.HasFocus(160504)|Control.HasFocus(160604)|Control.HasFocus(160704)|Control.HasFocus(160804)|Control.HasFocus(160904)|Control.HasFocus(161004)|Control.HasFocus(161104)</visible>
        </control>
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Ich denke, das wäre die Stelle um die Labels (Sprich den Text zu löschen). Die Buttons dazu sind hier (genau darunter):

    Code:
    <control>
          <description>Exit Button</description>
          <type>button</type>
          <id>7777</id>
          <posX>390</posX>
          <posY>350</posY>
          <onleft>1903</onleft>
          <onright>7888</onright>
          <width>80</width>
          <height>80</height>
          <textureNoFocus>exit_button.png</textureNoFocus>
          <textureFocus>exit_button.png</textureFocus>
          <action>97</action>
          <animation effect="zoom" start="1,1" end="100,100" center="0,0" time="1000" tween="back" ease="out">WindowOpen</animation>
          <animation effect="fade" time="400">WindowOpen</animation>
          <animation effect="fade" time="400">WindowClose</animation>
          <animation effect="zoom" start="100,100" end="125,125" center="0,0" time="400" acceleration="-0.9" reversible="false">focus</animation>
          <animation effect="zoom" start="125,125" end="100,100" center="0,0" time="400" acceleration="-0.9" reversible="false">unfocus</animation>
        </control>
        <control>
          <description>Restart Button</description>
          <type>button</type>
          <id>7888</id>
          <posX>530</posX>
          <posY>350</posY>
          <onleft>7777</onleft>
          <onright>7999</onright>
          <width>80</width>
          <height>80</height>
          <textureNoFocus>restart_button.png</textureNoFocus>
          <textureFocus>restart_button.png</textureFocus>
          <action>196250</action>
          <animation effect="zoom" start="1,1" end="100,100" center="0,0" time="1000" tween="back" ease="out">WindowOpen</animation>
          <animation effect="fade" time="400">WindowOpen</animation>
          <animation effect="fade" time="400">WindowClose</animation>
          <animation effect="zoom" start="100,100" end="125,125" center="0,0" time="400" acceleration="-0.9" reversible="false">focus</animation>
          <animation effect="zoom" start="125,125" end="100,100" center="0,0" time="400" acceleration="-0.9" reversible="false">unfocus</animation>
        </control>
        <control>
          <description>Shutdown Button</description>
          <type>button</type>
          <id>7999</id>
          <posX>670</posX>
          <posY>350</posY>
          <onleft>7888</onleft>
          <onright>79999</onright>
          <width>80</width>
          <height>80</height>
          <textureNoFocus>shutdown_button.png</textureNoFocus>
          <textureFocus>shutdown_button.png</textureFocus>
          <action>99</action>
          <animation effect="zoom" start="1,1" end="100,100" center="0,0" time="1000" tween="back" ease="out">WindowOpen</animation>
          <animation effect="fade" time="400">WindowOpen</animation>
          <animation effect="fade" time="400">WindowClose</animation>
          <animation effect="zoom" start="100,100" end="125,125" center="0,0" time="400" acceleration="-0.9" reversible="false">focus</animation>
          <animation effect="zoom" start="125,125" end="100,100" center="0,0" time="400" acceleration="-0.9" reversible="false">unfocus</animation>
        </control>
        <control>
          <description>Settings Button</description>
          <type>button</type>
          <id>79999</id>
          <posX>810</posX>
          <posY>350</posY>
          <onleft>7999</onleft>
          <onright>17</onright>
          <width>80</width>
          <height>80</height>
          <textureNoFocus>settings_button.png</textureNoFocus>
          <textureFocus>settings_button.png</textureFocus>
          <hyperlink>4</hyperlink>
          <animation effect="zoom" start="1,1" end="100,100" center="0,0" time="1000" tween="back" ease="out">WindowOpen</animation>
          <animation effect="fade" time="400">WindowOpen</animation>
          <animation effect="fade" time="400">WindowClose</animation>
          <animation effect="zoom" start="100,100" end="125,125" center="0,0" time="400" acceleration="-0.9" reversible="false">focus</animation>
          <animation effect="zoom" start="125,125" end="100,100" center="0,0" time="400" acceleration="-0.9" reversible="false">unfocus</animation>
        </control>

    Ich weiß leider nicht welcher davon der Standby Button bzw. das Standby label ist. Einfach mal verschiedenes löschen und dann testen, ob das gewünschte Standby weg ist.
     

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    das menü lässt sich nicht editieren, feste vorgabe aus mp heraus.

    man könnte den knopf allenfalls so abändern das man direkt den ruhezustand hat, anstatt dann das menü erscheint.
    für den knopf einstellungen, könnte man einen für das runterfahren machen.

    welchen der basichome-screen hast du in verwendung? nicht das ich was falsches erzähle.:)
     

    alexfon

    MP Donator
  • Premium Supporter
  • July 10, 2011
    96
    27
    Home Country
    Germany Germany
    Schade! Ich setzte zur Zeit als Homescreen only Basic Home ein. Ist hier die beschriebene Lösung möglich? Wie wären dann vorzugehen?
     

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    Ich setzte zur Zeit als Homescreen only Basic Home ein.
    schon klar, aber welchen der vier?
    die unterscheiden sich da immer etwas.

    beispiel:


    <control>
    <description>Shutdown button</description>
    <type>button</type>
    <id>160003</id>
    <posX>650</posX>
    <posY>8</posY>
    <width>50</width>
    <height>50</height>
    <textureFocus>shutdown_button.png</textureFocus>
    <textureNoFocus>-</textureNoFocus>
    <label>-</label>
    <action>99</action>
    <onleft>160002</onleft>
    <onright>160004</onright>
    <onup>160003</onup>
    <ondown>1900</ondown>
    <animation effect="zoom" start="1,1" end="100,100" center="0,0" time="1000" tween="back" ease="out">WindowOpen</animation>
    <animation effect="zoom" start="100,100" end="125,125" center="0,0" time="400" acceleration="-0.9" reversible="false">focus</animation>
    <animation effect="zoom" start="125,125" end="100,100" center="0,0" time="400" acceleration="-0.9" reversible="false">unfocus</animation>
    <visible>control.isvisible(1000)</visible>
    </control>

    das ist der button, die 99 (rot) steht für das shutdown(menü).
    mp exit=97
    reboot=98
    power off=991
    suspend=992
    hibernate=993

    wenn du also grafisch nichts ändern willst brauchst du nur die 99 durch 993 ersetzen.
    denke aber daran, das du nach jedem einsatz des basichome-editors, dieses erneut eintragen musst.
     
    Last edited:

    alexfon

    MP Donator
  • Premium Supporter
  • July 10, 2011
    96
    27
    Home Country
    Germany Germany
    Ich wusste gar nicht, dass es hier 4 unterschiedliche Screens gib. Wo erkennt man, welcher genutzt wird.
    Aber die Info hilft mir glaube ich weiter. Die Actions für die einzelnen Shutdownoptionen sind der entscheidende Hinweis. Sind die eigentlich irgendwo dokumentiert?
     

    diskeeper

    Portal Pro
    January 5, 2007
    6,109
    421
    Dortmund
    Home Country
    Germany Germany
    Ich wusste gar nicht, dass es hier 4 unterschiedliche Screens gib. Wo erkennt man, welcher genutzt wird.
    mich beschleicht so leicht der verdacht, das du noch nie in den basichome-editor geschaut hast!!?:)
    du würdest was verpassen, wenn es denn so wäre.

    Sind die eigentlich irgendwo dokumentiert?
    keine ahnung, im wiki womöglich.
    ich hab mir diese aus der mp-config ausgelesen, da wo du die tastaturbelegung einsehen bzw. ändern kannst.
    für jede taste gibt es dort eine in klammern stehende nummer,
    sollte es die taste noch nicht geben, kann man sie anlegen oder eine vorhandene abändern.
     

    alexfon

    MP Donator
  • Premium Supporter
  • July 10, 2011
    96
    27
    Home Country
    Germany Germany
    Oh mann, da stand ich ein bischen auf dem Schlauch. Klar kenne ich den basichome editor. Jetzt weiß ich auch, wass du mit den 4 Screens meinst. Ich nutze den "Standard vertical menu".
    Ich konnte jetzt auch alles wie gewünscht umsetzen. Statt Shutdownmenü habe ich "herunterfahren" hinterlegt. Den Settingsbutton habe ich für den "Ruhezustand" missbraucht. Damit es optisch auch passt, habe ich bei der Gelegenheit auch den Button gegen einen "Recordbutton" ausgetauscht :)

    Vielen Dank für die Hilfe. Bin total happy!!
     

    Users who are viewing this thread

    Top Bottom