Page tree


Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.23 
            Releasenews | Download
 MediaPortal 2.2.2
            Releasenews | Download

Purpose

  • Required:  Yes
  • Type of Change:  Rework

The smsinput control has been removed in favor of adding SMS input capabilities to the standard keyboard.

Description of Change

The smsinput control has been removed as it was buggy, unmaintained, and rarely used. However, there is one plugin shipped with MP that used this control and has been reworked to use the Standard Keyboard, and skin changes are needed.

This plugin is the TV New Schedule window, and the affected xmls are mytvschedulerserverSearch.xml and mytvschedulerserverSearchType.xml.

 

Changes in mytvschedulerserverSearchType.xml:

  • The removal of buttons with id 8 and 9 (they are now located in mytvschedulerserverSearch.xml)
  • The label of the button with id 7 has been changed to 137 ("Search")

 

Changes in mytvschedulerserverSearch.xml:

  • The removal of the smsinput control (id 51).
  • The addition of 3 buttons, with ids 7, 8, and 9 respectively. These buttons are the same from the old mytvscheduleserverSearch.xml. The labels for these buttons are:
    • id: 7 label: 6032 ("Search by Title")
    • id: 8 label: 6033 ("Search by Keyword")
    • id: 7 label: 6034 ("Search by Genre")
  • The defaultcontrol has been changed to 7.

Additional Information and References

Mantis Issue

3227

Related xml(s)

mytvschedulerserverSearch.xml mytvschedulerserverSearchType.xml

Windows IDs

746, 747

Related GUI control

smsinput

Author

Migue

Date added

Thu, 02 Dec 2010

XML/Code Samples

mytvschedulerserverSearch.xml:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
  <id>747</id>
  <defaultcontrol>7</defaultcontrol>
  <allowoverlay>yes</allowoverlay>
  <controls>
    <control>
      <description>BG</description>
      <type>image</type>
      <id>1</id>
      <width>720</width>
      <height>576</height>
    </control>
   <control>
      <type>image</type>
      <id>1</id>
      <posX>60</posX>
      <posY>10</posY>
      <texture>television_logo.png</texture>
      <animation effect="fade" time="250">WindowOpen</animation>
      <animation effect="fade" time="250">WindowClose</animation>
    </control>
    <control>
      <description>status</description>
      <type>label</type>
      <id>2</id>
      <posX>250</posX>
      <posY>70</posY>
      <label>6035</label>
      <font>font16</font>
      <align>right</align>
      <textcolor>ffffffff</textcolor>
    </control>
    <control>
      <description>listcontrol</description>
      <type>listcontrol</type>
      <id>50</id>
      <posX>250</posX>
      <posY>97</posY>
      <width>450</width>
      <height>430</height>
      <onleft>7</onleft>
      <onright>7</onright>
      <onup>7</onup>
      <ondown>7</ondown>
    </control>
    <control>
      <type>group</type>
      <layout>StackLayout</layout>
      <description>group element</description>
      <animation effect="fade" time="250">WindowOpen</animation>
      <animation effect="fade" time="250">WindowClose</animation>
      <posX>40</posX>
      <posY>97</posY>
     <control>
        <description>Search Title</description>
        <type>button</type>
        <id>7</id>
        <label>6032</label>
        <onup>17</onup>
        <ondown>8</ondown>
        <onright>50</onright>
      </control>
    <control>
        <description>Search by keyword</description>
        <type>button</type>
        <id>8</id>
        <label>6033</label>
        <onup>7</onup>
        <ondown>9</ondown>
        <onright>50</onright>
      </control>
      <control>
        <description>Search by genre</description>
        <type>button</type>
        <id>9</id>
        <label>6034</label>
        <onup>8</onup>
        <ondown>10</ondown>
        <onright>50</onright>
      </control>
    </control>
  </controls>
</window>

 

mytvschedulerserverSearchType.xml:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
  <id>746</id>
  <defaultcontrol>2</defaultcontrol>
  <allowoverlay>no</allowoverlay>
  <define>#header.image:television_logo.png</define>
  <define>#header.label:6035</define>
  <define>#header.hover:-</define>
  <controls>
    <import>common.window.xml</import>
    <import>common.time.xml</import>
    <control>
      <type>group</type>
      <layout>StackLayout</layout>
      <description>group element</description>
      <animation effect="fade" time="250">WindowOpen</animation>
      <animation effect="fade" time="250">WindowClose</animation>
      <posX>40</posX>
      <posY>97</posY>
      <control>
        <description>Quick Record</description>
        <type>button</type>
        <id>2</id>
        <label>781</label>
        <onup>17</onup>
        <ondown>3</ondown>
        <onright>99</onright>
      </control>
      <control>
        <description>Advanced record</description>
        <type>button</type>
        <id>3</id>
        <label>782</label>
        <onup>2</onup>
        <ondown>6</ondown>
        <onright>99</onright>
      </control>
      <control>
        <description>TvGuide</description>
        <type>button</type>
        <id>6</id>
        <label>4</label>
        <onup>3</onup>
        <ondown>7</ondown>
        <onright>99</onright>
      </control>
      <control>
        <description>Search</description>
        <type>button</type>
        <id>7</id>
        <label>137</label>
        <onup>6</onup>
        <ondown>10</ondown>
        <onright>99</onright>
      </control>
    </control>
  </controls>
</window>

Screenshots

 

   

 

This page has no comments.