Easiest way to edit episodes Widget
#1
I love the Estuary skin and I've been using it for a long time. There is one thing I would love to change about it however and that is to change the recently added episodes widget to a recently added TV Shows widget. 

Basically the same thing but it shows the newly added shows grouped by show rather than by episode. 

I've done some searching and I know there are mods that can do it but the ones I have seen really do too much for what I want to achieve (I'm a fan of the clean look). I believe you can edit the home.xml but I'm not entirely sure what I should set it too.

So I was wondering what the easiest way to achieve this was? Thanks Smile
Reply
#2
C:\Users\username\AppData\Roaming\Kodi\addons\skin.fu\playlists
recent_unwatched_episodes.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>Recent Unwatched Episodes</name>
    <match>all</match>
    <rule field="dateadded" operator="after">
        <value>1900-01-01</value>
    </rule>
    <rule field="playcount" operator="lessthan">
        <value>1</value>
    </rule>


    <limit>15</limit>
    <order direction="descending">dateadded</order>
</smartplaylist>
recent_unwatched_movies.xsp

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Recent Unwatched Movies</name>
    <match>all</match>
    <rule field="dateadded" operator="after">
        <value>1900-01-01</value>
    </rule>
    <rule field="playcount" operator="lessthan">
        <value>1</value>
    </rule>
    <limit>15</limit>
    <order direction="descending">dateadded</order>
</smartplaylist>
unwatched_tvshows.xsp

?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>Unwatched TV shows</name>
    <match>all</match>
    <rule field="numwatched" operator="is">
        <value>0</value>
    </rule>
    <rule field="numepisodes" operator="greaterthan">
        <value>0</value>
    </rule>
    <limit>15</limit>
    <order direction="ascending">random</order>
</smartplaylist>
recent_unwatched_episodes.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>Recent TV shows</name>
    <match>all</match>
    <rule field="dateadded" operator="after">
        <value>1900-01-01</value>
    </rule>
    <rule field="playcount" operator="lessthan">
        <value>1</value>
    </rule>
 <limit>15</limit>
    <order direction="descending">dateadded</order>
</smartplaylist>

something like this 1900-01-01 would be the date that you would like to show them from say 2018-07-07 would show shows from this year
not sure if once you watched 1 episode it would stop showing

may need to set <rule field="playcount" operator="lessthan">
        <value>1</value> to numbers of episodes
Reply
#3
it may be worth looking at https://forum.kodi.tv/showthread.php?tid=257378
[HOW TO] Library Node Examples if that dose not work
Reply
#4
Thanks so basically I just replace the existing episode widget XML with the above which should modify the widget in estuary to do what I want it too?
Reply
#5
Updated the Widget XML so it now displays a TV Show format (ie the cover rather than the episode) but its still a smaller widget than the orders so the cover gets cut off. I'm guessing the screen scructure is stored somewhere else?
Reply
#6
that is in home.xml

<!---WidgetListPoster -->
<include condition="Library.HasContent(tvshows)" content="WidgetListPoster"><param value="videodb://inprogresstvshows" name="content_path"/><param value="lastplayed" name="sortby"/><param value="descending" name="sortorder"/><param value="$LOCALIZE[626]" name="widget_header"/><param value="videos" name="widget_target"/><param value="6100" name="list_id"/></include>
<!---WidgetListEpisodes-->
<include condition="Library.HasContent(tvshows)" content="WidgetListEpisodes"><param value="special://skin/playlists/recent_unwatched_episodes.xsp" name="content_path"/><param value="$LOCALIZE[20387]" name="widget_header"/><param value="videos" name="widget_target"/><param value="6200" name="list_id"/></include>

replace WidgetListEpisodes with WidgetListPoster
Reply
#7
Image
Reply
#8
I've been playing around with this on my Shield TV. It is not rooted and I seem not to be able to access home.xml file. Do I need to root my Shield TV or any other way to get it to access it?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#9
I am starting to get it to work on Windows work, where I have full access to home.xml and other XML files.

Unfortunately, I don't fully understand required changes. I'd like to keep episodes on the main screen, but change the artwork from episode thumb to tvshow poster. I.e., it shows recently added episodes (not grouped) and shows corresponding tvshow poster. Possible?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#10
(2018-10-08, 17:21)the_other_guy Wrote: Image

Any advice what would be an easy way to get episodes like above? I very much prefer to show tvshow poster instead of episode thumbs for recently added episodes.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply

Logout Mark Read Team Forum Stats Members Help
Easiest way to edit episodes Widget0