Refresh Home Window
#12
I got around this problem by creating a simple script that first tries to update the video library from an empty path and then reloads the skin. Updating library causes visible widgets to update and skin reload makes some hidden widgets like unwatched movies/shows appear. You can map this script to a key on your remote or add it to your favourites.

Here's how you can add the button to your main menu in Estuary, right next to the "Search" button.

In skin.estuary/xml/Home.xml find the last <include content="IconButton">...</include>
and add this after it:
Code:
                    <include content="IconButton">
                        <param name="control_id" value="805" />
                        <param name="onclick" value="RunScript(special://skin/scripts/update.py)" />
                        <param name="icon" value="icons/addonstatus/update.png" />
                        <param name="label" value="$LOCALIZE[184]" />
                        <param name="visible" value="!Player.HasMedia" />
                    </include>

The script (create a file called update.py in skin.estuary/scripts/)
Code:
xbmc.executebuiltin('UpdateLibrary(video,special://skin/sripts)')
xbmc.executebuiltin('reloadskin')
Kodi @ NVidia Shield Android TV, Asrock J3455-ITX (LibreELEC Server), Windows 10, and Nexus 7 (2013)
Reply


Messages In This Thread
Refresh Home Window - by powderburned - 2017-01-25, 02:33
RE: Refresh Home Window - by aptalca - 2017-01-25, 04:18
RE: Refresh Home Window - by Nachteule - 2017-01-28, 01:55
RE: Refresh Home Window - by pkscout - 2017-01-28, 03:21
RE: Refresh Home Window - by Nachteule - 2017-01-28, 03:36
RE: Refresh Home Window - by vajonam - 2017-02-19, 07:11
RE: Refresh Home Window - by quixers - 2017-03-06, 21:54
RE: Refresh Home Window - by quixers - 2017-03-06, 22:14
RE: Refresh Home Window - by back - 2017-09-17, 17:38
RE: Refresh Home Window - by powderburned - 2017-03-07, 00:08
RE: Refresh Home Window - by skywatch - 2017-03-09, 12:38
RE: Refresh Home Window - by maxtherabbit - 2017-09-17, 18:23
RE: Refresh Home Window - by matthuisman - 2024-03-05, 08:57
Logout Mark Read Team Forum Stats Members Help
Refresh Home Window0