Date on the home screen - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260) +---- Thread: Date on the home screen (/showthread.php?tid=312982) |
Date on the home screen - steviehaway - 2017-04-23 On Kodi 17.1 Estuary how do you get the date to show up in the right hand corner, like you were able to in Jarvis 16.1? RE: Date on the home screen - nickimola - 2017-04-29 On the same note, i'd like to add my external IP address as well in there. Is it possible? I don't mind changing some files myself if you could kindly point me in the right direction. Thanks RE: Date on the home screen - ioncype - 2017-05-02 The files you'll want to edit is at: %programfiles(x86)%\kodi\addons\skin.estuary\xml Linux/Mac: http://kodi.wiki/view/Systemdata The files to edit are Home.xml or/and Includes.xml Includes.xml contain code that you can include in other pages. http://kodi.wiki/view/Skinning_Manual#Includes In this case the time is formated in Includes.xml and included in Home.xml (and many other pages) using: Quote:<include content="TopBar"> The actual code for time formatting in Includes.xml is: Quote:<control type="label"> More info about adding text in skins: http://kodi.wiki/view/Skinning_Manual#Label_Control You use InfoLabels ($INFO) to insert various built-in stuff. http://kodi.wiki/view/InfoLabels To insert date you use either System.Date or System.Date(format). http://kodi.wiki/view/InfoLabels#System As TopBar include is used on many pages it wouldn't be that good to edit it. Date will then appear on all pages and it might not fit with the time. Though you could make time a smaller font. One idea would be to remove (better to comment out with <!--CODE-->) the Kodi logo and text and put the date code there. The logo is in Home.xml and the following code: Quote:<control type="group"> Or you could just remove the control section for the text part part of the logo, logo-text.png. Then move it around and fit the date. Code for adding date in place of the logo+text in the top left corner on the Home page: Quote:<control type="label"> For the second post, you use the InfoLabel Network.IPAddress http://kodi.wiki/view/InfoLabels#Network_labels |