Kodi Community Forum

Full Version: Can't get addon news to work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to implement the new feature. I put a new section
Code:
<news>text here</news>
into my skin addon.xml, and also ListItem.AddonNews textbox into dialogaddoninfo.xml but don't get anything showing. Anyone have a working example?

scott s.
.
Here

addon.xml
Code:
<extension point="xbmc.addon.metadata">
        <platform>all</platform>
        <summary lang="en">Skin based on the Fire TV UI</summary>
        <disclaimer lang="en">Does not support:[CR]Mouse[CR]Touch[CR]Live TV</disclaimer>
        <description lang="en">Basic fTV skin (by Hitcher) with nearly full PVR functionality, plus changed a lot of behaviours and added dozens of other features[CR]Skin description: Provides the look and feel of the Fire TV user interface.[CR]For the complete experience enable 'TV Show wide icons' and either use Artwork Downloader to grab logos or create your own artwork and add it to the database (see forum for more details).</description>
        <news>Changelog:

[B]3.0.9[/B]
- Reworked IMDb/TMDb/TVDb icons
- Added option to choose, which rating provider is used for movies/tv shows
- Added minimalistic audio channel / codec flags for movies and episodes
- Fixed "no information found" plot issue
- Removed "My account" of ExtendedInfo YouTube Browser
- Fixed Select Dialog glitch for rare scenarios
- Hide "muted" information after a few seconds
- Removed fadeout of paused icon
        </news>
    </extension>

Example button
Code:
<!-- Changelog Button -->
                    <control id="10" type="button">
                        <width min="104" max="224">auto</width>
                        <wrapmultiline>true</wrapmultiline>
                        <height>116</height>
                        <onup>Close</onup>
                        <ondown condition="Control.IsVisible(50)">50</ondown>
                        <onclick>RunScript(script.toolbox,info=textviewer,header='$ESCINFO[ListItem.Label]',text='$ESCINFO[ListItem.AddonNews]')</onclick>
                        <font>Med24</font>
                        <label>$LOCALIZE[24054]</label>
                        <textoffsetx>28</textoffsetx>
                        <textcolor>ffdadada</textcolor>
                        <focusedcolor>ff222222</focusedcolor>
                        <texturefocus border="13,5,6,8">views/button_fo.png</texturefocus>
                        <texturenofocus border="13,3,6,6">views/button_nf.png</texturenofocus>
                        <visible>!String.IsEmpty(ListItem.AddonNews)</visible>
                    </control>
Thanks. My problem was the
Code:
<news></news>
element must be contained as a child element of
Code:
<extension point="xbmc.addon.metadata"></extension>

scott s.
.