v17 Can't get addon news to work
#1
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.
.
Reply
#2
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>
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
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.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Can't get addon news to work0